Josh Richmond wrote:

> I'm back again.


Uh oh.... :)


> After adjusting my code to be able to try the Xj3d loader, I notice that

 > the textures still disappear! I hesitantly conclude that it must be a
 > bug in Java3D someplace. Either that or the Xj3d loader makes the same
 > assumptions/"mistakes" that the old loader did.

If so, our assumptions are this:

Image img = Toolkit.getImage(url);
ImageComponent2D comp = new ImageComponent2D(img)
Texture2D texture = new Texture2D(comp);
myObject.getAppearance().setTexture(texture);


Pretty hard to stuff that up :)

I think this is a driver issue or the same old j3d + swing bug.
--
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