Sorry I meant that you can do something like: >osgvolume --images data/*.png
or >osgvolume --images data/data_000.png And it would load all 256 slices from data_000.png to say data_255.png. guillaume -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Osfield Sent: August-17-09 1:04 PM To: [email protected] Subject: Re: [osg-users] osgVolume ready for testing Ho Guillaume, On Mon, Aug 17, 2009 at 4:58 PM, Guillaume Poirier<[email protected]> wrote: > Sorry for the simple question... I am trying to load a list of images using the --images flag. Looking at the osgvolume.cpp code in 2.8.2, I don't see how it can detect *.png like you mentioned, or detect the list of slices from the filenames. Am I right on this ? It doesn't need to detect the image file type, it just passes the filename to readImageFile() and it's does the reading via the OSG's normal plugin mechanism. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

