I need help from Java OpenGL Developer

Hi everyone, today my teacher told me to make a project using OpenGL Graphics with Java code, now I need to create something like animation in a so simple project like an Airplane moving in the air or a Train moving on railroad tracks or any other things that are moving in the air, and these points I should do them to perform the project:

1. Draw a scene contains many different objects
2. Apply different Transformations(Rotation, Transformation)
3. Apply Lighting and determine different material properties for each object
4. Apply Animation
5. Use Mouse and Keyboard event to perform some task
6. Use Swing components (Buttons, Menu, Toolbars)

I don’t want an advance project, all I need is a simple project…
Can someone help me! please :’(

If I were given this assignment and wanted to take the quickest route that would satisfy the requirements…

  1. OBJ format loading. You can export entire scenes into .OBJ (virtually all modeling tools support it) and load them in OpenGL very easily since its an easy to read text format.
  2. Make some class for models that has a transform and material (see #3)
  3. Make some class for materials that has parameters like color, is lit, etc.
  4. This is a bit harder… Do you just need moving objects or models animating? Sounds like this could be achieved using #2 by changing the transforms for models to make them move around/rotate.
  5. Simple, make a first-person camera.
  6. Okay, I guess you could make the whole app inside a canvas and be controlled in some way using swing components around it.

here is a great tutorial on openGL. it is in C++, but at the bottom of every lesson there is a translation into a bunch of different languages. Among those is LWJGL, and JOGL

where?

I think he’s referring to the Nehe tutorials.


sorry, my bad, I forgot to copy the link :P.

yeah bleb was right.

my bad

Homework help? Ask your teacher, instead. =)