Hi all,

I'm not very adept at the more esoteric areas of java programming, so I
hope one (or more) of you can help me with a serious brick wall I've hit.

I'm writing a 3D benchmark app/applet for testing 3D performance.  What I
want to do is build up a display list of triangles, collect the time data
when the VM begins and stops rendering, and then calculate and display the
difference as a frame rate or tris per second rate.

Problem is this... I don't know how to collect the timing data once the VM
starts doing it's thing-(to begin timing immediately before rendering and
stop timing upon completion of rendering).  I assume I need to put some
special methods in my code to wake it up to execute the time collections
and calculations _after_ the app has begun running.  Thing is, I'm not sure
how.

If anyone has a good example of this kind of thing, or knows some resources
that might shed some light on my dilemma, I'd be ever so grateful to hear
from you.

Much thanks,
Paul Wagner
3D Pipeline Co.
[EMAIL PROTECTED]

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to