[vtkusers] depth peeling with QVTKWidget2?

David Lonie david.lonie at kitware.com
Tue Feb 7 10:34:55 EST 2017


I know that there have been some issues getting VTK to work with the
new widgets in Qt5. These should be fixed in an upcoming release.

On Mon, Feb 6, 2017 at 5:15 PM, Miroslav Drahos
<mdrahos at aurisrobotics.com> wrote:
> 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
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list