CodeKrash
24-12-2010 06:26:44
Hello. I'm trying to set a skybox or dome, or plane, during runtime, after SceneCreating, but I always end up with no change after doing the error free call. I did tinker with FarClipDistance during runtime as well, but there was still no change in background appearance (black I assume is the ambient color)
So far I've been successful in loading textures and meshes during runtime, and It's my intention to remove all dependencies on the default "scripting system" when Ogre loads. If I have to give up on setting the sky during runtime, I might cry.
OgreWindow.Instance.mSceneMgr.SetSkyDome(true, "clouds", 5, 8);
Plane plane;
plane.d = 1000;
plane.normal = Mogre.Vector3.NEGATIVE_UNIT_Y;
OgreWindow.Instance.mSceneMgr.SetSkyPlane(true, plane, "clouds", 1500, 75);
So far I've been successful in loading textures and meshes during runtime, and It's my intention to remove all dependencies on the default "scripting system" when Ogre loads. If I have to give up on setting the sky during runtime, I might cry.
