Johannes,
 
Did you think about joystick support ?
There some nice free ones as :
http://www.hardcode.de/us/index.html  - there also a keyboard arrows support
 
Alessandro
 
 
----- Original Message -----
Sent: Thursday, August 28, 2003 12:20 PM
Subject: [JAVA3D] flickering Shape3D object when moving both ViewPlatform and Shape3D-Object

Hello,

 

Take a look here, please: http://flash-tools.de/j3d/test.zip             (179KB)

 

 

I still try to make a 3d-Game in J3D. I have loaded an Objectfile for my Spaceship and one for my Terrain. There is only one Ambientlight and no textures, so it isn’t beautiful, but good for testing. I don’t want to use the utils classes from Sun, so I used a Thread (GameTimer) instead. In a while(true) loop the Thread starts every 40ms (25times per second) a method which process the Keyevents and changes the Transform of my ship and my ViewPlatform. So I have two moving Objects:

 

-The Spaceship moves, when a Key is pressed.

-The ViewPlatform follows the Ship.

 

The Terrain is painted correctly when the ViewPlatform moves, but the Ship is flickering horrible! How can I change this???

 

I will thank you for every answer ;)!

 

Greetings,

Johannes Neubauer

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to