knightoflight wrote:is it right, i understood in the code, its possible to change the terrain while using ?
Yae, you can add height data while using the terrain
![Cool 8)](./images/smilies/icon_cool.gif)
.
just add height data like this
Code: Select all
quadtree->addHeightData(Data,1000,2000,64,64,64,0,1,4);
this will add the height values in a64x64 array to the terrain at position
(1000,2000) the data will occupie an area of 64x2^4 meters.
but erasing is not implemented, you could overwrite the data with some neutral values though
another drawback is that you can't define yet a texture for the new inserted terrain regions... would be nice to have that too
cheers
G