A flow contol question.
In my application,I use the View method like this:
view.setMinimumFrameCycleTime(33); /* (int)(1000/33) =30
and I set "WakeupOnElapsedFrames(1)" in a Behavior and
calls showFPS() method showed here:
private int showFPS()
{
long lastD=view.getLastFrameDuration();
if (lastD==0)
return 0;
System.out.println("FPS:"+(float)1000.0/lastD);
return 1;
}
but the result shows the FPS can often reach 62.5 or more
Why it is like this?and how I can control frame to exact rate.
Thanks a lot.
Woody
===========================================================================
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".