Hello,
I am using vtkGenericOpenGLRenderWindow and QVTKOpenGLNativeWidget for VTK rendering in Qt.
In order to get the right result when using the vtkSelectVisiblePoints filter, I had to set the number of multi samples to zero:
vtkGenericOpenGLRenderWindow::SetGlobalMaximumNumberOfMultiSamples(0);
QSurfaceFormat::setDefaultFormat(QVTKOpenGLNativeWidget::defaultFormat());
auto defaultFormat = QVTKOpenGLNativeWidget::defaultFormat();
defaultFormat.setSamples(0);
QSurfaceFormat::setDefaultFormat(defaultFormat);
Unfortunately, without using multi-samples, the quality of the actors is noticeably worse which I would like to avoid.
Can someone explain me why I have to disable multi-samples when using vtkSelectVisiblePoints and vtkGenericOpenGLRenderWindow (vtkRenderWindow does not require it) and if there is any fix for this?
Thank you.