[vtkusers] Issues using QVTKOpenGLWidget
sankhesh.jhaveri at kitware.com
Wed Nov 1 13:12:29 EDT 2017
Regarding the vtkHardwareSelector issue, try disabling multisampling on the
QSurfaceFormat before setting the default surface format.
QSurfaceFormat fmt = QVTKOpenGLWidget::defaultFormat();
Hope that helps.
On Mon, Oct 30, 2017 at 12:54 PM Boris Basic <baljci at hotmail.com> wrote:
> I'm currently porting an existing finite element mesh analysis application
> from VTK 7.0 to VTK 8.x (actually the last master to be ready for the
> upcoming 8.1 version). But when switching to the new QVTKOpenGLWidget, I
> encountered too issues, one relatively minor, the other pretty annoying.
> The first and biggest problem is selection, both using vtkHardwareSelector
> from surface selection, and the vtkRenderedAreaPicker for frustum
> selection. The vtkHardwareSelector sometimes simply fails to select the
> points properly, whereas it always worked with the previous QVTKWidget.
> Unfortunately, it's very random, and I can't manage to get a working
> example showing the issue on each selection. For the vtkRenderedAreaPicker,
> the problem is that the render window becomes black while the picker is
> The second and minor issue, the first I encountered, concerns a
> transparency problem with the new widget rendering. Lines seems to blend
> with the background. I opened an issue here for that one:
> https://gitlab.kitware.com/vtk/vtk/issues/17154. It's not as important as
> the selection bug, but it was the first issue I saw. It is only visible
> when multisampling is enabled.
> 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:
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers