[vtkusers] Stereo rendering problem

Chuck Anderson cda10 at psu.edu
Mon Nov 6 13:16:09 EST 2006


Hi Valeria,

I use VTK with a stereo projection system constantly. Drew¹ Dolgert¹s post
is correct, you need to go into the advanced settings for the video driver
and enable stereo. You also need to set the video card in a mode that
simulates the crystal eyes hardware stereo that VTK¹s stereo function is
designed for. I don¹t know about Wildcat video cards, but on nVidia Quadro
cards, the mode is called ³clone mode². Both projectors will display exactly
the same thing, except the vtk render windows will show left and right eye
views respectively.

Cheers,
Chuck

--------------------------------------
Chuck Anderson
Visualization and Outreach Specialist
Center for Environmental Kinetics Analysis (CEKA)
Penn State
2217 EES Building
814-863-2049
cda10 at psu.edu





> Hi, I¹m a vtk newbeŠ
> I have two Benq projectors and a Wildcat II 5110 graphics card and I would
> like to view my 3D model using the stereo mode in VTK.
>  
> This is a part of code I¹ve written:
>  
> vtkRenderer *renderer = vtkRenderer::New();
> vtkRenderWindow *renWin = vtkRenderWindow::New();
> renWin->AddRenderer(renderer);
> renWin->SetStereoCapableWindow(1);
> renWin->StereoRenderOn();
> renWin->SetFullScreen(1);
> renWin->SetStereoTypeToCrystalEyes();
> renWin->StereoUpdate();
>  
> There are no errors but I can view the window only in one of the two windows
> of the screen (one projector works as extended window).
> Probably a solution it will be to use two different render windows, one for
> the left eye and one for the right, but I don¹t know how to put one window in
> the first projector and the other window in the second projector.
>  
> There is a easy solution for my problem
>  
> Thanks in advance
> Valeria
>  
> 
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061106/0514d683/attachment.htm>


More information about the vtkusers mailing list