Here's some pictures to clarify the problem:
http://koti.mbnet.fi/~walzu/terra1.jpg
http://koti.mbnet.fi/~walzu/terra2.jpg
http://koti.mbnet.fi/~walzu/terra3.jpg
And Here's the terrain initialization code:
Code: Select all
m_Terrain = GetScene()->addTerrainSceneNode(0, 0,
GetVideo()->createImageFromFile("media/texmap.bmp"),
GetVideo()->createImageFromFile("media/heightmap.bmp"),
0,
dimension2d< f32 >(10.0f, 10.0f), // stretchSize
250.0f,
dimension2d< s32 >(64, 64)); // defaultVertexBlockSize