Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
First OpenGL Program


 E-mail this product to a friend

Author:  DigiBen

This shows how to do 3D with the OpenGL libraries.  To do this we create a JPanel and pin the OpenGL scene to it.  To use OpenGL with Java you will want to download the JOGL libraries.  Check our beginner FAQ for information on how to download and install JOGL.  For learning more about OpenGL please refer to our C++ OpenGL section, which has over 75 tutorials on using the API.

Functions Used:  setSize(), createGLCanvas(), addGLEventListener(), setLayout(), add(), addKeyListener(), getGL(), getGLU(), getKeyCode(), start(), stop(), glClear(), glLoadIdentity(), glBegin(), glEnd(), gluLookAt(), glVertex3f(), glSwapBuffer(), OnSizeChanged(), glViewport(), glMatrixMode(), gluPerspective()


 
 
 


 GameTutorials Software
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums