[vtkusers] Problem with Crystal Eyes stereo and QVTKWidget

Mathieu Westphal mathieu.westphal at kitware.com
Tue Jun 26 22:36:13 EDT 2018


Hello,

They are a few bugs in QVTKWidget, which is now deprecated. A new
Implementation as landed in VTK master recently.
You may want to try the new QVTKOpenGLWidget in VTK master
(ba5ccaba94c7681b7c95b7a38fac50f87ceb29a6).

Best regards,

Mathieu Westphal

On Tue, Jun 26, 2018 at 5:29 PM, Olivier Ameline <olivameline at gmail.com>
wrote:

> Hello,
>
> I have a polydata that I want to render in stereo inside a QVTK Widget.
>
> For this I use the C++ code
>
> renderWindow->StereoCapableWindowOn();
> renderWindow->SetStereoTypeToCrystalEyes();
> renderWindow->SetStereoRender(1);
> renderWindow->StereoUpdate();
>
> which does not work. There is no error message, but the polydata is not
> displayed in stereo.
>
>
> When I use
>
> renderWindow->SetStereoTypeToAnaglyph();
>
> instead of
>
> renderWindow->SetStereoTypeToCrystalEyes();
>
> the anaglyph type works.
>
>
> I'm in Linux Fedora with VTK 6.3 and a Nvidia Quadro card.
> I can run successfully stereo examples (like glxgears -stereo).
>
> Furthermore, the Crystal Eyes stereo works on my polydata when I use a
> vtkRenderWindowInteractor, but I would prefer to use the QVTK Widget.
>
>
> Do you know what's wrong with QVTK Widget and Crystal Eyes stereo in VTK
> 6.3
> ?
>
> Thanks
>
> Olivier.
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180627/2a435e0a/attachment.html>


More information about the vtkusers mailing list