<div dir="ltr">Hi Iven, <div><br></div><div>We already have a code for it in ParaView. Actually most of the classes are VTK classes so in theory we can move them to VTK. If this sounds interesting to you let me know and I can help you with the code. </div>
<div><br></div><div>- Aashish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 4:40 PM,  <span dir="ltr"><<a href="mailto:iven87@gmx.de" target="_blank">iven87@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:"Calibri";FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"><span>Hi 
vtk developers,</span></div>
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div><span></span> </div>
<div><span>I’m 
trying to implement stereo rendering via quad-buffer-stereo. Unfortunately, I 
can’t just use the crystal eye setting in the vtkRenderWindow, because I use 
headtracking and thus have special model+view and projection matrices. 
</span></div>
<div><span></span> </div>
<div><span>So 
i need a place to implement the following logic:</span></div>
<div><span>-set 
the modelview and projection matrix for the left eye</span></div>
<div><span>-render 
the scene in GL_BACK_LEFT Buffer</span></div>
<div><span>-set 
the modelview and projection matrix for the right eye</span></div>
<div><span>-render 
the scene in GL_BACK_RIGHT Buffer</span></div>
<div><span></span> </div>
<div><span>I’ve 
investigated the vtkRenderer, vtkOpenGLRenderer, vtkRenderWindow, 
vtkOpenGLRenderWindow, and vtkCamera. I am not sure which class/functions I 
should override. Should I even use existing vtk stereo functionality or would it 
be wiser to “just” extend monoscopic render behavior?</span></div>
<div><span></span> </div>
<div><span>Any 
tips would be greatly appreciated.</span></div>
<div><span></span> </div>
<div><span>Best 
regards,</span></div>
<div><span>Iven</span></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div>
<i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div>
</div>