Thanks Uew, changes now merged and submitted to SVN.
On Tue, Sep 9, 2008 at 8:07 PM, Uwe Woessner <[EMAIL PROTECTED]> wrote:
> Hello Robert,
> I looked at the Anaglyphic stereo implementation in SceneView.cpp and think
> I spotted some copy-paste bugs.
>
> osg::ColorMask* leftColorMask = _renderStageLeft->getColorMask();
> if (!leftColorMask)
> {
> leftColorMask = new osg::ColorMask();
> _renderStageLeft->setColorMask(leftColorMask);
> ^^^^ here it said right, I think this should be Left.
> }
>
>
> // ensure that right eye color planes are active.
> osg::ColorMask* rightColorMask = _renderStageRight->getColorMask();
> ^^^^ similar here, I think this
> should be right
> if (!rightColorMask)
> {
> rightColorMask = new osg::ColorMask();
> _renderStageRight->setColorMask(rightColorMask);
> }
>
> and i further removed an unnecessary setColorMask.
>
> Attached is the new SceneView.cpp
>
> Regards,
> Uwe
>
>
> --
>
> \\\|/// *HLRS, High Performance Computing Center Stuttgart*
> _I_ ( o o ) *Visualization/VR* _I_
> ([EMAIL
> PROTECTED])--oo0O--(_)--O0oo------------------------------------------([EMAIL
> PROTECTED])
> | | Uwe Woessner [EMAIL PROTECTED] | |
> | | .ooo0 http://www.hlrs.de/people/woessner/ | |
> |_| ( ) Oooo. Phone: +49-711-6856-5790 or ...-5970 |_|
> ([EMAIL PROTECTED])-------\ (---(
> )-----------------------------------------([EMAIL PROTECTED])
> I \_) ) / I
> (_/
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org