HI Salvatore, Basic maths tells us that you won't be able to fit all these photo's in memory. The only way you could do it is to page them. osg::ImageSequence does support paging, so add the filename rather than the image.
Next up, tga won't be the best format for paging. A movie format would be better, for instance you could convert the data using something like ffmpeg, rendering to a format such as h264 or ogg, then just use one of the OSG's movie reading plugins to read it. Robert. On Thu, Mar 5, 2009 at 8:04 PM, salvatore <osgfo...@tevs.eu> wrote: > hello Robert, > I have 40,000 photos in tga format with 1400x1050 definition and a frame rate > of 30 fps, the load in this way: > > imageSequence-> addImage (osgDB:: readImageFile > ("hh3fcenter/immage_.....tga")); > > in the various attempts I have tried with 240 photos and goes very badly, I > thought to pack 30 photos in a knot so as to obtain the nodes that represent > a second, but I do not know how to play these nodes so that the sequence is > continuous, > thanks in advance > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=8013#8013 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org