Nomad
10-12-2010 22:12:46
This is my first time using Caelum. I'm loading DefaultSky from TestSkyScript.os that came with the demo source, the only change being that I increased the time scale. The problem is that while the clouds update per frame, the sun only seems to update about four times per 'day', and it always seems to be at roughly the same points.
Here's how I init Caelum:
Here's how I init Caelum:
caelum = new Caelum::CaelumSystem(root, sceneMgr, Caelum::CaelumSystem::CAELUM_COMPONENTS_ALL);
Caelum::CaelumPlugin::getSingleton().loadCaelumSystemFromScript(caelum, "DefaultSky", "General");
caelum->setGlobalFogDensityMultiplier(0);
caelum->getCloudSystem()->getLayer(0)->setHeight(200);
window->addListener(caelum);
root->addFrameListener(caelum);