Hi,

   There are two bugs in earlier release of Java3D :

4391537 - Texture disappear if Canvas3D in JInternalFrame
          is minimize and restore again
4395116 - Texture disappear when Canvas3D remove and add back to panel later

They are fixed in v1.2.1 beta2. Please give it a try.

If the problem is still there, please send us a test case
for investigation.

Thanks.

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

>X-Unix-From: [EMAIL PROTECTED]  Wed Feb 28 06:00:47 2001
>MIME-Version: 1.0
>Date: Wed, 28 Feb 2001 14:57:13 +0100
>From: "Stedum, Harry van" <[EMAIL PROTECTED]>
>Subject: [JAVA3D] disappearing texture
>To: [EMAIL PROTECTED]
>
>Hi all, I have a very strange problem: one element in my scenegraph is a
>square plane on which a texture is applied; the scenery is shared and
>displayed by stacked JPanels in a JTabbedPane; initially the texture shows
>ok; now, upon switching panels/tabs the scenery (geometry) shows ok except
>for the texture once applied: it has gone! Even if i re-apply the texture to
>the plane after the panel is shown it won't show. Who knows what might
>happen? Any pointers clues greatly appreciated!
>
>Harry
>
>===========================================================================
>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".
X-Unix-From: [EMAIL PROTECTED]  Wed Feb 28 09:39:23 2001
X-Originating-IP: [207.235.122.241]
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
X-OriginalArrivalTime: 28 Feb 2001 17:24:00.0457 (UTC)
FILETIME=[3D327390:01C0A1AB]
Date: Wed, 28 Feb 2001 11:23:20 -0800
From: Hotmail <[EMAIL PROTECTED]>
Subject: Re: [JAVA3D] disappearing texture
To: [EMAIL PROTECTED]

The same thing happens if you put Canvas3Ds inside of JInternal Frames. I
think it's the heavyweight vs lightweight issue. JPanels and JInternalFrames
are all lightweight, but Canvas3D is heavyweight. If you try to overlap the
Canvas3D with a lightweight component, you lose the texture. I think that's
happening with the problem with your JTabbedPane. Why it's happening I
couldn't tell you?
I don't know how one could fix the problem. There were those offscreen
rendering solutions which essentially made Canvas3D lightweight, but would
be a performance hit and are not absolutely trivial to implement.
My suggestion would be to avoid putting Canvas3Ds inside a JTabbedPane or a
JInternalFrame as well. If you are using multiple Canvas3Ds inside your
JTabbedPane consider implementing your own JTabbedPane which uses just one
Canvas3D but adds and removes elements to and from the scenegraph.

Jim

X-Unix-From: [EMAIL PROTECTED]  Wed Feb 28 07:44:29 2001
X-Originating-IP: [216.180.63.156]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-OriginalArrivalTime: 28 Feb 2001 15:36:45.0932 (UTC)
FILETIME=[41EBDAC0:01C0A19C]
Date: Wed, 28 Feb 2001 09:39:17 -0600
From: Sackmunky <[EMAIL PROTECTED]>
Subject: Re: [JAVA3D] disappearing texture
To: [EMAIL PROTECTED]

I am having the same problem./

Zak


------------- End Forwarded Message -------------



------------- End Forwarded Message -------------



------------- End Forwarded Message -------------

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