OK, this is code of a exemple:
sync on
sync rate 30
set display mode 1280,1024,32
make object terrain 1
set terrain heightmap 1,"1.bmp"
set terrain scale 1,1,0.1,1
set terrain tiling 1,1
set terrain split 1,1
set terrain light 1,-1.0,-0.5,-1.0,0.5,0.5,0.5,0.5
build terrain 1
clone object 2,1
delete object 1
clone object 1,2
delete object 2
convert object fvf 1, 0x002 || 0x010
lock vertexdata for limb 1,0
v=get vertexdata vertex count()
for x=0 to v-1
set vertexdata normals x,0.0,0.1,0.0
next x
unlock vertexdata
do
position camera 100,100,100
point camera 0,0,0
sync
loop
OK, thank you!
I make clones of this terrain for test, but the object inherits informations.
My project is Phenadlax!!!