Olivier fillon wrote:

> On Canvas3D, the post render method is called after each rendering (Yopu
> could probably use post swap as well to take iunto account the swap time?),
> just create a global counter and timer and increment/update them  in this
> method..i believe there is already existing code around but it is not a big
> deal to do your own..

        You can also create a behavior with either of the following
        wakeup criteria:

          WakeupOnElapsedFrames  -- keep track of time and divide by
                                    number of elapsed frames

          WakeupOnElapsedTime    -- keep track of rendered frames
                                    (using behavior.getView().getFrameNumber())
                                    and divide into elapse time

--
Allen L. McPherson               Member Holstein Aerobatic Club
Los Alamos National Laboratory   Scientific Viz / Advanced Computing Lab
Box 1663 Group:CIC-ACL MS:B287   [EMAIL PROTECTED]
Los Alamos, NM   87545           Voice: (505) 665-6548  Fax: (505) 665-4939
[Personal mail to:               [EMAIL PROTECTED]]

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