Hi,

   Please see

(1)  View.java
     public void renderOnce()

(2) VirtualUniverse.java
     public static void setJ3DThreadPriority(int priority)

if it can help.

- Kelvin
---------------
Java 3D Team
Sun Microsystems Inc.


>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Importance: Normal
>Date: Tue, 30 May 2000 08:11:58 -0700
>From: "J. Lee Dixon" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Screen refresh when renderer is stopped.
>To: [EMAIL PROTECTED]
>
>I have a Java3D scene with several behaviors (moving objects).  When the
>canvas3D scene renderer is enabled, the CPU is pegged while the renderer is
>drawing the scene as fast as possible. I didn't see a way to tell the scene
>renderer to run at a lower priority (is there a way?), so for now I just put
>a button in my app to disable the renderer with a call to
>Canvas3D.stopRenderer().  Trouble with that is the canvas3D is not redrawn
>if the window is resized.
>
>Is there a way to tell the Canvas3D to do a single redraw?
>(I see some of the functions in canvas3D for rendering, but the notes on the
>functions normally say "don't call this")
>
>J. Lee Dixon
>Software Engineer
>SAIC - Celebration, FL
>[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".

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