Re: Java3d 1.6.0-pre12 released: requires jogl 2.3.1
Posted by
gouessej on
Jul 12, 2015; 4:11pm
URL: https://forum.jogamp.org/Java3d-1-6-0-pre12-released-requires-jogl-2-3-1-tp4034327p4034871.html
Thank you very much for investigating.
However, the root cause seems to be completely different. VirtualBox 5.0 picks the crappy Microsoft GDI renderer, that's why you see "GL_VERSION=1.1".
Supporting older versions of OpenGL is impossible because OpenGL 1.1 doesn't support the retained mode (only the immediate mode) and Java3D is entirely relying on this retained mode since its very beginning like all scenegraph APIs written in Java since the end of the nineties (even before the creation of JOGL).
Please ensure that the OpenGL driver provided by the GPU manufacturer is installed. Then, run Xerxes' short example:
http://jogamp.org/git/?p=jogl-demos.git;a=blob;f=src/demos/es2/RawGL2ES2demo.java;hb=HEADIf it works (hoping that your hardware supports at least OpenGL 2.1 with an appropriate driver), it will confirm that the problem comes from Java3D, i.e something favours or forces the use of the Microsoft GDI driver even though it's not the only one available. If it's really the culprit, it will be possible to fix it but whatever we do, Java3D won't work without a correct OpenGL driver.
I already used VirtualBox in the past, I'm almost sure that it's not to blame here but please activate 3D acceleration in it anyway. Tick the check box "Enable 3D Acceleration".