[vtkusers] depth peeling with QVTKWidget2?
Miroslav Drahos
mdrahos at aurisrobotics.com
Mon Feb 6 17:15:55 EST 2017
Hi vtk users,
I am trying to get depth peeling in my visualization pipeline. My hardware supports it, the test
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry
runs fine, with depth peeling on, when using native vtkRenderWindow.
The problem is, that I am using QVTKWidget2 in my real Qt application. I cannot get depth peeling working with QVTKWidget2; and the QVTKWidget2::SetRenderWindow takes only vtkGenericOpenGLRenderWindow, which I interpret is a hint that it does not support depth peeling (which is provided by vtkXOpenGLRenderWindow; the type I construct on my Linux box when I create vtkRenderWindow object). Is there a way to get depth peeling with QVTKWidget2?
Thank you for any advice/authoritative answer on this.
Cheers,
Miro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170206/55e8aaf0/attachment.html>
More information about the vtkusers
mailing list