Hi:
 
You might like to look at the universe.getViewer().getView().setMinimumFrameCycleTime method.  Recently, under the thread 'Performance Sutras', this was said by Kevin Rushforth (Sun):
 
"No, the Java 3D API method View.setMinimumFrameCycleTime limits the *maximum* frame rate.  Remember that frame rate and frame time are the inverse of one another."
Regards,
Geoff.
 
----- Original Message -----
Sent: Friday, April 27, 2001 8:19 AM
Subject: [JAVA3D] Getting a constant maximum frame rate...

Hello,
 
I'm new to Java3D and I'm trying to get a wakeup behavior to give me a constant maximum frame rate.  When I use WakeupOnElapsedTime the best I seem to be able to do is about 20 FPS.  But when I use WakeupOnNextFrame(0) the FPS is almost 200, but that is very dependent on the speed of the machine and the contents of the scene graph.  Does anyone know of a good way to get a behavior that will max out around 30 FPS regardless of the speed of the machine and the content of scene graph?
 
Thanks,
Michael

Reply via email to