[vtkusers] Volume Rendering and zbuffer
aashish.chaudhary at kitware.com
Tue Oct 4 12:34:09 EDT 2016
That is because we make a call to clear the depth buffer bit that is:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT). I have to think all of
the use-cases but I think we don't need to clear the depth buffer. We can
push a simple fix for it on the master branch.
On Tue, Oct 4, 2016 at 12:12 PM stevep <steve.petruzza at gmail.com> wrote:
> Hi all,
> I used the vtkPolyDataMapper to render a surface and then with the
> vtkRenderWindow I can get correctly the ZBuffer using GetZbufferData and
> RGB data via vtkWindowToImageFilter.
> When I use, starting from the same vtkImageData, a volume rendering like
> SmartVolumeMapper (as in the following):
> 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
> What am I missing?
> Thank you
> View this message in context:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers