kungfoomasta
07-11-2006 07:45:14
Can I only load maps that are listed in paginglandscape2.cfg?
I am getting an error when calling:
paginglandscape2.cfg:
Ogre.log:
The reason I am calling setWorldGeometry, is because my normal map loading code does not work, until after I have called this function.
Thanks in advance,
KungFooMasta
I am getting an error when calling:
mSceneManager->setWorldGeometry( Ogre::String("paginglandscape2.cfg") );
paginglandscape2.cfg:
DefaultMap=none
# resource group name where to find map definition
GroupName=PLSM2
# Try forbidden textureformat combinations
TextureFormatDebug=no
Ogre.log:
-----------------------------------
Details:
-----------------------------------
Error #: 4
Function: PagingLandScapeTextureManager::load
Description: TextureMode not supplied or wrong (check case) !.
File: ..\src\OgrePagingLandScapeTextureManager.cpp
Line: 343
Stack unwinding: <<beginning of stack>>
The reason I am calling setWorldGeometry, is because my normal map loading code does not work, until after I have called this function.
std::string anyMap = "TsmTerrain.cfg";
mSceneManager->setOption("CurrentMap",&anyMap);
mSceneManager->setOption("LoadMap",&anyMap);
Thanks in advance,
KungFooMasta