[vtkusers] VTk Stereo - Help Rendering Left & Right Eye Seperately

Teek EZ7543 at wayne.edu
Tue Jun 6 14:03:14 EDT 2017

Ahhh I should've been more clear. But I'm using zSpace as my display which
handles the stereoscopic rendering fine if I use Crystal Eyes.

Would it be possible for me to have 2 renderers on top of each other in one
window, and then use the front and back buffers for each renderer?

For my use, I can't actually use just the center of the two eyes. I would
need to render each eye separately or set the camera for each eye.

zSpace has an example of rendering in OpenGL in which they render the scene
twice using GL_FRONT_LEFT and GL_BACK_LEFT buffers, respective to each eye.
I'm trying to recreate that with VTK because VTK implies volume rendering

Sankhesh Jhaveri-2 wrote
> 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.

View this message in context: http://vtk.1045678.n5.nabble.com/VTK-Stereo-Help-Rendering-Left-Right-Eye-Separately-tp5743559p5743566.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list