Hello Guo,

On 03/30/2014 08:59 AM, 郭晓新 wrote:
> Thank you for your reply. The crash problem when running test program
> testVTK is solved. I think the reason is The vtkCommon.dll didn't be
> generated after building vtk. I rebuilt vtk and changed build options
> using CMake. Then I rebuilt Opensg2.0.

ok, great.

> Another question. OSGVTKPolyDataMapper in Opensg2.0 provides a interface
> "setActor" for vtk user using "vtkActor" to renders a shape node in
> Opensg2.0 scene graph. But I didnt find the counterpart interface to
> render a volume data using vtkVolume like "setActor" to renders a shape
> node. What shold I do if I want achieve volume rendering in Opensg2.0
> scene graph using vtk? I really need it badly.

AFAIK there is only support for polygonal data in the library at this 
point. One "quick and dirty" option could be to render your volume data 
with VTK itself and render the OpenSG scene afterwards on top (or the 
other way around). You would use a PassiveBackground to avoid clearing 
the color/depth buffers when doing the OpenSG rendering as the second step.

        Cheers,
                Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to