In the past I sed this:
// SKY
const Config& externals = mapNode->externalConfig();
Config skyConf = externals.child( "sky" );
double hours = skyConf.value( "hours", 3.0 );
s_sky = new SkyNode( mapNode->getMap() );
s_sky->setDateTime( 2011, 3, 6, hours );
s_sky->attach( &viewer );
root->addChild( s_sky );
But now is not working . What do I m doing wrong please?
On Tue, Oct 21, 2014 at 9:53 AM, Carlos Sanches <[email protected]> wrote:
> Hello !
> How do I have to setup the SkyNode by code?
>
> Thanks
>
> --
>
>
--
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org