<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">Yep. It seems like depth peeling is OFF. You will have to turn depth peeling ON explicitly on the VTK render window.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><a href="http://www.vtk.org/Wiki/VTK/Depth_Peeling">http://www.vtk.org/Wiki/VTK/Depth_Peeling</a><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(11,83,148)"><br></span></div><div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Warm Regards,<br><br></span></span></div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Sankhesh Jhaveri<br>Research & Development Engineer</span></span><div><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif">Kitware, Inc.<br><b>Phone</b>: (518) 881 4417<br><b>Fax</b>: (518) 371 4573</span></span><br><b></b><br> </div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, May 6, 2015 at 4:57 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>Here is the screenshot of working example from Examples/GUI/Qt/Events.<br></div><br></div>One more thing I forgot to say - VTK works good on my Linux (when not using QVTKWidget).<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-05-06 23:45 GMT+03:00 David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br><div class="gmail_quote"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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></div></div>_______________________________________________<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>
</blockquote></div><br></div>
</div></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>