[Ogre 1.7] Load a terrain "ex: terrain.cfg"

Assouan

14-04-2010 13:07:23

Hello all

During the execution of my program, at this line :
std::string terrain_cfg("terrain.cfg"); app->getSceneManager()->setWorldGeometry(terrain_cfg);

This program stop, and I have this message in the logs Ogre :
Ogre TerrainSceneManager: Activated PageSource Heightmap

My SceneManager is good :/
mSceneManager = mRoot->createSceneManager(Ogre::ST_EXTERIOR_CLOSE);

It is MyGui force for use default SceneManager ? I have search, but not find for my error :(

For download my project (Visual Studio using Ogre+MyGui) for view source : Download Here