I follow the basic tutorial 3 about creating terrain but i have a problem within initBlendMap() function.
I see that by default my BlendMapLayer size is about 16880 !!! it's too big !!!
I tired to resize him with mTerrainGlobals->setLayerBlendMapSize(512.0); it did'nt change anything, my blend map stay about 16880, I don't know why.
My programm crash when I use it in two loop for
Code: Select all
for (Ogre::uint16 x = 0; x < blendmapsize; x++){
for (Ogre::uint16 y = 0; y < blendmapsize; y++){
}
}
Any idea ?
thx
++