Re: Mac Canvas3D location bug
Posted by
Manu on
Oct 17, 2013; 7:01am
URL: https://forum.jogamp.org/Mac-Canvas3D-location-bug-tp4030052p4030279.html
This virtual machine is the Windows platform where I test Sweet Home 3D with Java 3D 1.5.2 until now, and I won't buy another PC. To avoid the virtual machine, I could partition my Mac OS X disk to install Windows on a second partition, but rebooting under Windows each time I want to make some tests would soon become tedious.
As suggested in a past message, I tried to run the program with Java 3D 1.6 / JOGL 2.1 with the
sun.java2d.noddraw property set to true, and the program doesn't crash anymore. Instead, I get the following exception:
javax.media.j3d.IllegalRenderingStateException: Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
at javax.media.j3d.JoglPipeline.setupCanvasProperties(JoglPipeline.java:7930)
at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6332)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4607)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2378)
at javax.media.j3d.Renderer.doWork(Renderer.java:879)
at javax.media.j3d.J3dThread.run(J3dThread.java:270)
Error in Java 3D : 3 Renderer: Error creating Canvas3D graphics context
Could the error on the OpenGL version be a hint about this problem? Is OpenGL 1.2 really required to run Java 3D 1.6?
If you want to run some tests with Sweet Home 3D 4.2 beta run with Java 3D 1.6pre8 / JOGL 2.1 under Windows, Mac OS X or Linux, please use this
executable Jar file.
Emmanuel Puybaret