<html 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)">
<style>
<!--
 /* Font Definitions */
 @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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Hi, I have just implemented a passive stereo effect in
C++ with VTK libraries using the <i><span style='font-style:italic'>CrystalEyes</span></i>
method on a NVidia Quadro Graphics Card, with two projectors, a
not-depolarizing screen and linear polarized lens and glasses. This is the
code:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#333399"
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:#333399'>renWin-&gt;SetStereoCapableWindow(3);<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#333399"
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:#333399'>renWin-&gt;StereoRenderOn();<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#333399" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#333399'>renWin-&gt;SetStereoTypeToCrystalEyes();<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color="#333399"
face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial;
color:#333399'>renderer-&gt;GetActiveCamera()-&gt;ParallelProjectionOff();<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#333399" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#333399'>renderer-&gt;GetActiveCamera()-&gt;SetEyeAngle(3.0);<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#333399" face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:#333399'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The stereo effect is perfect if the object is
generated (from DICOM images) with a <i><span style='font-style:italic'>Surface
rendering</span></i>, whilst with the <i><span style='font-style:italic'>Volume
Rendering</span></i> the 3D image generated is confused.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The strange thing is that if I set a negative &#8220;eye
angle&#8221; the stereo effect on the Volume Rendering is good but reversed (I see
the reconstructed object beyond the plane of the screen).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Using the surface rendering, instead, the effect is
perfect in both directions (but I&#8217;m interested that the object poke
through the plane of the screen).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I&#8217;m thinking the problem could be the way the <i><span
style='font-style:italic'>ray casting</span></i> method is implemented in the Volume
rendering: probably the camera and the viewpoint are not in the same point.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I think this also because using a <font
color="#333399"><span style='color:#333399'>SetEyeAngle(0.3</span></font>) on
the Volume Rendered image gives me roughly</span></font><font size=2
face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'> </span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>the
same effect of a <font color="#333399"><span style='color:#333399'>SetEyeAngle(3.0)</span></font>
on the Surface Rendered object, therefore I think the images for left and right
view are generated, with the Volume Rendering, in a different way in comparison
with the Surface Rendering ones.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Someone could help me to address my problem?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Thanx,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Valeria<o:p></o:p></span></font></p>

</div>

</body>

</html>