[vtkusers] opengl2 vtk rendering back end and Qt

Alexandre Boucher afboucher at gmail.com
Tue Dec 20 00:47:48 EST 2016


Hi All,

I am having a problem using the opengl2 backend with QVTKWidget (I tried Qt
5.4 to 5.7 and vtk 7.0 and 7.1). When looking at a simple vtkImageData for
instance some of the faces of the grid are not properly displayed, see
image below.  Everything works fine with the opengl1 backend.

I also try using QVTKWidget2, but I am getting a crash when the widget call
OpenGLInitState().

Is there a trick to use Qt and opengl2?

Thanks



[image: Inline image 1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161219/70af2fce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29648 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161219/70af2fce/attachment.png>


More information about the vtkusers mailing list