Hi Alexandre, For closure of this thread on the forum I'll provide a quick reply, as the question should have already be answered in the thread on the mailing list. Simple answer is osg::ImageSequence exist to allow one to create which is effectively a movie from still images. The osgimagesequence example illustrates how to do it.
Robert. On 23 July 2013 16:13, Alexandre Vaillancourt <[email protected]> wrote: > Hi all, > > First post here! > > Anyways, let's get on with the question. > > We need to add a 'Loading' animated icon to our loading screen, and I was > wondering what was the preferred way to do it with OSG. I'm planning on using > a series of ~30 PNGs images and queue them one after the other to make it > appear animated. > > The options I see: > > 1) 30 PNG files, loaded at start up, applying them on a geode as a texture > and changing the image once per frame (or create one geode per image frame > and change the geode instead of the texture) > 2) 30 images drawn onto the same PNG file and changing the coordinates on the > texture every frame > 3) Suggestions? > > I know there is something in the plugins used to display animated GIFs, and > probably movies, but I don't like these ideas due to the lack of good > transparency support. > > If there is already something in OSG that could help me, I'd be glad to use > it! > > Thanks a lot! > ... > Cheers, > Alexandre > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55379#55379 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

