<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Lucida Sans";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
@font-face
        {font-family:"Lucida Sans Typewriter";
        panose-1:2 11 5 9 3 5 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Lucida Sans";}
h2
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Lucida Sans";
        font-style:italic;}
h3
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Lucida Sans";}
h4
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Times New Roman";}
h5
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        font-size:13.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
h6
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:16.0pt;
        font-family:"Lucida Sans";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
code
        {font-family:"Lucida Sans Typewriter";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Lucida Sans";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 56.7pt 56.7pt 56.7pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'>You are thinking
of showing stereo images by putting a separate image on each screen yourself,
but there is a more automatic way to do it. The Wildcat II 5110 drivers have a
setting to enable stereo, at least on Windows and maybe on Linux. You need to
go into the driver control and look deep in the Advanced section. When you
enable stereo in the driver, you also have to tell VTK to ask OpenGL to display
in stereo, and I think you have done the right settings in VTK for that to
work. Both video outputs from the display adapter will show the same image most
of the time, so you can no longer extend your desktop to on the second display
this way.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'>You have included
a call to StereoUpdate, and I’m not sure what “StereoUpdate”
does. It may not be necessary. I haven’t done this in a year or two, and
you used to be able to use the regular Render() command once you enabled stereo
in the render window.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'>- Drew<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Lucida Sans"><span
style='font-size:10.0pt;font-family:"Lucida Sans";color:blue'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
vtkusers-bounces+ajd27=tc.cornell.edu@vtk.org
[mailto:vtkusers-bounces+ajd27=tc.cornell.edu@vtk.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Valeria Gallo<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, November 06, 2006
11:24 AM<br>
<b><span style='font-weight:bold'>To:</span></b> vtkusers@vtk.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [vtkusers] Stereo
rendering problem</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi, I’m a vtk newbe…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This is a part of code I’ve written:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>vtkRenderer
*renderer = vtkRenderer::New();<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>vtkRenderWindow
*renWin = vtkRenderWindow::New();<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>renWin->AddRenderer(renderer);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>renWin->SetStereoCapableWindow(1);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>renWin->StereoRenderOn();<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>renWin->SetFullScreen(1);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=IT style='font-size:10.0pt;font-family:"Courier New"'>renWin->SetStereoTypeToCrystalEyes();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=IT
style='font-size:10.0pt;font-family:"Courier New"'>renWin->StereoUpdate();</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>There is a easy solution for my problem<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in advance<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Valeria<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=IT style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>