I'm trying to initialize an interactive Java 3D application (lots of
behaviors and AWT event handling).  Part of this requires reading
several local-to-vworld transforms and positioning objects in the
scene accordingly.  Currently the only way to do this is to make the
scene live.  What I am finding, however, is that it is not good enough
just to make the scene live but that I have to wait a few frames
(using WakeupOnElapsedFrames) before trying to read the transforms.

Empirical evidence indicates that 2 frames are not enough, 3 frames
gets some but not all of the scene in a ready state, but 4 frames does
the trick.  My question is, is there some more reliable way to tell
when the scene graph is truly ready to be accessed?  If
WakeupOnElapsedFrames is the best way to do this then is the number of
frames platform dependent?  In any case, how many frames should I wait
to make sure that all is ready regardless of platform?

--jon
____________________ Peculiar Technologies ____________________
Jon Barrilleaux       3800 Lake Shore Ave.         Purveyors of
[EMAIL PROTECTED]        Oakland, CA 94610      Alternate Reality
510.444.4370 voc                           Augmented Simulation
510.444.0231 fax        www.augsim.com         and 3D Solutions

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