Re: Java 3D crash or flickering
Posted by
philjord on
Oct 27, 2016; 12:29am
URL: https://forum.jogamp.org/Java-3D-crash-or-flickering-tp4035074p4037367.html
Team,
I see this has all been worked out a long time ago.
https://github.com/fiji/3D_Viewer/issues/17#issuecomment-246107575https://github.com/fiji/3D_Viewer/issues/17#issuecomment-245761687Sorry for wasting people's time by not knowing this background.
So the issue is in the Jogl code, not Java3D, I've got a test case (see above) which reproduces it using just Java3D.
I guess the next step would be to build a test case that reproduces it using only Jogl with no Java3D involved (if possible).
Then someone who's strong in jogl could see how to fix it. (Which is not me).
Tis may take some time as my current test case shows 2 ways to have this bug occur.
One: the second createNewContext call always fails with the bad driver
Two: if I don't construct the JFrame that the Canvas3D is in before calling getBestConfiguration it fails with the bad driver
Neither of these are likely to be the exact problem in ImageJ but at least I'm reproducing the same error.
So at some point I'll try to get you a minimal test case with no Java3D in it, if that's possible.