Hi Ivan,
On 11/7/06, Ivan Bolčina <[EMAIL PROTECTED]> wrote:
I would like to implement Wing Commander style communication TV. I would animate a character using cal project and render it to a texture and then display that texture on some rectangle. Is this the right way to do it? (I am using delta3d libraries)
Just the character subgraph under a osg::CameraNode set up for render to texture, and then use the resulting texture to render the final image. The osgprerender example will provide a guide to doing this.
Secondly, is it possible to render Flash animation to some texture. When I played other games, (Sly Cooper) there is a lot of flash-like animation between gameplay. All movies are made either with animation or with game's enige. Do you have any suggestion on this topics?
The way I'd tackle this would be in a similar way to the movie texture support is provide by the Quicktime and Xinelib plugins. Basically have create an osg::ImageStream, and have a seperate thread render to the image. You can then just attach the ImageStream as a normal image to any texture in your scene. Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
