Hi Isa,

On Tue, Jun 14, 2011 at 7:34 PM, Isha Kandaswamy
<[email protected]> wrote:
> Hi,
>
> I ran it according to what you suggested. This is how the checksum looks. I 
> think one of the things is that the texture is 512x512 and mas size is 256... 
> are there any other potential problems??

The limited max texture size will only be an issue if the source data
is larger than 256x256.   I presume it's the hardware/driver which is
causing such a low max texture size.  I'm afriad the hardware you have
probably isn't a good base to work from for volume rendering.  The
Geforce 5600Ti I'm using has a max texture 3D size of 2048, which is
the type of system one should be targetting for volume rendering, it's
really too demanding for low end graphics.

> isha@isha-laptop:~$ /usr/local/share/OpenSceneGraph/bin/osgvolume 
> bin/Skull-2mm/ -o test.osgb
> Max texture size=256
>  (-0.0625 -0.0625 -0.0625 -0.0625) (0.0248718 0.0248718 0.0248718 0.0248718) 
> bin/Skull-2mm/
> Min value -0.0625 -0.0625 -0.0625 -0.0625
> Max value 0.0248718 0.0248718 0.0248718 0.0248718
> Single image 1 volumes.
> isha@isha-laptop:~$ md
> md5sum            mdatopbm          mdeltree          mdu
> md5sum.textutils  mdel              mdir
> isha@isha-laptop:~$ md5sum test.osgb
> d6e166dd334428d8da6a90ffdbf3d04b  test.osgb
> isha@isha-laptop:~$

I've tried artificially limiting the texture size to 256 on my system
by still get a get different check-sum.  I can't say whether this is
siginificant.  There is chance that changes to svn/trunk OSG are
having an effect.

> Also i was wondering, how feasible is it to load vtk images into 
> openscenegraph??

The dicom plugin has an example of using ITK to read dicom images and
then converting these to an osg::Image, so have a look at
src/osgPlugins/dicom.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to