I would like to dynamically and quickly edit the image in a texture that is
applied to an object. The only way I figured out to do this is very slow. (4
seconds on my machine)
Here's what I'm doing:
draw what I want into a BufferedImage;//this is quick
//the following instructions are slow
ImageComponent2d.set( BufferedImage );
Texture2D.setImage( ImageComponent2d );
Appearance.setTexture( Texture2D );
It seems that there should be a way more efficient way to edit the image
since all I want is to change the color of some pixels. Does anyone know of
a better method?
Thanks,
Raffi
===========================================================================
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".