Philip Lamb wrote:
Hi all,

I have a request from a user for support for animated textures in an OSG model. They're doing their modelling in 3DS Max and exporting to OSG via the 3DS exported plugin, to native .osg format.

1) Is it straightforward to use animated textures in OSG (for example in VRML, one can specify an mpeg file as a texture and animation just works)?

The xine and ffmpeg plugins support reading movie files into an ImageStream, which can be attached to OSG texture objects. I don't think any of the model plugins currently support this directly, though, so you'll have to do some work in the application.

The osg and ive plugins (these are the native OSG ASCII and binary formats, respectively) support ImageSequences (which is a subclass of ImageStream), so there may be a conversion path that you could use where you end up with a .ive file that has the animated textures you want. I'm not sure what steps would be involved, though.

--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to