[Bug?] PLSM crashes on large terrains

Dale_ee

31-07-2008 12:40:16

Hi,
I'm trying to get PLSM2 working on pretty large terrain - 64x64 pages. After about half a minute om smooth going it crashes on


PLSM2_ASSERT (mPageNode);
mPageNode->removeAndDestroyAllChildren ();


at OgrePagingLandScapePage.cpp:203

My terrain config is:


GroupName=PLSM2

LandScapeFileName=isles_map_4k
FileSystem=LandScapeFileName

Width=64
Height=64

ScaleX=1000
ScaleY=1500
ScaleZ=1000

PageSize=65

VertexCompression=yes
VertexProgramMorph=yes
MaxPixelError=0

TextureStretchFactor=1

NumTextureFormatSupported=1

TextureFormatSupported0=TerrainSplatting
TextureFormat=TerrainSplatting

VisibleRenderables=256

MaxAdjacentPages=1
MaxPreloadedPages=4
MaxNumRenderables=512
MaxNumTiles=512

NumRenderablesLoading=1
PageLoadInterval=10
RenderableLoadInterval=10

IncrementRenderables=32
IncrementTiles=32

HorizonVisibilityComputing=no


Maybe anyone encountered this problem already?

Only heightmap is used(no coverage etc) if that's relevant.