keichi
24-08-2009 19:08:17
After compiling and splitting the canyon map i tried to use it. But the application actual crashes here after start:
OgrePagingLandScapeTextureManager.cpp:
I think one of the .cfg files is not correct but i don't find the error.
Filesystem:
resources.cfg:
paginglandscape2.cfg:
gcanyon_height_4k2k.cfg (removed most of the lines but same behavior with the original file from demo):
Thanks for every help.
OgrePagingLandScapeTextureManager.cpp:
PLSM2_ASSERT (!mTextureTypeMap.empty());
I think one of the .cfg files is not correct but i don't find the error.
Filesystem:
../
resources.cfg
paginglandscape2.cfg
maps/
gcanyon_height_4k2k.cfg
splatting_grass.png
splatting_rock.png
splatting_sand.png
splatting_snow.png
gcanyon_height_4k2k/
<height-map and texture files (splitted)>
resources.cfg:
[PLSM2]
FileSystem:=./maps
FileSystem:=./maps/gcanyon_height_4k2k
paginglandscape2.cfg:
DefaultMap=grand_canyon
grand_canyon=gcanyon_height_4k2k
# resource group name where to find map definition
GroupName=PLSM2
# Try forbidden textureformat combinations
TextureFormatDebug=no
gcanyon_height_4k2k.cfg (removed most of the lines but same behavior with the original file from demo):
GroupName=PLSM2
LandScapeFileName=gcanyon_height_4k2k
FileSystem=LandScapeFileName
Width=8
Height=4
Thanks for every help.