<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 2:18 PM, Faiz Abidi <span dir="ltr"><<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px">Thanks for your help, Aashish and David.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">On the glxgears in stereo mode....</span></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>"The glxgears --stereo uses quad-buffered (frame sequential) stereo. With the projectors and cables we have at the CAVE at VT, the active stereo is happening at the projector. It is being sent two separate video channels, 1 for left eye and one for right eye. Basically, at the computer side it is like passive stereo. Glxgears does not have this type of stereo option." This is why glxgears doesn't work in stereo mode here.</span></div></blockquote><div><br></div><div>I see this helps.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">David, I have tried that configuration. See </span><a href="https://github.com/faizabidi/VE_Project/blob/master/cave-stereo.pvx" style="font-size:12.8px" target="_blank">HERE</a><span style="font-size:12.8px">. Yes, both sections are driving the same set of pixels, so the coordinates must be the same. But I get the same issue like before. I am kind of confused here now. I am still trying to figure it out. Thanks for looking into this. If you run into any new ideas, please do let me know.</span></div></div></blockquote><div><br></div><div>Another than the fact that you won't get the eye separation, you should still not see two images at once with the last configuration. Dave and I were talking about it; What you would need is an option in the NVIDIA display config </div><div><br></div><div> (<a href="http://www.earthmodels.org/software/vtk-and-paraview/3d-paraview-and-geowall">http://www.earthmodels.org/software/vtk-and-paraview/3d-paraview-and-geowall</a>) or an option in the PVX file (which we don't have right now) to support passive stereo. Try the first option (chainging the stereo option to 4 in the x config file) and ParaView in regular stereo mode (crystal eyes). It should give you left eye on one display and right on other. Then it will be fed to the projector and projector will again turn it into active. <br></div><div><br></div><div>- Aashish</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 1:09 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><br>Cool that's easy enough to try.<br><br></div>@Faiz edit your pvx like so:<span><br><Machine Name="CTL"<br>           Environment="DISPLAY=:0.4"<br>           Geometry="2560x1600+0+0"<br>           FullScreen="1"<br>           ShowBorders="0"<br>           LowerLeft="-1  -1  -1"<br>           LowerRight="1    -1  -1"<br>           UpperRight="1    1   -1"/><br>    <Machine Name="CTR"<br>           Environment="DISPLAY=:0.5"<br>           Geometry="2560x1600+0+0"<br>           FullScreen="1"<br>           ShowBorders="0"<br>           LowerLeft="-1    -1  1"<br>           LowerRight="1   -1  -1"<br>           UpperRight="1   1   -1"/><br></span></div>becomes<span><br><Machine Name="CTL"<br>           Environment="DISPLAY=:0.4"<br>           Geometry="2560x1600+0+0"<br>           FullScreen="1"<br>           ShowBorders="0"<br>           LowerLeft="-1  -1  -1"<br>           LowerRight="1    -1  -1"<br>           UpperRight="1    1   -1"/><br>    <Machine Name="CTR"<br>           Environment="DISPLAY=:0.5"<br>           Geometry="2560x1600+0+0"<br>           FullScreen="1"<br>           ShowBorders="0"<br></span>           LowerLeft="-1    -1  -1" #NOTE the change here to make it match CTL<span><br>           LowerRight="1   -1  -1"<br>           UpperRight="1   1   -1"/><br><br></span></div>Both sections are driving the same set of pixels, so their world space coordinates have to match. The only difference is the display number which selects the video output. If you had multiple machines, you would have to tailor your mpiexec call to ensure the the ordering, but since all are on the same machine any process can directly draw to any display so it won't matter.<br><br><br><br><br><div><div class="gmail_extra"><span><br clear="all"><div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br></span><div><div><div class="gmail_quote">On Mon, Mar 28, 2016 at 12:54 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Mar 28, 2016 at 12:10 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Agree with Aashish on getting glxgears stereo as a prerequisite.<br><br></div>Also one point of misunderstanding I see is that different displays in the pvx are meant to go to different tiles. Each tile shows left and right eye interleaved in time or color or pixel offset. The displays are not mean to be different eyes for the same tile as you want them to be. That is why we have a single eye separation for the whole config but you want a left eye or right eye designation for each output.<br><br></div>@Aashish - Faiz would need to hack ParaView right ? Or is there some hidden configuration setting I've not seen before?<br></div></blockquote><div><br></div></div></div><div>He would need to have two display configs for each output (which on linux should have  different display number such as :0.0 and :0.1). That's the only thing that would be needed for passive stereo. </div><div><br></div><div>Thanks</div><div><br></div><div> </div></div><span><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</span></div></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" target="_blank">www.faizabidi.com</a> | <span style="font-size:small"><a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a></span></div></div></div></div></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div>