Hi,

I have a problem creating videotextures with java3d. I'm using immediate mode
and J3D version 1.3.
In retained mode videotextures works perfectly but in immediate mode it does
not update the texture. I am using ImageComponent2D.updateData() method and I
have tried several combinations of BufferedImage and ImageComponent colorspace
types (TYPE_CUSTOM and FORMAT_RGBA, TYPE_3BYTE_RGB and FORMAT_RGB).
ImageComponent2D.subImage() method might work but I guess it would be slower
because the data would be copied unnecessarely, and cant be sure that
subImage() method wont create any new objects.
Is it possible to create working videotexture system in immediate mode without
the need to create new ImageComponent and new Texture object for each frame?

- Mika

===========================================================================
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