Hello,
Ive been using the Jun for Java Opengl binding for my application.
I converted my it to use jogl in less than two hours (very cool). So far everything seems to work except for one of my picking methods. It renders to the back buffer and uses glReadPixels to determine the color of the pixel at the cursor. It then maps back to the 3d object that was rendered in the color.
To accomplish this I need to have the ability to abort the call that swaps the back buffer to the front buffer at the end of rendering. I don’t want to render the “pick mode” buffer to the screen, just get the pixel color.
I’m considering extending the necessary classes and creating a factory class, to add this functionality. Is this the way I should do it, or is there a better way?
Thanks,
Gregg