Okay guys ! I've just tested this on linux, and the command:
*osgvolume --raw 256 256 256 1 1 big bonzai.raw worked just fine !!! *So I guess this problem is only on Windows. The good news is, I also did: *osgvolume --raw 256 256 256 1 1 big bonzai.raw -o bonzai.dds [on linux] *then used the generated dds file (which has a much bigger size this time !!! :-) ) *osgvolume bonzai.dds [on windows] And this time, this worked too !!! ** ==> So my fisrt impression is that the issue is only related to the generation of the 3D image somehow. I don't have time to investigate this further right now, but I might come back to this issue a bit later! Thanks for your support guys ! Now I finally got a volume rendered on Windows, that's nice !!! Cheers, Manu. * * * * * 2010/7/17 Emmanuel Roche <roche.emman...@gmail.com> > 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ć <dzen...@gmail.com> > > 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 >> 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