Hi Fred,

What I meant here is that if you want to take advantage of the better
(but possibly unreliable) resolution of the sleep call you could write
a seperate Java Thread in which you perform your calculations which uses
the sleep() call. In the scenegraph you would have a behavior with a
wakeupOnBehaviorPost criterion and then in your calculation thread you
would call behavior.post() to update the scenegraph with any changes resulting
from the new calculation.

Rgds

Paul

>From: "Fred Klingener" <[EMAIL PROTECTED]>
>To: "Paul Byrne" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Simulation clocks - continued
>Date: Thu, 28 Sep 2000 15:54:24 -0400
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>

[snip]

>> So, we will continue to investigate this issue in terms of Java3D
>implementation
>> and the wider issue of accurate time in Java. In the meantime I suggest
>> you use a seperate thread to perform your regular calculations
>
>Hint?  Do it in Mixed-Mode? In Canvas3D.preRender()?
>
>> and use
>> a behavior post to render the results.
>
>Sorry.  I don't understand this.  What posts to what Behavior?
>

[snip]

----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

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