Hi Alexandre, The best fit would seem to be the osg::ImageSequence class, which allows you to assign a series of Images or filenames to those images and page them in on deman or upfront. Have a look at the osgimagesequence example.
Robert. On 25 July 2013 19:57, Alexandre Vaillancourt <[email protected]> wrote: > Hi all, > > I've tried to post on the forums but they seem to have been out of order for > a while. > > So here goes. > > We're in the process of adding an animated 'Currently loading, please wait' > icon to our loading screen, Basically, I thought about using ~30 images and > showing them one by frame, so that it looks animated. > > I know there are ways to use AVIs or GIFs to achieve this, but due to the > lack of good transparency support, I chose to use PNGs that have > transparency. > > I see two ways to achieve this: > 1) ~30 images on the same PNG file, and use that file as a texture on a > quad, and move the texture coordinate on the appropriate location each frame > 2) ~30 images, each in their on PNG file, and change the texture on the > quad, once per frame. > > I was wondering what was the generally proffered method, and if there was > other alternatives. > > Thanks! > > -- > Alexandre Vaillancourt > > _______________________________________________ > 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

