Hi Hesicong,
osgVolume doesn't directly load or require any particular file
format,so you can use it with an 3D osg::Image data that you have.
The OSG's dicom plugin can generate such 3D osg::Image by reading a
directory of dicom files if you use osgDB::readImageFile() or a
complete VolumeTIle node with all associate data and rendering
techniques set up if you use osgDB::readNodeFile(). You can select
the the dicom plugin for reading dicom directories by appending a
.dicom to the end of the filename i.e.
osgviewer CardicCT.dicom
The osgvolume example with append the .dicom automatically for you so
you can do:
osgvolume CardicCT
Examples of dicom files can be found on the web, and I don't plan to
add these of OpenSceneGarph-Data as they are typically very large -
often hundreds of Mb, and also I don't have copyright for them so
can't go including them.
A couple of example of dicom files can be found on the Osix website:
http://www.osirix-viewer.com/Downloads.html
I've come across other sample dicom on the web, but a quick search
with google didn't pick up on links to these, I'll populate a wiki
page with links once I track them down.
Robert.
On Sun, Jan 25, 2009 at 11:05 AM, sicong he <[email protected]> wrote:
> Hi, Robert,
> I'm very glad to see the volume support of OSG. The osgVolume example should
> be a good start. By checking out the latest version of OpenSceneGraph-Data,
> I still can't find any data to run the example, only some shaders. So would
> you please provide some CT or MRI dataset to run the example?
>
> Regards,
> Hesicong
> www.april1985.com
> January,25, 2009
>
> _______________________________________________
> 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