On 6/18/07, Tomas Larsson <[EMAIL PROTECTED]> wrote:
Does OSG support animation of material attributes like opacity, color etc?
Yes, you can use update callbacks on nodes, geometry and state attributes in the scene graph to update various parameters, or just updating them directly in your own main loop.
And is it possible to update texture data dynamically? I want to use my own video code to play movies in textures.
Yes, the OSG support texture subloading so you can just update your imagery and call dirty on it, and the OSG will automatically subload your data. You can also take advatange of Pixel Buffer Objects where supported. There is also a Quicktime plugin for Windows and OSX, and a xine-lib plugin under Linux. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
