Login  Register

Re: Rendering problems in java3d 1.6.0

Posted by vizoneski on Oct 23, 2021; 11:17pm
URL: https://forum.jogamp.org/Rendering-problems-in-java3d-1-6-0-tp4038861p4041398.html

This is a very late reply of course, but when I switched to 1.6 I had a similar rendering problem, where in some areas (randomly per run) the z-buffering didn't work.

Having put that code down for a few years, and just picked it back up, I found the problem was that I was getting the GraphicsConfiguration (SimpleUniverse.getPreferredConfiguration();) prior to creating the JFrame. Once the call is moved after, it worked fine again.

Image attached shows pre and post fix. I thought this may help someone so posted.