[vtkusers] Stereo rendering for some renderers

David Gobbi david.gobbi at gmail.com
Wed Jan 29 00:12:19 EST 2014


On Tue, Jan 28, 2014 at 9:53 PM, Aashish Chaudhary
<aashish.chaudhary at kitware.com> wrote:
> On Tue, Jan 28, 2014 at 4:59 PM, Oskar Kirmis <kirmis at st.ovgu.de> wrote:
>>
>> Hi everyone,
>>
>> just a simple question: is it possible to enable stereo rendering only for
>> some renderers or just for some parts of the render window?
>>
>> I looked at the vtkRenderWindow code and I am not sure if this
>> implementation allows me to do that. But maybe there is a way like
>> overriding a method in vtkRenderer or something like that. Does anyone knows
>> more about that?
>
>
> I think that would be tricky. Can you not create two render windows?

The easiest way to stop a renderer from rendering in stereo is to set
the EyeAngle of the camera to zero:

renderer->GetActiveCamera()->SetEyeAngle(0.0);

This will cause the left and right images to be identical to each other.

  David


More information about the vtkusers mailing list