<div dir="ltr">Hi Sophonet,<div><br></div><div>QVTKRenderWindowInteractor.py has a "main" and can be run as an example. If you run it, does it show the same problem?</div><div><br></div><div>I recently tried it with VTK 7.0.0.rc1 and didn't see any depth buffer issues (using Ubuntu 12.04).</div><div><br></div><div> - David</div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 1:17 PM, Sophonet <span dir="ltr"><<a href="mailto:vtk12af6bc42@kant.sophonet.de" target="_blank">vtk12af6bc42@kant.sophonet.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear list,<br>
<br>
when trying to run a Qt Python application using the qt.QTVTKRenderWindow, there are depth test problems.<br>
<br>
Examples/Tutorial/Step1/Python/Cone.py works perfect, but with a simple QVTKRenderWindow example (based on <a href="https://gist.github.com/samueljohn/3090097" rel="noreferrer" target="_blank">https://gist.github.com/samueljohn/3090097</a>, needs two more imports though), there are depth test problems, i.e. it appears that for some reason no depth test is applied (so the last drawn primitive is always visible on top).<br>
<br>
When doing<br>
<br>
export MESA_DEBUG=1<br>
<br>
before running the two scripts, there is one warning in the Examples/Tutorial/Step1/Python/Cone.py,<br>
<br>
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable<br>
<br>
[but everything looks fine],<br>
<br>
but many more with the QVTKRenderWindow<br>
<br>
Mesa: User error: GL_INVALID_OPERATION in glDrawBuffer(buffer=0x405)<br>
Mesa: User error: GL_INVALID_OPERATION in glReadBuffer(buffer=0x405)<br>
...<br>
<br>
I am running Mesa 9.2.3 on my system (OpenSUSE 13.1), so I cannot switch to the OpenGL2 rendering backend (which might resolve the problem? - don't know...).<br>
<br>
Any hints?<br>
<br>
Thanks,<br>
<br>
sophonet<br></blockquote></div></div></div></div>