Hi Robert, yes, I know that, but thanks. I was looking for some setDefaults or something similar. I can not clearly recall the change you made in the later osg to explicitly set some defaults so I was shooting in the fog hoping someone will remember it better.
Thanks again Nick On Mon, Jan 12, 2015 at 10:04 AM, Robert Osfield <[email protected]> wrote: > 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 < > [email protected]> 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 >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

