Changing a live texture

Does anyone have any recommended ways of changing a texture on a live object in the scengraph? I’m thinking of on the fly texture changes rather than using animated images.

Is there a way to access and adjust the images directly in the Texture object or do I need to swap them out change them and swap them back in? Or can I load a texture from a BufferedImage or similar and change the image to have the changes reflected in the texture? My 2D graphics skills are not the greatest ( a bit like my 3d graphics then :slight_smile: ) so you may have to explain in quite simple terms…

Yes, simply look at:
javax.media.j3d.ImageComponent2D
and particularly that method…
updateData(ImageComponent2D.Updater updater, int x, int y, int width, int height)

It’s easy, fast (very), and works very very well.
I’ve been using it to draw on polygons, and i was very happy with it.