Hi,

using two sided lighting in OpenSG 1.x was quiet easy  by using

OSG::RenderAction *ract = (OSG::RenderAction *) _mgr->getAction();
ract->setCorrectTwoSidedLighting(true);

In OpenSG2 there is no more method called setCorrectTwoSidedLighting(). 
Searching throughout the Doxy docu I found the OSG::RenderPartition 
class containing "bool     _bCorrectTwoSidedLighting" as a protected 
attribute. But the class itself nor any friend class have an appropriate 
setter... so what is the method today to set this option in OpenSG2?

Kind regards,
Christoph

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to