[vtkusers] Stereo rendering

Øyvind Knudsen knudsen at operamail.com
Tue May 25 15:20:04 EDT 2004


I solved it. The problem was qt! I'm using vtk inside an application written in python with qt as the GUI library. I used the QVTKRenderWindowInteractor from <http://gerard.vermeulen.free.fr/> to incorporate the vtk renderer into the qt GUI. Evidently, the QWidget class does not support stereo rendering and since QVTKRenderWindowInteractor inherits QWidget, the renderer was not capable of stereo renderering. I made the QVTKRenderWindowInteractor inherit the QGLWidget from the pygl module instead, and voilá: Stereo rendering!

I got another problem though: After closing a stereo capable vtk window, one of the projectors freezes the image, while the other projector keeps working as usual. This makes the display cluttered, as one eye looks at a frozen image, while the other lookas at the operating system desktop as usual. 

Any ideas how to solve this?

Øyvind Knudsen
----- Original Message -----
From: "Cristian Luciano" <clucia1 at uic.edu>
Date: Fri, 21 May 2004 11:15:42 -0500
To: Øyvind Knudsen <knudsen at operamail.com>
Subject: Re: [vtkusers] Stereo rendering

> Hi Øyvind,
> 
> Did you set the clone mode in the nVidia card?
> 
> Cristian
> 
> 
> > Hi.
> >
> > Thanks for the swift response. Sadly your suggestion didn't seem to work.
> The only thing happening when toggling between stereo/non stereo mode is
> that the actors are skewed to the side (the same amount of degrees as the
> current EyeAngle of the active vtkCamera I think). This skew is a good sign
> that VTK is trying to set up stereo, but I don't know what to do to make the
> attempt successful. Any suggestions?
> >
> > Øyvind Knudsen
> >


-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze



More information about the vtkusers mailing list