04 Jun 09 Howto: NetBeans + Java + OpenGL (JOGL) + 3d Graphics Demo

This is a quick howto install NetBeans and needed plugins to start creating 3D java programs, including games in.  Tested on Ubuntu 9.04 Jaunty.

Step 1 – Install NetBeans

I got netbeans 6.5.0 installed in Ubuntu 9.04 by typing in the console:

sudo apt-get install netbeans

Step 2 – Install needed plugins in NetBeans

Download the zip file containing the needed NetBeans plugins from here:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3260

Extract the zip file to any directory. The files inside the zip are *.nbm files.

Start NetBeans.

Click NetBeans menu: Tools > Plugins…

In the Plugins window, choose Downloaded tab and click the “Add Plugins” button.

Find and select all the *.nbm files you extracted previously and click “Install” button.

Wait for NetBeans to restart automatically.

Congratulations! You (and any 5 year old kid) now can start creating 3D java programs and games with NetBeans and JOGL (Sun’s Java bindings for OpenGL ).

Step 3 – 3D graphics with Java and JOGL demo

New Project dialog featuring JOGL demo projects

New Project dialog featuring JOGL demo projects

The image above speaks for a thousand words.

Step 4 – What now?

  1. Make something cool
  2. Finish what your start
  3. Make your 3D creation run in the browser as an applet! Read more here.


Comments

  1. |

    [...] This post was Twitted by bienator – Real-url.org [...]

  2. |

    thank you for the nice HowTo.

  3. |

    You’re welcome. Thanks for submitting this post to dzone.com.
    I hope people can get started with it. I will further improve/simplify this howto when I have time.

  4. |

    It was very helpful



Add a comment