You don't need to change the line in vtkRenderWindow. Instead, change
the default value for the StereoType property on the RenderWIndow
proxy in Servers/ServerManager/Resoruces/rendering.xml to "1" as
follows:


 <IntVectorProperty name="StereoType"
        command="SetStereoType"
        number_of_elements="1"
        default_values="1">                     <-- ***** HERE's the
changed value ** -->
        <EnumerationDomain name="enum">
          <Entry value="1" text="Crystal Eyes" />
           ......
        </EnumerationDomain>
      </IntVectorProperty>

Utkarsh

On Mon, Jan 4, 2010 at 10:13 AM, Joelle Caro <[email protected]> wrote:
>
>
> Hi,
>
> I build ParaView from CVS tag 3.6.2-RC1 with crystal eyes stereo type on a 
> linux 64 workstation.
>
>
> I modify the line 50 in VTK/Rendering/vtkRenderWindow.cxx
>        this->StereoType = VTK_STEREO_CRYSTAL_EYES;
>
> But when I launch "paraview --stereo" the display in Paraview is  in red-blue 
> mode (the default mode)
>
>
> The crystal eyes stereo type works fine with 3.2.2 release.  Does somebody 
> encounter this problem with the new release? Do I need to specify something 
> else?
>
> Kind regards,
>
>
> Joëlle
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to