PDA

View Full Version : Java and Opengl



staind
02-19-2002, 04:57 AM
hello,

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

thank you in advance,

staind

Nothing
02-19-2002, 09:20 AM
1.) Use Java3D
www.java.sun.com (http://www.java.sun.com)

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


I would go for GL4Java though...

staind
02-20-2002, 12:21 AM
why this one and not the one from java ?

thanx

marcus256
02-20-2002, 12:40 AM
I think Java3D is not OpenGL. It is a higher level API that uses OpenGL (and/or DirectX?) to implement its functionality.

golgi apparatus
02-20-2002, 02:19 AM
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.