Hi,

Running on WinNT, I'm having trouble getting reliable real-time animation to
run *smoothly*.

The core of the problem is that I am seeing quantization in the time values
returned from the methods in 'View' (getLastFrameDuration() etc) and also
from System.currentTimeMillis(). i.e. these timer values never seem to go up
by less than 10ms at a time.

I am assuming that this is a limitation of the underlying PC clock.

Does anyone know of any standard techniques for handling this problem.
I tried a 'smoothing' based on averaging the times for the previous n
frames and extrapolating but with unsatisfactory results.

If I could accurately know the current time (to say around 1ms accuracy)
I could solve my problems.

Thanks
Rob

--


Rob Nugent
Development Manager
PeerLogic
[EMAIL PROTECTED]
http://www.peerlogic.com
http://www.unikix.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363

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