[vtkusers] QVTK Widget odd behavior on Ubuntu 16.10 and NVidia GPU:

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jul 19 11:43:09 EDT 2017


>
> I recompiled VTK beforehand with the -DVTK_RENDERING_BACKEND:
> STRING=OpenGL2
> flag. Is OpenGL3 a thing?
>

No,  VTK_RENDERING_BACKEND:STRING=OpenGL2 is indeed what you want.

Also make sure before you create the QApp in your main, you're calling
`QSurfaceFormat::setDefaultFormat(QVTKOpenGLWidget::defaultFormat())`. Is
that the case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170719/4294d648/attachment.html>


More information about the vtkusers mailing list