>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 >Date: Mon, 7 Jan 2002 15:16:47 -0000 >From: Ewan Borland <[EMAIL PROTECTED]> >Subject: [JAVA3D] Repainting Canvas3D >To: [EMAIL PROTECTED] > >Hi, > >Hopefully this is a simple question easily answered... > >If I call the repaint() method for a Canvas3D will the method interrupt any >partially rendered frame and begin rendering straight away? Or will it wait >for any current rendering to finish? > repaint() will send a message to the Renderer thread to process when Renderer done current task. So it will not interrupt partially rendered frame.
>If it waits on the current rendering could I interrupt it simply by stopping >the renderer calling repaint() then starting it again? No. > How much overhead is >there with starting and stopping the renderer? > StopRenderer will send message to the Renderer thread not to run next frame. User thread will not wait for Renderer actually stop before this procedure return. Unlike start/stopView() which has more overhead and will not return control to user thread immediately until Renderer actually stop. - Kelvin ------------ Java 3D Team Sun Microsystems Inc. =========================================================================== 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".
