Unhandled exception!

Buckcherry

15-06-2008 16:58:35

I am having an unhandled exception qhen I run my program. The debugger reports gives the exception at:


return data->getHeight (lX, lZ);

From the ogrepaginglandscapedata2dmanager.cpp (line 1696).

It seems to be a problem with my cfg file:

GroupName=PLSM2

LandScapeFileName=test
FileSystem=LandScapeFileName

Width=1
Height=1


Data2DFormat=HeightField

ScaleX=9000
ScaleY=9000
ScaleZ=9000


NumTextureFormatSupported=17

TextureFormatSupported0=Base
TextureFormatSupported1=Base2
TextureFormatSupported2=InstantBase
TextureFormatSupported3=Splatting
TextureFormatSupported4=Splatting2
TextureFormatSupported5=Splatting4
TextureFormatSupported6=Splatting6
TextureFormatSupported7=Splatting7
TextureFormatSupported8=Base
TextureFormatSupported9=Base2
TextureFormatSupported10=InstantBase
TextureFormatSupported11=Splatting3
TextureFormatSupported12=Splatting5
TextureFormatSupported13=SplattingShader

TextureFormat=Splatting
TextureStretchFactor=2
VertexNormals=no
Deformable=yes
TextureModifiable=yes


NumMatHeightSplat=4

Height1=15
Height2=50

SplatFilename0=splatting_sand.png
SplatFilename1=splatting_grass.png
SplatFilename2=splatting_rock.png
SplatFilename3=splatting_snow.png

VisibleRenderables=256
MaxRenderLevel=5

# where to put camera on load.
BaseCameraViewpoint.x=935.0f
BaseCameraViewpoint.y=24000.0f
BaseCameraViewpoint.z=-432.0f

Baselookat.x=0.0f
Baselookat.y=0.0f
Baselookat.z=0.0f


Any idea, please?