wraparound terrains

Blitz3D Forums/Blitz3D Programming/wraparound terrains

I am trying to create a wrap-around terrain. I have my main terrain which has been scaled by 256x256 in the x/z dimensions.

then I CopyEntity 8 times to place copies around the main terrain in a 3x3 grid.

Is there a default scale for the initial terrain, because I need to know where to place the other terrains to align with the original.

If the original is at 0,0, the X=0, Z=0 corner is at 0,0 so the other terrains should be placed at...

-256+XX,-(256+XX)
0,-(256+XX)
256+XX,-(256+XX)

-256+XX,0
256+XX,0

-256+XX,256+XX
0,256+XX
256+XX,256+XX

The value I am after is XX

(hope you can understand this!)


The other terrains dont show up :(((