[vtkusers] VTk Stereo - Help Rendering Left & Right Eye Seperately
Sankhesh Jhaveri
sankhesh.jhaveri at kitware.com
Tue Jun 6 11:34:34 EDT 2017
Hi Teek,
You can use the vtkRenderWindow::SetStereoTypeToLeft()
<http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html#a69e5ee012eb84d708851360b8f0706df>
and vtkRenderWindow::SetStereoTypeToRight()
<http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html#af4b1162e9f6cfed54e8ea3bb2ec0e900>
API to tell VTK which eye you’re rendering.
Hope that helps.
Sankhesh
On Tue, Jun 6, 2017 at 11:17 AM Teek <EZ7543 at wayne.edu> wrote:
> Hi VTK-Users,
>
> So currently I was able to render a stereoscopic 3D cube using VTK's
> default
> capabilities.
> I was using Crystal Eyes and everything works fine. However, I am now in
> need of adding head tracking, and I have the eye positions in 3D space.
>
> My question is, is it possible to render the left and right eyes separately
> instead of just using the default Crystal Eyes specification? Basically, I
> want to be able to set the left view's camera position, and right view's
> camera position based of the the eye positions.
>
> Would really appreciate any help!
>
> Regards,
> Teek
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTk-Stereo-Help-Rendering-Left-Right-Eye-Seperately-tp5743559.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170606/86c941d5/attachment.html>
More information about the vtkusers
mailing list