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
----- Original Message -----
From: "Sackmunky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 7:39 AM
Subject: Re: [JAVA3D] disappearing texture


> I am having the same problem./
>
> Zak
> ----- Original Message -----
> From: "Stedum, Harry van" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 28, 2001 7:57 AM
> Subject: [JAVA3D] disappearing texture
>
>
> > 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".
> >
>
>
===========================================================================
> 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