[vtkusers] Issues using QVTKOpenGLWidget
Boris Basic
baljci at hotmail.com
Mon Oct 30 12:54:38 EDT 2017
Hi,
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 working.
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.
Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171030/6b313c96/attachment.html>
More information about the vtkusers
mailing list