<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 29, 2014 at 12:12 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Tue, Jan 28, 2014 at 9:53 PM, Aashish Chaudhary<br>
<<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>> wrote:<br>
> On Tue, Jan 28, 2014 at 4:59 PM, Oskar Kirmis <<a href="mailto:kirmis@st.ovgu.de">kirmis@st.ovgu.de</a>> wrote:<br>
>><br>
>> Hi everyone,<br>
>><br>
>> just a simple question: is it possible to enable stereo rendering only for<br>
>> some renderers or just for some parts of the render window?<br>
>><br>
>> I looked at the vtkRenderWindow code and I am not sure if this<br>
>> implementation allows me to do that. But maybe there is a way like<br>
>> overriding a method in vtkRenderer or something like that. Does anyone knows<br>
>> more about that?<br>
><br>
><br>
> I think that would be tricky. Can you not create two render windows?<br>
<br>
</div>The easiest way to stop a renderer from rendering in stereo is to set<br>
the EyeAngle of the camera to zero:<br>
<br>
renderer->GetActiveCamera()->SetEyeAngle(0.0);<br>
<br>
This will cause the left and right images to be identical to each other.<br></blockquote><div><br></div><div>If you use Quad buffer stereo then it would be renderer->GetActiveCamera()->SetEyeSeparation(0.0). However, you still render twice. However, </div>
<div>Dave solution is nice trick if you are looking for mono-image and do not care about the performance. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>
</div></div>