• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java and OpenGL  RSS feed

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there a Java API that supports OpenGL for 3D Graphics?
 
Saloon Keeper
Posts: 4090
98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. The first search result for "java api for opengl" will lead you right to it.
 
Ted Gress
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm....no. There are multiple APIs that implement opengl. I need one that is up to date and has documentation. For example, LWJGL is an open gl port but there is practically no documentation anywhere on how to use the new version. I downloaded one book but got nowhere with it. I wanted to use Java 3D but it is outdated apparently. JOGL I was unsuccessful with - mainly due to documentation. So I'll revise my question and ask Is there any well documented open gl ports for java.
 
Ranch Foreman
Posts: 3137
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've always found the lwjgl docs to be quite good.
I take it you've been through here?
 
Tim Moores
Saloon Keeper
Posts: 4090
98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
True, documentation is a weak spot for JOGL. I have learned what I do know about it from the demos and pieced it together with bits and pieces from all over, along with the help of the javadocs. A fun way of learning, but, I will agree, not everybody's cup of tea.
 
Ted Gress
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave: Yes I've been through it. I'm just looking for a java OpenGL binding that is documented the best. Suggestions are welcome.
 
Dave Tolls
Ranch Foreman
Posts: 3137
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ted Gress wrote:Dave: Yes I've been through it. I'm just looking for a java OpenGL binding that is documented the best. Suggestions are welcome.



Well, as the JWGL docs say, it is written to mirror OGL directly, so you should be able to use the OGL documentation.
Indeed, it's expected.
 
Ted Gress
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does mirror OGL to a point, but there are some language-specific exceptions. One I can think of is how it handles buffers.
 
Ranch Hand
Posts: 120
1
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just want to render the graphics for a game or something, you can use a game engine instead, would be easier to use than rolling your own engine with OGL.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!