Sten,

You can also use:
   View.getFrameNumber()

To achieve very much the same thing. Or:
   View.getFrameStartTimes(long[] times)
to calculate a running average.

Sincerely,

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com



-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Olivier fillon
Sent: 03 January 2000 16:54
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] framerate


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..
Hope it helps
Olivier

Olivier Fillon    Minestar Project
[EMAIL PROTECTED]  Mincom Limited
Ph.+61-7-3303-3344               61 Wyandra Street
Fax+61-7-3303-3232               Teneriffe Qld. 4005.
Australia
Company home page: http://www.mincom.com/
Personal home page: http://www.powerup.com.au/~fillon
--- A word from our sponsor ---
This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please delete
it and notify the sender. The contents of this E-mail are the opinion of the
writer only and are not endorsed by Mincom Limited unless expressly stated
otherwise.

--
-----Original Message-----
From: Sten Leijskens <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, January 03, 2000 10:15 PM
Subject: [JAVA3D] framerate


>Hi there,
>
>Can sommebody help me with somme code to display the framerate you are
>getting with java 3D ?
>
>Thanks !
>
>===========================================================================
>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".
>

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

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