JavaGaming.org

September 07, 2010, 03:09:23 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
Advanced search  
Pages: [1]   Go Down
Print
Author Topic: I need help from Java OpenGL Developer  (Read 442 times)
0 Members and 1 Guest are viewing this topic.
Rebsat
JGO n00b
*
Offline Offline

Posts: 1


View Profile
« on: February 26, 2010, 01:32:08 pm »

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  Cry
« Last Edit: February 26, 2010, 01:33:39 pm by Rebsat » Logged
Momoko_Fan
Jr. Member
**
Offline Offline

Posts: 76


View Profile
« Reply #1 on: February 26, 2010, 03:10:06 pm »

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.
Logged
h3ckboy
JGO Wizard
********
Offline Offline

Posts: 1440


View Profile WWW
« Reply #2 on: February 27, 2010, 01:01:57 am »

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
Logged
xinaesthetic
Full Member
***
Offline Offline

Posts: 156



View Profile WWW
« Reply #3 on: February 27, 2010, 03:06:00 am »

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?
Logged
ryanm
Moderator
JGO Ninja
*****
Offline Offline

Gender: Male
Posts: 690


Used to be bleb


View Profile
« Reply #4 on: February 27, 2010, 04:15:13 am »

I think he's referring to the Nehe tutorials.
Logged
h3ckboy
JGO Wizard
********
Offline Offline

Posts: 1440


View Profile WWW
« Reply #5 on: February 27, 2010, 04:52:59 am »

where?
\
sorry, my bad, I forgot to copy the link Tongue.

yeah bleb was right.

my bad
Logged
Markus_Persson
Global Moderator
JGO Kernel
*****
Offline Offline

Gender: Male
Posts: 2093


Mojang Specifications


View Profile WWW
« Reply #6 on: March 01, 2010, 05:43:23 am »

Homework help? Ask your teacher, instead. =)
Logged

Play Minecraft!
Pages: [1]   Go Up
Print
 
Jump to: