It's stated in the documentation that:

The basic Java 3D monoscopic rendering loop is as follows:

 clear canvas
 call preRender()                            // user-supplied method
 set view
 render opaque scene graph objects
 call renderField(FIELD_ALL)                 // user-supplied method
 render transparent scene graph objects
 call postRender()                           // user-supplied method
 synchronize and swap buffers
 call postSwap()                             // user-supplied method

In both cases, the entire loop, beginning with clearing the canvas and
ending with swapping the buffers, defines a frame.

My question is: if postSwap() is called n times per t seconds, does n/t give
the frame rate?

Thanks very much.



Best regards,
Law, Yee Wei
http://www.ntu.edu.sg/camtech
Tel: +65 790 4201
ICQ: 10000977

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