[vtkusers] Using QVTKWidget with QT5 on Linux

Pavel Kalinnikov pavelkalinnikov at gmail.com
Wed May 6 16:57:08 EDT 2015


Here is the screenshot of working example from Examples/GUI/Qt/Events.

One more thing I forgot to say - VTK works good on my Linux (when not using
QVTKWidget).

2015-05-06 23:45 GMT+03:00 David E DeMarle <dave.demarle at kitware.com>:

> If you can share the right/wrong images, that would help diagnose the
> cause.
>
> 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.)
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Wed, May 6, 2015 at 4:31 PM, Pavel Kalinnikov <
> pavelkalinnikov at gmail.com> wrote:
>
>> Hi everyone!
>>
>> I have the following environment:
>>  * OS - x64 Ubuntu 12.04.5 LTS
>>  * Qt 5.4
>>  * VTK 6.2.0
>>
>> 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).
>> The same code built on Windows works perfectly.
>>
>> 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.
>>
>> Am I doing something wrong or is it a bug?
>> Is there anyone who can fix this?
>> Is there any known workaround for this case?
>>
>> Thank you,
>> Pavel Kalinnikov
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150506/b9a60ee2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 64456 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150506/b9a60ee2/attachment.png>


More information about the vtkusers mailing list