[osg-users] osgEarth Sky enable

2014-10-22 Thread Carlos Sanches
Hello ! How do I have to setup the SkyNode by code? 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() );

Re: [osg-users] osgEarth Sky enable

2014-10-22 Thread Jason Beverage
Hi Carlos, You also need to add the mapNode to the SkyNode as a child. Try: s_sky-addChild( mapNode ); Jason On Wed, Oct 22, 2014 at 9:24 AM, Carlos Sanches ces...@gmail.com wrote: Hello ! How do I have to setup the SkyNode by code? In the past I sed this: // SKY const Config