<p dir="ltr">I'll point you in the right places in paraview tomorrow. It shouldn't be that hard,  all you have to do is add a new xml tag that designates both (aka default), left or right, and pass that information all the way to the render window's stereo type control. </p>
<div class="gmail_quote">On Mar 29, 2016 11:14 PM, "Faiz Abidi" <<a href="mailto:fabidi89@vt.edu">fabidi89@vt.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span>Aashish</span> and David - the stereo is off (0) in the <span>xorg</span>.<span>conf</span> file. Paul (<span>CC'd</span>) told me the reason for that - "If stereo is enabled that interferes with the <span>nvidia</span> driver-level blending. This is a known issue in <span>linux</span>. <span>Nvidia</span> has put it on their <span>RFE</span> list but it is not clear when it will be done/fixed." So, I can't do what that link suggested. Although, I still tried :) Outcome was weird. I tested on one wall, and what was happening was that I saw left eye for a while, and then that faded, and then I got the  right eye for a while, and then that faded, and again I got a left eye. I got both eyes for a while as well, but then it again faded. This process continued, clearly suggesting that there's some issue at the driver level as Paul mentioned. <span>Btw</span>, Crystal eyes didn't work like before, and threw <span>OpenGL</span> errors. So, I tested the above using <span>Anaglyph</span>.<div><br></div><div>Mark - I am using 1 process per DISPLAY (or projector you could say). We have 8 projectors here each doing left, and right eye active stereo. So, I would spawn 16 processes when I can get active stereo to work.</div><div><br></div><div>I think at this point we have no choice but to look into editing the source code of <span>Paraview</span>, and see if we can customize it for our CAVE. This issue seems like unique. If you have any suggestions on where I should start looking into, that would be great help! </div><div><br></div><div>If anyone has any other ideas, I am happy to listen, and test it here.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 2:44 PM, Stock, Mark <span dir="ltr"><<a href="mailto:Mark.Stock@nrel.gov" target="_blank">Mark.Stock@nrel.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Faiz,<br>
<br>
Number 3 strikes me as odd: your graphics card and projectors should be capable of quad-buffered stereo, so you should only be using one MPI process per projector (i.e. 1 process per DISPLAY).<br>
<br>
I agree with previous posters in that you should try to get the synchronization with your glasses working first. How are the projectors synchronized (and what kinds of video cards are you using)?<br>
<br>
Mark<br>
(manages a 6-projector stereo setup at NREL and heavy user of ParaView)<br>
<br>
From: ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>>> on behalf of Faiz Abidi <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>><br>
Date: Saturday, March 26, 2016 at 12:19 AM<br>
To: Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a><mailto:<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>>><br>
Cc: Nicholas Polys <<a href="mailto:npolys@vt.edu" target="_blank">npolys@vt.edu</a><mailto:<a href="mailto:npolys@vt.edu" target="_blank">npolys@vt.edu</a>>>, Lance Arsenault <<a href="mailto:lanceman@vt.edu" target="_blank">lanceman@vt.edu</a><mailto:<a href="mailto:lanceman@vt.edu" target="_blank">lanceman@vt.edu</a>>>, "<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><mailto:<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><mailto:<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>>><br>
Subject: Re: [Paraview] Mono and Stereo Rendering in the CAVE<br>
<span><br>
Hi Ashish,<br>
<br>
Thanks for your email. I was just now reading an old thread by you on a similar topic answering someone's query on a similar problem.<br>
<br>
1. Yes, you are right. Two projectors per wall doing active stereo. So, in my PVX file, for doing only one half of the wall, I define Display=:0.0  (left eye) and Display=:0.1 (right eye).<br>
<br>
2. Yes, active stereo on each half of the wall.<br>
<br>
3. Umm, no. Here's what's happening. Sorry if I didn't explain properly before. I use two processes to drive one half of the wall using mpi. I put on glasses and don't see anything with my right eye and see two images with my left. I tend to think this is where I am doing something wrong. I tried using 1 process to drive one half of the wall but same result.<br>
<br>
I just tried running glxgears in stereo and see an error - "Error: couldn't get an rgb double-buffered visual". :/ But I am running InstantReality projects in the same CAVE using stereo. This is a bit weird.<br>
<br>
Btw, I am using one powerful machine with 4 graphics card on it to drive the entire CAVE.<br>
<br>
Thanks again for your help! If you have any more ideas, I would be glad to hear.<br>
<br>
</span><span>On Fri, Mar 25, 2016 at 11:45 PM, Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a><mailto:<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>>> wrote:<br>
Hi Faiz,<br>
<br>
Few things:<br>
<br>
1| You have two projectors per wall each covering half of the wall<br>
2| You are trying to do active stereo on each half part of the wall<br>
3| You put glasses on and you see both left and right eye on the half wall from the same projector<br>
<br>
If this is the case, it sounds like your active stereo is not working. Are you sure your driver is setup up correctly? Before you try to work on cluster setup, just try working on one projector for debugging purposes. If I were you I would do this:<br>
<br>
1) Just use PVX to run on one projector (half wall)<br>
2) Make sure your driver is setup correctly. If this is linux try running glxgears in stereo mode (<a href="http://manpages.ubuntu.com/manpages/karmic/man1/glxgears.1.html" rel="noreferrer" target="_blank">http://manpages.ubuntu.com/manpages/karmic/man1/glxgears.1.html</a>)<br>
3) If 2) works then something is wrong with VTK/ParaView/Config somewhere.<br>
4) Make sure that your active glasses are working meaning that they are syncing with the transmitter which is connected to the node<br>
<br>
Hope this helps.<br>
<br>
<br>
<br>
<br>
</span><div><div>On Fri, Mar 25, 2016 at 7:28 PM, Faiz Abidi <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>> wrote:<br>
Alright, I updated the pvx file some, just the correct coordinates.<br>
<br>
<?xml version="1.0" ?><br>
<pvx><br>
    <Process Type="client" /><br>
    <Process Type="server"><br>
    <!-- Tiled wall in Kitware --><br>
    <EyeSeparation Value="0.065"/><br>
    <Machine Name="CTL"<br>
           Environment="DISPLAY=:0.4"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="0"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524  -0.381  -1.524"<br>
           LowerRight="1.524    -0.381  -1.524"<br>
           UpperRight="1.524    1.524   -1.524"/><br>
    <Machine Name="CTR"<br>
           Environment="DISPLAY=:0.5"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -0.381  -1.524"<br>
           LowerRight="1.524    -0.381  -1.524"<br>
           UpperRight="1.524    1.524   -1.524"/><br>
    <Machine Name="CBL"<br>
           Environment="DISPLAY=:0.6"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -1.524  -1.524"<br>
           LowerRight="1.524    -1.524  -1.524"<br>
           UpperRight="1.524    0.381   -1.524"/><br>
    <Machine Name="CBR"<br>
           Environment="DISPLAY=:0.7"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -1.524  -1.524"<br>
           LowerRight="1.524    -1.524  -1.524"<br>
           UpperRight="1.524    0.381   -1.524"/><br>
 </Process><br>
