The position of the nxogre terrain?

dreamer

13-06-2009 12:41:13

I'v created an ogre terrain:
SceneManager *mSceneMgr = mRoot->createSceneManager(ST_EXTERIOR_CLOSE, "Default SceneManager");
mSceneMgr->setWorldGeometry( "terrain.cfg" );

Then, I created a nxogre terrain:
NxOgre::ResourceSystem::getSingleton()->openArchive("pmodels", "file:C:/OgreSDK/media/physxmodels");
NxOgre::HeightField* hf = NxOgre::HeightFieldManager::getSingleton()->load("pmodels:test.xhf");
NxOgre::HeightFieldGeometry* hfg = new NxOgre::HeightFieldGeometry(hf, NxOgre::Real3(1500, 200, 1500));
hfg->setTerrainCentering(NxOgre::Enums::TerrainCentering_CenterAbove);
mScene->createSceneGeometry(hfg);

The result is nxogre's terrain is under the ogre's terrain. How can I set the nxogre terrain to fit the nxogre terrain?