Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources or peek at the official java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  I need help from Java OpenGL Developer  (Read 868 times)
0 Members and 1 Guest are viewing this topic.
Offline Rebsat

JGO n00b
*

Posts: 1



« on: 2010-02-26 16:32:08 »

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
Offline Momoko_Fan

Full Member
**

Posts: 100
Medals: 3



« Reply #1 on: 2010-02-26 18:10:06 »

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.
Offline h3ckboy

JGO Kernel
*****

Posts: 1628
Medals: 4



« Reply #2 on: 2010-02-27 04:01:57 »

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
Games published by our own members! Go get 'em!
Offline xinaesthetic

Full Member
**

Posts: 203
Medals: 1



« Reply #3 on: 2010-02-27 06:06:00 »

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?
Offline ryanm
« League of Dukes »

JGO Strike Force
*****

Posts: 788
Medals: 4


Used to be bleb


« Reply #4 on: 2010-02-27 07:15:13 »

I think he's referring to the Nehe tutorials.
Offline h3ckboy

JGO Kernel
*****

Posts: 1628
Medals: 4



« Reply #5 on: 2010-02-27 07:52:59 »

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

yeah bleb was right.

my bad
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #6 on: 2010-03-01 08:43:23 »

Homework help? Ask your teacher, instead. =)

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

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 20 queries.