Here is the code I used to find how much the model should move each frame in 
the J3d tutorial I wrote a couple of years back.  
 
Code:

public double getStep() 
{ 
   long echo = J3DTimer.getValue(); 
   double wrongun= ((echo-oldTime)/1000); 
   wrongun = wrongun*step; 
   oldTime=echo; 
   return wrongun; 
} 
        

Basically it just finds how long it is since the method was last called and 
muliplies that by a standard step size.  
 
That worked fine between my PC at the time and other slower ones I tried but 
now that i've upgraded my processor and motherboard the model seems to fly 
around the place ridiculously fast again.  
 
Can anyone suggest why this should be and how I can get around it?

Many thanks for your time,

-ben

===========================================================================
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