Hi Nick,

osg::Camera is just an Node so to set the state that you want to get
inherited to everything below it you simple do:

  osg::StateSet* ss = camera->getOrCreateStateSet();
  ss->set*();

Robert.

On 11 January 2015 at 20:48, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:

> Hi Community,
>
> I remember there was a change in the later OSG for calling explicitlly the
> setting of some defaults for the Camera (not sure though) stateset?? or
> something like that?
>
> If you know what I mean can you point me to the right thing? I tried to
> find it in the archive with no luck
>
> Thanks a bunch as always
>
> Nick
>
> --
> trajce nikolov nick
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to