Java and Opengl

hello,

i want now to use Opengl with Java.
how to begin correctly ? what headers to include ?

thank you in advance,

staind

1.) Use Java3D
www.java.sun.com

2.) Use GL4Java
http://www.jausoft.com/gl4java.html

I would go for GL4Java though…

why this one and not the one from java ?

thanx

I think Java3D is not OpenGL. It is a higher level API that uses OpenGL (and/or DirectX?) to implement its functionality.

Java3D is a high-level scene graph API, like OpenInventor. I hear they’re great if all you are doing is scene graph applications, but you’ll obviously have to use their scene-graph format, so if you ever change to a new API you’ll have to change your application code.

Do a search on groups.google.com for “OpenInventor vs. OpenGL” and you’ll probably find some good discussions on this topic.