Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

openGL in java

Thu Nov 06, 2008 3:29 pm

anyone know about java openGL 3D???
if yes i need help to understand how it works?
i want to draw 3D sine wave on a certain canvas .



Re: openGL in java

Thu Nov 06, 2008 3:31 pm

First, if you wanna interface java with openGL, you need to download special library called JOGL, it includes all the packages that you will use to create 3D objects and manipulate it.

After downloading it, simply open a new project and add the .jar file as a reference to that project "right click on the project name, properties, add references".

Now, after setting the openGL environment, you need to know some basic information about openGL and 3D graphics in general, there is an excellent online tutorial called "NeHe" that will help you from A to Z. The code for linking openGL with java and defining a canvas are mentioned in the tutorial http://nehe.gamedev.net/.

Hope this piece of information helps,

Post a reply
  Related Posts  to : openGL in java
 OpenGl simple example     -  
 Drawing cone using openGL     -  
 Drawing Octahedron using openGL     -  
 Draw 3d cube using openGL     -  
 openGL shadow mapping example     -  
 Drawing Torus using OpenGL     -  
 Build Calculator in OpenGL     -  
 Drawing teapot using OpenGL.     -  
 3d OpenGL game with source code     -  
 Draw a solid sphere using openGL     -