Luca Colombari wrote:
Hi Paul,
Features like:
- osgVolume::Volume
- osgVolume::Image Layer
-....
are not recognized.
Right, currently not recognized or used by the FLT plugin.
So one way could be to try mapping osgVolume object to FLT records by knowing
the OpenFlight format and how write their information into the .flt file.
Right. You would need to figure out how to support these OSG features when
creating the FLT file, using OpenFlight's (relatively speaking) limited features.
By the way: I've never seen a FLT file used to store volumetric data. But, if I
recall correctly, FLT does support 3D textures.
If my intention is to generate a VOLUME of dicom images seen as overlapping
dicom images I'm wondering if it is possible to obtain with OpenSceneGraph an
osg file that uses only osg features (for example osg::Group instead of
osgVolume::Volume and so on).
That's an interesting approach. You wouldn't need to modify the FLT plugin if
you could do that.
I'm sure the osgVolume nodekit has many useful features, but honestly I don't
think it's required to create an OSG scene graph to render volumetric data. In
fact, I remember seeing an OSG app running at SIGGRAPH 2004 that was displaying
volumetric data. This was long before the osgVolume nodekit existed. So,
certainly this is possible.
I'm not sure exactly what your scene graph needs to display. But the general
approach for rendering volumetric data is to use a 3D texture with several
screen-oriented triangle pairs. You'd orient those to the screen with a shader.
This can all be done with core OSG and no need for the custom node types present
in the osgVolume nodekit. It should export to FLT.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org