Java and OpenGL

Started by DazedDude, January 26, 2005, 12:43:36 AM

Previous topic - Next topic

DazedDude

Hello,
I am trying to implement a 3d game using Java and OpenGL. To save me actually hardcoding in the 3D shapes is there a way I can use a games engine that will actually write the code drawing the 3D shapes for me in Java using an OpenGL binding (GL4Java). That way I can copy the code for the shapess and manipulate as necessary.

God bless to whoever answers  :)

EgonOlsen

Albeit this is a jPCT forum and your question isn't related to jPCT, i'll try to answer it.
First, don't use GL4Java...it's simply outdated. Use either JOGL (if you want SWING/AWT support) or LWJGL (if you want ease of use and flexiblity).
I've never seen such thing that you are asking for (which doesn't mean that it doesn't exist). Wouldn't it be wiser to write the code to CREATE the objects yourself into a simple data structure and render that? What kind of shapes are you talking about?

DazedDude

I would code it myself if I was confident of my openGL skills. The types of shapes are simple animals, tables , chairs etc. The same way a development kit can help you save writing code for window frames and text areas, is the way the program I am searching for will create simple shapes or objects in openGL using an object-oriented language like Java or C++.

P.S Sorry about the non-relativity..Im new to programming  :oops:

EgonOlsen

Quote from: "DazedDude"P.S Sorry about the non-relativity..Im new to programming  :oops:
No problem... :wink: If you are new to programming, i honestly wouldn't try to start with OpenGL or 3D graphics in general. Try to code something more simple first. If that's not an option, you may consider to use a 3D engine that does the low level work for you. jPCT is such an engine, just give it a try.