Problem with changing texture's data

Hi. I've problem with texture's data change. I have got a ByteBuffer object that hold the image information by invocatng getData() method in Image class, but when I try to modify that buffer nothing happens and the texture in my scene view remains the same. How to force the underlying system to exchange image data and render it? I've seen such thing in MW3D. Also some links will be helpful.

There may be a better way of doing this, but one place you could look is the code llama wrote for using video as a texture. See the thread

At the top is a link to the source code download this and look at the JMFVideoImage class, this may do what you are looking for.

As I say, there may be a better way - but this may get you moving for now at least :slight_smile:

That works :slight_smile: Thanks a lot!