jirvan
21-03-2006 05:30:01
I setup and ran a map of my own based off the gcanyon cfg files from the samples. When I made my new heightmap i built it 4096x4096 and changed the width height to 8 and 8 instead of 8 and 4. All went well.
Then I read that making the pagesize and tilesize larger may help performance. So I increased Pagesize to 1025, tilesize to 129, and set width / height to 4 and 4. (Modified config files below). I deleted the split maps and re ran mapsplitter. Everything split with no problems. When i run the demo I get this error now.
"declared worldsize <> height map size"
This is on 1.2 source release and PLSM2 src from Tuan's site DL'ed yesterday.
running W2k and VC8
<update>
ran the debugger and pagesize is still set at default (513) when
OgrePagingLandScapeData2D.cpp(line 80) - PagingLandScapeData2D::load is called on page 1,1.
Will check into it more tomorrow. Im tired and may have typod somewhere. Will rebuild everything fresh as well.
Thanks
------testmap1_4k4k.cfg-------
GroupName=PLSM2
LandScapeFileName=testmap1_4k4k_hm
TextureStretchFactor=2
OutDirectory=E:/Dev/Ogre1.2/ogrenew/media/paginglandscape2/terrains/LandScapeFileName
PageSize=1025
TileSize=129
ColorMapName=testmap1_4k4k_tx.png
ColorMapSplit=yes
HeightMap=yes
MiniMap=yes
MiniMapWidth=256
MiniMapHeight=256
---------testmap1_4k4k.gen.cfg----------
GroupName=PLSM2
LandScapeFileName=testmap1_4k4k_hm
FileSystem=E:/Dev/Ogre1.2/ogrenew/media/paginglandscape2/terrains/LandScapeFileName
Width=4
Height=4
ScaleX=90000
ScaleY=30000
ScaleZ=90000
Deformable=yes
VertexCompression=yes
VertexProgramMorph=yes
MaxPixelError=8
-- cut short (no changes)---
Then I read that making the pagesize and tilesize larger may help performance. So I increased Pagesize to 1025, tilesize to 129, and set width / height to 4 and 4. (Modified config files below). I deleted the split maps and re ran mapsplitter. Everything split with no problems. When i run the demo I get this error now.
"declared worldsize <> height map size"
This is on 1.2 source release and PLSM2 src from Tuan's site DL'ed yesterday.
running W2k and VC8
<update>
ran the debugger and pagesize is still set at default (513) when
OgrePagingLandScapeData2D.cpp(line 80) - PagingLandScapeData2D::load is called on page 1,1.
Will check into it more tomorrow. Im tired and may have typod somewhere. Will rebuild everything fresh as well.
Thanks
------testmap1_4k4k.cfg-------
GroupName=PLSM2
LandScapeFileName=testmap1_4k4k_hm
TextureStretchFactor=2
OutDirectory=E:/Dev/Ogre1.2/ogrenew/media/paginglandscape2/terrains/LandScapeFileName
PageSize=1025
TileSize=129
ColorMapName=testmap1_4k4k_tx.png
ColorMapSplit=yes
HeightMap=yes
MiniMap=yes
MiniMapWidth=256
MiniMapHeight=256
---------testmap1_4k4k.gen.cfg----------
GroupName=PLSM2
LandScapeFileName=testmap1_4k4k_hm
FileSystem=E:/Dev/Ogre1.2/ogrenew/media/paginglandscape2/terrains/LandScapeFileName
Width=4
Height=4
ScaleX=90000
ScaleY=30000
ScaleZ=90000
Deformable=yes
VertexCompression=yes
VertexProgramMorph=yes
MaxPixelError=8
-- cut short (no changes)---