Hi all,
please help me with this problem:
if I call Texture.setImage(0, imageComponent) on a live and compiled
texture node (J3D 1.2beta),
I get an IllegalArgumentException saying "illegal image size".
I obtain the imageComponent from a TextureLoader object.
If I print out the size of the ImageComponent to replace and the size of
the new one,
the image in the texture node is smaller, though both gif-sources have
the same size.
This is probably due to texture mapping reasons.
But why does Texture.setImage() not recompute the size of the image??
This seems to be a bug, or am I wrong?
Then how do I replace the original image?
I know that I can replace the texture object instead, but I don't want
to do this, because it is a shared node in my scenegraph.
Any help is greatly appreciated
Britt
===========================================================================
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".