[vtkusers] VTK 6.2 and PyQt5?
David Gobbi
david.gobbi at gmail.com
Fri Feb 5 10:57:51 EST 2016
On Fri, Feb 5, 2016 at 7:45 AM, Elvis Stansvik <elvis.stansvik at orexplore.com
> wrote:
>
>
> That worked great, except for a small issue with a missing
> QWheelEvent::delta() in PyQt5 (see my merge request 1185).
>
> However, with QWidget as base class, I'm getting some strange rendering.
> With QGLWidget it looks fine.
>
> See the attached screenshot. It shows the cone example from
> QVTKRenderWindowInteractor.py with QWidget (left) and QGLWidget (right).
> With QWidget, the cone faces seem partly transparent from some angles.
>
> Any idea what might be going on? This is VTK 6.2.0, Kubuntu 15.10, on
> Intel graphics (Thinkpad T440s).
>
I think you forgot to attach the screenshot. But I probably cannot answer
your question, I don't use QVTKRenderWindowInteractor.py very often (I
maintain it because I was one of the initial authors, 15 years ago!), and
on my own system the QWidget base works fine.
>From what people have reported, the need for QGLWidget varies from system
to system and driver to driver. Whatever you discover, please share with
the list.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160205/56bbf7f2/attachment.html>
More information about the vtkusers
mailing list