|
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 |
- Re: [JAVA3D] flickering Shape3D object when moving both ... Johannes Neubauer
- Re: [JAVA3D] flickering Shape3D object when moving ... Doug Twilleager
- Re: [JAVA3D] flickering Shape3D object when mov... Lewis Walker
- Re: [JAVA3D] flickering Shape3D object when... Johannes Neubauer
- Re: [JAVA3D] flickering Shape3D object when moving ... Alessandro Borges
- Re: [JAVA3D] flickering Shape3D object when mov... Jeremy Booth
- [JAVA3D] AW: [JAVA3D] flickering Shape3D object... Johannes Neubauer
