Thanks Kelvin,
Yes the problem seems to occur only with JDK 1.4.0. It seems though that one "paint()" event comes through, since the canvas is fully painted when I click on the title of the frame. The gray area comes when I move the mouse to the canvas.
The -Dsun.java2d.noddraw=true didn't fix this problem.
I also got a bit similar behaviour with the FourByFour demo. When I launch it from JBuilder, the canvases are grey as shown in the attachment. I have to put another window on top of it and bring it to top again to see it, but then I see it all. When I bring it to top I think I see a glimpse of such a gray area, but it disappears.
Pasi
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Kelvin Chung
Sent: 3. toukokuuta 2002 3:00
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Java 3D 1.3 Beta2
Hi,
Seem to me the swing fail to deliver "paint()" event to the
heavyweight Canvas3D. Mixing heavy and light weight component
in Java is known to be problematic.
Try to use the switch
java -Dsun.java2d.noddraw=true yourApps
(which is required to use JDK1.4 fullscreen API with
DirectX version of Java3D)
The following bug may be related.
4665482 - Missing first paint() event under JDK1.4 windows version
You can also try to isolate the problem by using JDK1.3.1.
Thanks.
- Kelvin
---------------
Java 3D Team
Sun Microsystems Inc.
>Date: Thu, 02 May 2002 14:26:05 +0300
>From: Pasi Paasiala <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Java 3D 1.3 Beta2
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Importance: Normal
>X-Priority: 3 (Normal)
>X-MSMail-priority: Normal
>Delivered-to: [EMAIL PROTECTED]
>
>We seem to have a slight problem with Java3D 1.3 beta2.
>
>What happens is the following:
>
>When I put a window on top of the window containing the Canvas3D and then
>bring the frame with the canvas to top again by clicking on on the window
>title bar, I get the scene full rendered, but once I move the mouse to the
>canvas, the part that was covered goes gray.
>
>If I then move the camera, the rendering is fine again.
>
>Does anybody have any idea about what could be wrong? Could this be some
>synchronization problem?
>
>Attached is picture about the situation after I have moved the mouse over
>the canvas.
>
>I'm using
> Windows 200
> JDK 1.4
> Java3D 1.3 beta 2
> Geforce2 GTS
===========================================================================
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".
<<attachment: Java3D_1.3_beta2_fbf_problem.jpg>>