Re: Java 3D crash or flickering
Posted by
ctrueden on
Jun 03, 2016; 2:58pm
URL: https://forum.jogamp.org/Java-3D-crash-or-flickering-tp4035074p4036789.html
philjord wrote
ctrueden,
If you are looking for a fast way to get this patched the next test would be for you to modify the JoglPipeline class
replace line 132:
profile = GLProfile.getMaxFixedFunc(true);
with
profile = GLProfile.getGL2ES1();
Thanks Phil!
I built a JAR containing this hack and placed it online. Instructions for testing are at fiji/3D_Viewer#17 and 18.
I tested this on a Windows 10 VM which suffers from the "OpenGL 1.2 or better is required " issue, and received a slightly-different-than-before error message:
org.scijava.java3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
at org.scijava.java3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:8086)
at org.scijava.java3d.JoglPipeline.createNewContext(JoglPipeline.java:6443)
at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:4602)
at org.scijava.java3d.Canvas3D.createNewContext(Canvas3D.java:2376)
at org.scijava.java3d.Renderer.doWork(Renderer.java:881)
at org.scijava.java3d.J3dThread.run(J3dThread.java:271)
J3dI18N: Error looking up: Renderer7