[Paraview] Mono and Stereo Rendering in the CAVE

David E DeMarle dave.demarle at kitware.com
Mon Mar 28 13:09:05 EDT 2016


Cool that's easy enough to try.

@Faiz edit your pvx like so:
<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"/>
becomes
<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" #NOTE the change here to make it match
CTL
           LowerRight="1   -1  -1"
           UpperRight="1   1   -1"/>

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.





David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Mar 28, 2016 at 12:54 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

>
>
> On Mon, Mar 28, 2016 at 12:10 PM, David E DeMarle <
> dave.demarle at kitware.com> wrote:
>
>> Agree with Aashish on getting glxgears stereo as a prerequisite.
>>
>> 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.
>>
>> @Aashish - Faiz would need to hack ParaView right ? Or is there some
>> hidden configuration setting I've not seen before?
>>
>
> 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.
>
> Thanks
>
>
>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160328/3b6e6b87/attachment.html>


More information about the ParaView mailing list