<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Aashish,</DIV>
<DIV> </DIV>
<DIV>that sounds good! If you can point me to relevant classes that would be 
great. </DIV>
<DIV> </DIV>
<DIV>Thanks and best regards,</DIV>
<DIV>Iven</DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A 
title=aashish.chaudhary@kitware.com 
href="mailto:aashish.chaudhary@kitware.com">Aashish Chaudhary</A> </DIV>
<DIV><B>Sent:</B> Thursday, July 10, 2014 10:54 PM</DIV>
<DIV><B>To:</B> <A title=iven87@gmx.de 
href="mailto:iven87@gmx.de">iven87@gmx.de</A> </DIV>
<DIV><B>Cc:</B> <A title=vtk-developers@vtk.org 
href="mailto:vtk-developers@vtk.org">VTK Developers</A> </DIV>
<DIV><B>Subject:</B> Re: [vtk-developers] Quad Buffer Stereo with Headtracking 
and OpenGL</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi Iven,  
<DIV> </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> </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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <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> </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></DIV></DIV></DIV></BODY></HTML>