Thanks for your help Dzenan,

but unfortunetaly, this is still not working (still get a crash and no
display), I used:

*osgvolume --raw 256 256 256 1 3 big bonzai.raw*

Note that I must specify the endianness and number of components (but I
tried multiple tests again), here is the help for the --raw argument
(according to the source code)

*//    arguments.getApplicationUsage()->addCommandLineOption("--raw <sizeX>
<sizeY> <sizeZ> <numberBytesPerComponent> <numberOfComponents> <endian>
<filename>","read a raw image data");*

=> but as you can see this line is commented. So it might be known not to
work in the version I have (v2.9.8).

Thanks !

Manu.

2010/7/17 Dženan Zukić <[email protected]>

> Hi,
>
> I don't think osg's data folder has anything to do with it.
>
> I just took a look, and realized .pvm format is compressed. You can get
> gzipped datasets from volvis.org, for example this 256x256x256 dataset:
> http://www.gris.uni-tuebingen.de/edu/areas/scivis/volren/datasets/data/bonsai.raw.gz
>
> Try that - 1 byte per voxel (no endiannes, no components). These are raw
> files.
>
> Thank you!
>
> Cheers,
> Dženan
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=30093#30093
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to