[vtkusers] Volume Rendering and zbuffer

stevep steve.petruzza at gmail.com
Tue Oct 4 12:12:34 EDT 2016


Hi all,

I used the vtkPolyDataMapper to render a surface and then with the
vtkRenderWindow I can get correctly the ZBuffer using GetZbufferData and the
RGB data via vtkWindowToImageFilter.

When I use, starting from the same vtkImageData, a volume rendering like the
SmartVolumeMapper (as in the following):
http://www.vtk.org/Wiki/VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper

The RGB data are correct but the ZBuffer contains all values == 1 (checked
dumping the float array to disk).

I get the same result changing blend mode and using a
vtkFixedPointVolumeRayCastMapper.

What am I missing?

Thank you





--
View this message in context: http://vtk.1045678.n5.nabble.com/Volume-Rendering-and-zbuffer-tp5740662.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list