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: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: August-17-09 1:04 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] osgVolume ready for testing

Ho Guillaume,

On Mon, Aug 17, 2009 at 4:58 PM, Guillaume
Poirier<guillaume.poir...@nrc.ca> 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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to