[vtk-developers] Quad Buffer Stereo with Headtracking and OpenGL

iven87 at gmx.de iven87 at gmx.de
Thu Jul 10 17:19:14 EDT 2014


Hi Aashish,

that sounds good! If you can point me to relevant classes that would be great. 

Thanks and best regards,
Iven

From: Aashish Chaudhary 
Sent: Thursday, July 10, 2014 10:54 PM
To: iven87 at gmx.de 
Cc: VTK Developers 
Subject: Re: [vtk-developers] Quad Buffer Stereo with Headtracking and OpenGL

Hi Iven,  

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. 

- Aashish



On Thu, Jul 10, 2014 at 4:40 PM, <iven87 at gmx.de> wrote:

  Hi vtk developers,

  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. 

  So i need a place to implement the following logic:
  -set the modelview and projection matrix for the left eye
  -render the scene in GL_BACK_LEFT Buffer
  -set the modelview and projection matrix for the right eye
  -render the scene in GL_BACK_RIGHT Buffer

  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?

  Any tips would be greatly appreciated.

  Best regards,
  Iven

  _______________________________________________
  Powered by www.kitware.com

  Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

  Follow this link to subscribe/unsubscribe:
  http://public.kitware.com/mailman/listinfo/vtk-developers







-- 

| Aashish Chaudhary 
| Technical Leader         
| Kitware Inc.            

| http://www.kitware.com/company/team/chaudhary.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140710/e18d44db/attachment-0002.html>


More information about the vtk-developers mailing list