Josh Richmond wrote:

> In my application I allow the user to toggle between 1 and 4

 > viewports. To do this I remove the JPanels containing the Canvas3D's
 > from the JFrame, then add the appropriate JPanel(s) back. The problem
 > is that if I remove and then reintroduce a JPanel with an object
 > containing a texture, the texture has disappeared when I add it back
 > in!

It is interesting that you state that it works with the demo code from
Sun. This sounds suspiciously like a known bug in J3D 1.2.x. Which
version of j3d are you using?

--
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

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