[vtkusers] Stereo rendering

Øyvind Knudsen knudsen at operamail.com
Fri May 21 12:02:37 EDT 2004


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
 
----- Original Message -----
From: "Cristian Luciano" <clucia1 at uic.edu>
Date: Wed, 19 May 2004 15:28:50 -0500
To: "Oeyvind Knudsen" <knudsen at operamail.com>
Subject: Re: [vtkusers] Stereo rendering

> Try also including this:
> 
>  self._RenderWindow.SetStereoTypeToCrystalEyes();
>  self._RenderWindow.StereoRenderOn();
> 
> It works for me. Please let me know if it still doesn't work.
> 
> Cristian
> 
 
> ----- Original Message ----- 
> From: "Oeyvind Knudsen" <knudsen at operamail.com>
> To: <vtkusers at vtk.org>
> Sent: Wednesday, May 19, 2004 1:39 PM
> Subject: [vtkusers] Stereo rendering
> 
> 
> > Hi!
> >
> > I have two projectors with polarized lenses and polarized glasses, and
> want to use it with VTK. What kind of stereo type is appropriate for the
> vtkRenderWindow? I have tried several different, but can't seem to get it to
> work.
> >
> > In  python, I have done the following:
> >
> > self._RenderWindow = vtk.vtkRenderWindow()
> > self._RenderWindow.StereoCapableWindowOn()
> > self._RenderWindow.SetStereoTypeTo ??
> > self._RenderWindow.StereoUpdate()
> >
> > I then use the '3' key to toggle stereo mode. With
> > self._RenderWindow.SetStereoTypeToLeft() the effect is that the actors in
> the renderer are skewed a small amount to the side, that's all.
> >
> > The scene is made up of regular vtkActors, some tubes and some spheres.
> >
> > By the way, I'm running debian linux with an NVIDIA Quadro card.
> >
> > Have I forgotten something?
> >
> > Ø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