[Paraview] Mono and Stereo Rendering in the CAVE

Faiz Abidi fabidi89 at vt.edu
Fri Mar 25 18:04:18 EDT 2016


Alright, I updated the pvx file some, just the correct coordinates.

<?xml version="1.0" ?>
<pvx>
    <Process Type="client" />
    <Process Type="server">
    <!-- Tiled wall in Kitware -->
    <EyeSeparation Value="0.065"/>
    <Machine Name="CTL"
           Environment="DISPLAY=:0.4"
           Geometry="2560x1600+0+0"
           FullScreen="0"
           ShowBorders="0"
           LowerLeft="-1.524  -0.381  -1.524"
           LowerRight="1.524    -0.381  -1.524"
           UpperRight="1.524    1.524   -1.524"/>
    <Machine Name="CTR"
           Environment="DISPLAY=:0.5"
           Geometry="2560x1600+0+0"
           FullScreen="1"
           ShowBorders="0"
           LowerLeft="-1.524    -0.381  -1.524"
           LowerRight="1.524    -0.381  -1.524"
           UpperRight="1.524    1.524   -1.524"/>
    <Machine Name="CBL"
           Environment="DISPLAY=:0.6"
           Geometry="2560x1600+0+0"
           FullScreen="1"
           ShowBorders="0"
           LowerLeft="-1.524    -1.524  -1.524"
           LowerRight="1.524    -1.524  -1.524"
           UpperRight="1.524    0.381   -1.524"/>
    <Machine Name="CBR"
           Environment="DISPLAY=:0.7"
           Geometry="2560x1600+0+0"
           FullScreen="1"
           ShowBorders="0"
           LowerLeft="-1.524    -1.524  -1.524"
           LowerRight="1.524    -1.524  -1.524"
           UpperRight="1.524    0.381   -1.524"/>
 </Process>
</pvx>

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?

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?

Thanks for all your help!

On Fri, Mar 25, 2016 at 4:55 PM, Faiz Abidi <fabidi89 at vt.edu> wrote:

> I can see the error from both the client, and the server.
>
> 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.
>
> On Fri, Mar 25, 2016 at 4:34 PM, David E DeMarle <dave.demarle at kitware.com
> > wrote:
>
>> Is that error message from the client or server process?
>>
>> 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.
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>> On Fri, Mar 25, 2016 at 4:27 PM, Faiz Abidi <fabidi89 at vt.edu> wrote:
>>
>>> 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).
>>>
>>> Yes, I checked the stereo type in the properties panel. It sets it to
>>> Anaglyph, and Server Stereo Type = Same as Client.
>>>
>>> On Fri, Mar 25, 2016 at 4:07 PM, David E DeMarle <
>>> dave.demarle at kitware.com> wrote:
>>>
>>>> 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?
>>>> On Mar 25, 2016 3:43 PM, "Faiz Abidi" <fabidi89 at vt.edu> wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> I have setup Paraview5 in a CAVE environment at Virginia Tech. I got
>>>>> mono to work but I am stuck with Stereo rendering.
>>>>>
>>>>> Below is my stereo cave.pvx file.
>>>>>
>>>>> <?xml version="1.0" ?>
>>>>> <pvx>
>>>>>     <Process Type="client" />
>>>>>     <Process Type="server">
>>>>>     <!-- Tiled wall in Kitware -->
>>>>>     <EyeSeparation Value="0.065"/>
>>>>>     <Machine Name="CTL"
>>>>>            Environment="DISPLAY=:0.4"
>>>>>            Geometry="2560x1600+0+0"
>>>>>            FullScreen="1"
>>>>>            ShowBorders="0"
>>>>>            LowerLeft="-1  -1  -1"
>>>>>            LowerRight="1    -1  -1"
>>>>>            UpperRight="1    1   -1"/>
>>>>>     <Machine Name="CTR"
>>>>>            Environment="DISPLAY=:0.5"
>>>>>            Geometry="2560x1600+0+0"
>>>>>            FullScreen="1"
>>>>>            ShowBorders="0"
>>>>>            LowerLeft="-1    -1  1"
>>>>>            LowerRight="1   -1  -1"
>>>>>            UpperRight="1   1   -1"/>
>>>>>     <Machine Name="CBL"
>>>>>            Environment="DISPLAY=:0.6"
>>>>>            Geometry="2560x1600+0+0"
>>>>>            FullScreen="1"
>>>>>            ShowBorders="0"
>>>>>            LowerLeft="-1  -1  -1"
>>>>>            LowerRight="1    -1  -1"
>>>>>            UpperRight="1    1   -1"/>
>>>>>     <Machine Name="CBR"
>>>>>            Environment="DISPLAY=:0.7"
>>>>>            Geometry="2560x1600+0+0"
>>>>>            FullScreen="1"
>>>>>            ShowBorders="0"
>>>>>            LowerLeft="-1  -1  -1"
>>>>>            LowerRight="1    -1  -1"
>>>>>            UpperRight="1    1   -1"/>
>>>>>  </Process>
>>>>> </pvx>
>>>>>
>>>>> 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.
>>>>>
>>>>> 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.
>>>>>
>>>>> We think the issue maybe with setting up the correct view frustum but
>>>>> not sure. Anybody seen this issue before?
>>>>> --
>>>>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
>>>>> +1-540-998-6636
>>>>>
>>>>> _______________________________________________
>>>>> 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 ParaView Wiki at:
>>>>> http://paraview.org/Wiki/ParaView
>>>>>
>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
>>> +1-540-998-6636
>>>
>>
>>
>
>
> --
> Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
> +1-540-998-6636
>



-- 
Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com |
+1-540-998-6636
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160325/34647b64/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_4545.JPG
Type: image/jpeg
Size: 562036 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160325/34647b64/attachment-0001.jpe>


More information about the ParaView mailing list