<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-02-05 16:57 GMT+01:00 David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Fri, Feb 5, 2016 at 7:45 AM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><div><br></div></span><div>That worked great, except for a small issue with a missing QWheelEvent::delta() in PyQt5 (see my merge request 1185).<br><br></div><div>However, with QWidget as base class, I'm getting some strange rendering. With QGLWidget it looks fine.<br><br></div><div>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.<br><br></div><div>Any idea what might be going on? This is VTK 6.2.0, Kubuntu 15.10, on Intel graphics (Thinkpad T440s).</div></div></div></div></blockquote><div><br></div></span><div>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.</div></div></div></div></blockquote><div><br></div><div>Bah, of course I did. Attaching it here.<br><br></div><div>I see. Anyone else know what could cause the behavior shown in the screenshot?<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>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.</div></div></div></div></blockquote><div><br></div><div>Alright, so you've heard about it before? Should there ever be a need for QGLWidget, or should it be reported as a bug?<br><br></div><div>My system:<br><br>Thinkpad T440s<br>Intel HD Graphics 4400<br></div><div>Qt 5.5.1 / PyQt5 5.4.2 / VTK 6.2.0<br><br></div><div>All installed from Kubuntu repos (with backports repositories enabled).<br><br></div><div>I have no reason not to use QGLWidget instead of QWidget, so it's not a big problem. I was mostly curious if others have seen this problem.<br><br></div><div>Elvis<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><font color="#888888"><div><br></div><div> - David</div></font></span></div></div></div>
</blockquote></div><br></div></div>