Re: Java3D 1.6.0-pre11 released
Posted by Andreas on Aug 08, 2014; 7:21pm
URL: https://forum.jogamp.org/Java3D-1-6-0-pre11-released-tp4032735p4032754.html
Harvey,
I found the reason for my anti-aliasing problem. I used a GraphicsConfiguration which was created by the following code due to an example of an old JCanvas3D:
GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
template.setSceneAntialiasing(GraphicsConfigTemplate3D.REQUIRED);
// Force double-buffer and stereo to UNNECESSARY
template.setStereo(GraphicsConfigTemplate.UNNECESSARY);
template.setDoubleBuffer(GraphicsConfigTemplate.UNNECESSARY);
GraphicsConfiguration graphicsConfig = device.getBestConfiguration(template);
After removing the template.setDoubleBuffer(GraphicsConfigTemplate.UNNECESSARY) everything seems to work now.
Andreas