Login  Register

Re: Java 3D crash or flickering

Posted by Adrien on Aug 21, 2015; 8:47am
URL: https://forum.jogamp.org/Java-3D-crash-or-flickering-tp4035074p4035083.html

Hi Julien,

That's what we were doing so far with our program.
Depending on the machine, we had several behaviours, but with Java 6 it was working fine.

With Java 7 and 8, in my little test ("SimpleUniverse universe = new SimpleUniverse();"), it was crashing all the time with 'sun.java2d.d3d=false'.
Weirdly, in our program with my machine, the crash was only when opening the 3D view for the second time. I don't know why. At the first opening it was working fine with no flickering.
But we had also crash problems in all of our 3 machines. Not all the same.

I'm not sure I understand your question, but if it is to know what happens when I run the following code in my machine with Java 8:
System.setProperty("sun.java2d.d3d", "false");
System.setProperty("sun.awt.noerasebackground", "true");
SimpleUniverse universe = new SimpleUniverse();

then, I have the same crash as in my first message.

Adrien (an ex-colleague from TAD)