<div dir="ltr"><div>If you can share the right/wrong images, that would help diagnose the cause.</div><div><br></div>Is there opacity in the scene? If so depth peeling is needed to render the faces in the right order. To do depth peeling we need to ask the GPU what it can do and that can get messed up with different paths to the graphics context layers (under Qt vs natively for example.)<div><br><div><br><div><div><br></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Wed, May 6, 2015 at 4:31 PM, Pavel Kalinnikov <span dir="ltr"><<a href="mailto:pavelkalinnikov@gmail.com" target="_blank">pavelkalinnikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi everyone!<br><br></div><div>I have the following environment:<br></div><div> * OS - x64 Ubuntu 12.04.5 LTS<br></div><div> * Qt 5.4<br></div><div> * VTK 6.2.0<br><br></div><div>I'm
 trying to use QVTKWidget and it seems like it doesn't work properly. 
When I try to render some 3d object in this widget, I see that faces get
 rendered in a wrong order (maybe there are some problems with z-buffer 
or something).<br>The same code built on Windows works perfectly.<br><br></div><div>Also
 I tried to build and run the standard example Examples/GUI/Qt/Events 
distributed along with VTK-6.2.0, and it has the same problem in my 
Linux environment. And again, it works on Windows.<br><br>Am I doing something wrong or is it a bug?<br>Is there anyone who can fix this?<br>Is there any known workaround for this case?<br></div><div><br></div>Thank you,<br></div>Pavel Kalinnikov</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>