<div dir="ltr"><div class="markdown-here-wrapper" style="font-family:'Lucida Sans',Verdana,sans-serif;color:rgb(11,83,148)"><p style="margin:0px 0px 1.2em!important">Perhaps, I misunderstood what you’re trying to do. </p>
<p style="margin:0px 0px 1.2em!important">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.<br>The compositing will have to be dealt with, by the external system this way.</p>
<p style="margin:0px 0px 1.2em!important">What is the display setup you use?  CAVE, HMD, etc? </p>
<p style="margin:0px 0px 1.2em!important">If you’re using off-axis projection, you could use <code style="font-size:0.95em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(218,218,218);background-color:rgb(232,232,232);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline">vtkCamera::SetEyePosition</code> (the center of the two eyes) and <code style="font-size:0.95em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(218,218,218);background-color:rgb(232,232,232);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline">vtkCamera::SetEyeSeparation</code>. However, these settings are only used for off-axis frustum calculation. </p>
<blockquote style="margin:1.2em 0px;border-left-width:4px;border-left-style:solid;border-left-color:rgb(221,221,221);padding:0px 1em;color:rgb(119,119,119);quotes:none"><br><br>On Tue, Jun 6, 2017 at 12:32 PM Teek <<a href="mailto:EZ7543@wayne.edu" target="_blank">EZ7543@wayne.edu</a>> wrote:<br><br><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't think that would be necessary though would it?<br>
I only say that because I already able to render the cube in 3D on my<br>
display.<br>
I can also modify the camera position and focal point, however it modifies<br>
it for both eyes.<br>
<br>
The only thing I would like to achieve is to be able to modify the camera<br>
separately for each eye.<br>
Not sure if the OpenVR classes would really help facilitate that.<br>
<br>
<br>
mchinand wrote<br>
> Would the OpenVR-related VTK classes be helpful in your situation?<br>
><br>
> <a href="https://blog.kitware.com/using-virtual-reality-devices-with-vtk" rel="noreferrer" target="_blank">https://blog.kitware.com/using-virtual-reality-devices-with-vtk</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTk-Stereo-Help-Rendering-Left-Right-Eye-Seperately-tp5743559p5743564.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTk-Stereo-Help-Rendering-Left-Right-Eye-Seperately-tp5743559p5743564.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a></blockquote><p></p></div><br><br></blockquote> <div title="MDH:PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTpzbWFsbCI+UGVyaGFwcywgSSBtaXN1bmRlcnN0b29kIHdo
YXQgeW91J3JlIHRyeWluZyB0byBkby4mbmJzcDs8L3NwYW4+PGRpdj48YnI+PC9kaXY+PGRpdj5U
aGF0IEFQSSBsZXRzIHlvdSByZW5kZXIgYSB3aG9sZSBzY2VuZSAoaS5l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JnL3NlYXJjaC8/cT08d2Jy
PnZ0a3VzZXJzPC9hPjxicj4KPGJyPgpGb2xsb3cgdGhpcyBsaW5rIHRvIHN1YnNjcmliZS91bnN1
YnNjcmliZTo8YnI+CjxhIGhyZWY9Imh0dHA6Ly9wdWJsaWMua2l0d2FyZS5jb20vbWFpbG1hbi9s
aXN0aW5mby92dGt1c2VycyIgcmVsPSJub3JlZmVycmVyIiB0YXJnZXQ9Il9ibGFuayIgZGF0YS1z
YWZlcmVkaXJlY3R1cmw9Imh0dHBzOi8vd3d3Lmdvb2dsZS5jb20vdXJsP3E9aHR0cDovL3B1Ymxp
Yy5raXR3YXJlLmNvbS9tYWlsbWFuL2xpc3RpbmZvL3Z0a3VzZXJzJmFtcDtzb3VyY2U9Z21haWwm
YW1wO3VzdD0xNDk2ODU2MDI4MDg2MDAwJmFtcDt1c2c9QUZRakNOR0QyQ0ZsRHJtQ2s5QTVQRXBN
YjRsbS1QN3o5QSI+aHR0cDovL3B1YmxpYy5raXR3YXJlLmNvbS88d2JyPm1haWxtYW4vbGlzdGlu
Zm8vdnRrdXNlcnM8L2E+PC9ibG9ja3F1b3RlPjxkaXY+Jmx0Oy9ibG9ja3F1b3RlJmd0OyZuYnNw
OzwvZGl2PjwvZGl2Pg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div><div dir="ltr" class="markdown-here-signature">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div class="m_2084517735996590887inbox-markdown-here-wrapper" style="font-family:'proza libre',sans-serif;color:rgb(0,56,107)"><h5 id="m_2084517735996590887inbox-sankhesh-jhaveri" style="margin:1.3em 0px 1em;padding:0px;font-size:1.1em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);font-weight:bold;color:rgb(11,65,148)">Sankhesh Jhaveri</h5>
<h6 id="m_2084517735996590887inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417" style="margin:1.3em 0px 1em;padding:0px;font-size:1em;color:rgb(11,83,148);font-family:'open sans',sans-serif;font-weight:normal"><em>Sr. Research & Development Engineer</em> | <a href="http://www.kitware.com/" target="_blank">Kitware</a> | <a href="tel:(518)%20881-4417" value="+15188814417" target="_blank">(518) 881-4417</a></h6>
<div title="MDH:PGIgc3R5bGU9ImZvbnQtZmFtaWx5OiB2ZXJkYW5hLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDEx
LCA4MywgMTQ4KTsiPjxmb250IHNpemU9IjIiPiMjIyMjU2Fua2hlc2ggSmhhdmVyaTwvZm9udD48
L2I+PGRpdj48Zm9udCBjb2xvcj0iIzBiNTM5NCIgZmFjZT0idmVyZGFuYSwgc2Fucy1zZXJpZiIg
c2l6ZT0iMiI+PGI+PGJyPjwvYj48L2ZvbnQ+PGRpdj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6
IGFyaWFsLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDExLCA4MywgMTQ4KTsiPjxzcGFuIHN0eWxl
PSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsiPjxpPiMjIyMjIypTci4gUmVzZWFy
Y2ggJmFtcDsgRGV2ZWxvcG1lbnQgRW5naW5lZXIqPC9pPiZuYnNwO3wmbmJzcDs8L3NwYW4+PC9z
cGFuPjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsgY29sb3I6
IHJnYigxMSwgODMsIDE0OCk7Ij48YSBocmVmPSJodHRwOi8vd3d3LmtpdHdhcmUuY29tLyIgdGFy
Z2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjogcmdiKDE3LCA4NSwgMjA0KTsiPktpdHdhcmU8L2E+
Jm5ic3A7fCZuYnNwOzwvc3Bhbj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6IHZlcmRhbmEsIHNh
bnMtc2VyaWY7IGNvbG9yOiByZ2IoMTEsIDgzLCAxNDgpOyI+KDUxOCkgODgxLTQ0MTc8L3NwYW4+
PGJyPjwvZGl2PjxkaXY+PGRpdj48ZGl2PjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFu
YSwgc2Fucy1zZXJpZjsgY29sb3I6IHJnYigxMSwgODMsIDE0OCk7Ij48L3NwYW4+PC9kaXY+PC9k
aXY+PC9kaXY+PC9kaXY+" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px">​</div></div></div></div></div>