Hi Christophe,

Background should only be redrawn when you do a clear. Will you please
send us a test program, we'll take a look.

Thanks,
Charmaine Lee
Java3D Engineering Team




> 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
> Date: Tue, 14 Nov 2000 10:13:28 +0100
> From: Christophe DUPUIS <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Immediate mode rendering and background erase
> To: [EMAIL PROTECTED]
>
> Hello,
>
> I'm trying to make immediate mode rendering with Java 3D 1.2.1 or 1.2 on
> Windows 2000.
>
> But I have a BIG problem.
>
> In the paint method of my subclass of Canvas3D I call super.paint(g) and
> after a call my render method.
>
>     public void paint(Graphics g)
>     {
>         System.err.println("paint in");
>
>         // Must be call.
>           super.paint(g);
>
>         // My render
>         render();
>
>         // Wait to see the effect of render
>         try { Thread.sleep(500); } catch(Exception e) { }
>
>         System.err.println("paint out");
>     }
>
>
>
> All run Ok, my render method is good,
> but after the 500 ms waiting the background is redraw ?
> Why ?
>
> How and why the background is redraw twice, first before calling paint and
> next after calling paint ?
>
>
> I'have made test with mixed mode rendering, here all is ok, but the problem
> is the render method is call
> in an other thread (J3D thread).
>
> Who J3d manage the background?
>
> Thanks
>
> ===========================================================================
> 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