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 );
You might do better to ask this on the osgEarth forum:
http://forum.osgearth.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hello !
How do I have to setup the SkyNode by code?
Thanks
--
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
3 matches
Mail list logo