[vtkusers] VTk Stereo - Help Rendering Left & Right Eye Seperately
Sankhesh Jhaveri
sankhesh.jhaveri at kitware.com
Tue Jun 6 13:20:48 EDT 2017
Perhaps, I misunderstood what you’re trying to do.
That API lets you render a whole scene (i.e. OpenGL context) with one eye.
For rendering both, left and right, you’d have to have two different
windows with the same scene - one for left and one for right.
The compositing will have to be dealt with, by the external system this way.
What is the display setup you use? CAVE, HMD, etc?
If you’re using off-axis projection, you could use vtkCamera::SetEyePosition
(the center of the two eyes) and vtkCamera::SetEyeSeparation. However,
these settings are only used for off-axis frustum calculation.
On Tue, Jun 6, 2017 at 12:32 PM Teek <EZ7543 at wayne.edu> wrote:
I don't think that would be necessary though would it?
> I only say that because I already able to render the cube in 3D on my
> display.
> I can also modify the camera position and focal point, however it modifies
> it for both eyes.
>
> The only thing I would like to achieve is to be able to modify the camera
> separately for each eye.
> Not sure if the OpenVR classes would really help facilitate that.
>
>
> mchinand wrote
> > Would the OpenVR-related VTK classes be helpful in your situation?
> >
> > https://blog.kitware.com/using-virtual-reality-devices-with-vtk
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTk-Stereo-Help-Rendering-Left-Right-Eye-Seperately-tp5743559p5743564.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/f839df5b/attachment.html>
More information about the vtkusers
mailing list