Java 1.3 / Java 1.4 - What difference to save a canvas3D in a PNG file ?
Hi all,
I would like to know if there are some differences between Java3D 1.3 and Java3D 1.4 to save a canvas3D in a PNG file...
I have written a class to save a canvas3D in a PNG file which runs with Java 3D 1.3 but not with Java3D 1.4.
Java3D 1.4 returns following exception :
Exception in thread"J3D-Renderer-1" java.lang.IllegalStateException: GL_VERSION
at javax.media.j3d.Canvas3D.createNewContext(Native Method)
at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2429)
at javax.media.j3d.Renderer.doWork(Renderer.java:747)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
... I don't understand this exception. I haven't modify my Java code. Is it necessary to declare to Java3D which of DirectX or Open GL is used ?
Thank you for your reply.
Best regards,
Dave
PS: Don't hesitate if you want to look my code.

