Hi,

OK Wojciech, thanks for the clarification.

Cheers,

On Wed, Nov 3, 2010 at 11:38 PM, Wojciech Lewandowski <[email protected]
> wrote:

>   Hi Guys,
>
> Its discussable, but IMHO its better as it is now. We should not extend
> traversal masks during traversal, OSG is not prepared for such case, we may
> only narrow them. If you want to get into the CastShadowTraversalMask
> subtree make sure ShadowedScene parent View/Slave camera visitor has these
> mask bits set.
> Similar topic was discussed before with ShadowMap. Using operator & in
> expression is direct derivative from osgShadow::ShadowMap implementation.
> See line 466 of osgShadow/ShadowMap.cpp
>
> Cheers,
> Wojtek Lewandowski
>
>  *From:* Serge Lages <[email protected]>
> *Sent:* Wednesday, November 03, 2010 12:07 PM
> *To:* OpenSceneGraph Submissions<[email protected]>
> *Subject:* [osg-submissions] StandardsShadowMap traversal mask fix
>
> Hi Robert,
>
> Here is a fix to properly apply the CastShadowTraversalMask on the
> StandardsShadowMap technique. Currently it uses a "&" operator to create the
> mask, so it doesn't really take into account the mask we have set, I think
> it's a typo and a "|" operator is required.
>
> Cheers,
>
> PS : please credits Bruno Ronzani and not me for this fix, thanks.
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
> ------------------------------
> _______________________________________________
> 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
>
>


-- 
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to