I am a JOGL newbie, still trying to figure out best practices to render basic 3D to (essentially) an offscreen BufferedImage. Still using immediate mode instead of shaders.
Things have been going well, but when I realized how pixelated my rendering was, I tried to activate Multisampling with setSampleBuffers(true) + setNumSamples(4). When I add these to my GLCapabilities, my painting freezes, even though the app is happily still running (display still gets called, and Swing paint still gets called, JOGL trace shows plenty of activity).
I have tried dozens of permutations of GLCapabilities and GLDrawable options, onscreen and off, but I still get the paint freeze. Any idea what I am doing wrong?
Somehow I think I have a buffer issue - like maybe it's rendering to a swapped out buffer. I really don't know what I'm talking about though.