|
I am interested, please post the applet
;-)
Edward Becker
----- Original Message -----
Sent: Sunday, June 18, 2000 8:51 PM
Subject: [JAVA3D] Real Time Java3d
Physics Engine
I am making a Physics Engine that will use 4th
order RungaKutta Object to calculate Differential equations. I have
hooked up the engine to a Java3d simulation and I am producing a real time
applet that models a simple pendulum. I have been successful on Linux
boxes but when I run the applet on a windows box i have problems
synchronizing the engine (using System.CurrentTimeMillis();) with the local
processor... Apparently this is because Windows system clock does not
resolve below the 50 millisecond mark. I have made a quick fix for
this, but i would like to know if there is a better timer via a java API
that i could use... I have been looking into using an Alpha object
but i want to know how this works, unfortunately i cannot find the src code
for javax.media.j3d.* Any help would be greatly
appreciated.
P.S This is intended as a preliminary experiment to make a
network centric, true physics, java3d game. I will be writing a
simple flight simulator with this where the calculations take place on a
remote server dedicated to housing the physics engine... and the rendering
in real time will be done on the local client machine through a web
browser... I'll post the applet if anyone is
interested...
Adam Treat [EMAIL PROTECTED]
|