</pvx><br>
<br>
I tried attaching an image for reference but my email didn't go through. I can see the two images (left eye, right eye) with an eye separation of 0.065, but for some reason, I see both the images with stereo glasses on in each eye. Any more ideas?<br>
<br>
Lance (CC'd) had an idea that maybe, we can do passive stereo rendering as well. Would you recommend that given our projectors here do support active stereo? I am still trying though to make it work with active stereo. Is there someway to define the viewpoints in the pvx file? Also, is there some kind of a schema for this pvx file published somewhere?<br>
<br>
Thanks for all your help!<br>
<br>
</div></div><div><div>On Fri, Mar 25, 2016 at 6:04 PM, Faiz Abidi <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>> wrote:<br>
Alright, I updated the pvx file some, just the correct coordinates.<br>
<br>
<?xml version="1.0" ?><br>
<pvx><br>
    <Process Type="client" /><br>
    <Process Type="server"><br>
    <!-- Tiled wall in Kitware --><br>
    <EyeSeparation Value="0.065"/><br>
    <Machine Name="CTL"<br>
           Environment="DISPLAY=:0.4"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="0"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524  -0.381  -1.524"<br>
           LowerRight="1.524    -0.381  -1.524"<br>
           UpperRight="1.524    1.524   -1.524"/><br>
    <Machine Name="CTR"<br>
           Environment="DISPLAY=:0.5"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -0.381  -1.524"<br>
           LowerRight="1.524    -0.381  -1.524"<br>
           UpperRight="1.524    1.524   -1.524"/><br>
    <Machine Name="CBL"<br>
           Environment="DISPLAY=:0.6"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -1.524  -1.524"<br>
           LowerRight="1.524    -1.524  -1.524"<br>
           UpperRight="1.524    0.381   -1.524"/><br>
    <Machine Name="CBR"<br>
           Environment="DISPLAY=:0.7"<br>
           Geometry="2560x1600+0+0"<br>
           FullScreen="1"<br>
           ShowBorders="0"<br>
           LowerLeft="-1.524    -1.524  -1.524"<br>
           LowerRight="1.524    -1.524  -1.524"<br>
           UpperRight="1.524    0.381   -1.524"/><br>
 </Process><br>
</pvx><br>
<br>
Attached is one image for reference. I can clearly the two images with an eye separation of 0.065, but for some reason, I see both the images with stereo glasses on. Any more ideas?<br>
<br>
Lance (CC'd) had an idea that maybe, we can do passive stereo rendering as well. Would you recommend that given our projectors here do support active stereo? I am still trying though to make it work with active stereo. Is there someway to define the viewpoints in the pvx file? Also, is there some kind of a schema for this pvx file published somewhere?<br>
<br>
Thanks for all your help!<br>
<br>
</div></div><span>On Fri, Mar 25, 2016 at 4:55 PM, Faiz Abidi <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>> wrote:<br>
I can see the error from both the client, and the server.<br>
<br>
Just tried RedBlue and I got a left eye but no right eye. When I changed the server's type to from Same as Client to CrystalEyes, I get the same errors in vtkOpenGLCamera.cxx.<br>
<br>
</span><span>On Fri, Mar 25, 2016 at 4:34 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a><mailto:<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>>> wrote:<br>
Is that error message from the client or server process?<br>
<br>
Also, try just RedBlue at first and verify that you get two perspectives. Then in the properties panel, change the server's type to from Same as Client to CrystalEyes.<br>
<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
</span>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><tel:<a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a>><br>
<span><br>
On Fri, Mar 25, 2016 at 4:27 PM, Faiz Abidi <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>> wrote:<br>
I do enable --stereo on the client side when connecting to the server, but when I give --stereo-type="Crystal Eyes", I get OpenGL errors in vtkOpenGLCamera.cxx. I don't get that when I don't specify the stereo type. I *think* that's because "Crystal Eyes" ain't supported by the projectors we have here (not sure).<br>
<br>
Yes, I checked the stereo type in the properties panel. It sets it to Anaglyph, and Server Stereo Type = Same as Client.<br>
<br>
</span><span>On Fri, Mar 25, 2016 at 4:07 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a><mailto:<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>>> wrote:<br>
<br>
Have you started the client that connects to the pvserver with --stereo and verified the stereo type for client and server jobs the view section of the properties panel?<br>
<br>
</span><div><div>On Mar 25, 2016 3:43 PM, "Faiz Abidi" <<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a><mailto:<a href="mailto:fabidi89@vt.edu" target="_blank">fabidi89@vt.edu</a>>> wrote:<br>
Hi guys,<br>
<br>
I have setup Paraview5 in a CAVE environment at Virginia Tech. I got mono to work but I am stuck with Stereo rendering.<br>
<br>
Below is my stereo cave.pvx file.<br>
<br>
<?xml version="1.0" ?><br>
<pvx><br>
    <Process Type="client" /><br>
    <Process Type="server"><br>
    <!-- Tiled wall in Kitware --><br>
    <EyeSeparation Value="0.065"/><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>
    <Machine Name="CBL"<br>
           Environment="DISPLAY=:0.6"<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="CBR"<br>
           Environment="DISPLAY=:0.7"<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>
 </Process><br>
</pvx><br>
<br>
The problem is that I don't see any distinction between the left, and the right eye. I would have attached images if it helps but that may make my email too big to be approved by the moderator.<br>
<br>
About the setup in the lab - we have 8 projectors driving this 4-sdied cave, 2 projectors for each wall. The projectors do active stereo, 2560x1600 resolution.<br>
<br>
We think the issue maybe with setting up the correct view frustum but not sure. Anybody seen this issue before?<br>
--<br>
</div></div>Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><tel:%2B1-540-998-6636><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><br>
<span><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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
<br>
<br>
<br>
--<br>
</span>Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><tel:%2B1-540-998-6636><br>
<br>
<br>
<br>
<br>
--<br>
Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><tel:%2B1-540-998-6636><br>
<br>
<br>
<br>
--<br>
Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><tel:%2B1-540-998-6636><br>
<br>
<br>
<br>
--<br>
Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><tel:%2B1-540-998-6636><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><br>
<span><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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
<br>
<br>
<br>
--<br>
| Aashish Chaudhary<br>
| Technical Leader<br>
| Kitware Inc.<br>
| <a href="http://www.kitware.com/company/team/chaudhary.html" rel="noreferrer" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a><br>
<br>
<br>
<br>
--<br>
</span>Faiz Abidi | Master's Student at Virginia Tech | <a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">www.faizabidi.com</a><<a href="http://www.faizabidi.com" rel="noreferrer" target="_blank">http://www.faizabidi.com</a>> | <a href="tel:%2B1-540-998-6636" value="+15409986636" target="_blank">+1-540-998-6636</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <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>
</div>
<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div>