- Joined
- Aug 21, 2005
- Messages
- 3,699
Ok, but you said doodads are a solution to 2, so it seems to be natural to think doodads are a solution to 3 as well.
GetLocationZ could be replaced in a random terrain generator to make sure there are no desyncs. For example:
On a 128*128 map, make a 129*129 2D real array. When a terrain deformation occurs, calculate the deformed heights on the grid manually. To calculate the height of a *random* point, do a linear interpolation of the 3 nearest grid points...
GetLocationZ could be replaced in a random terrain generator to make sure there are no desyncs. For example:
On a 128*128 map, make a 129*129 2D real array. When a terrain deformation occurs, calculate the deformed heights on the grid manually. To calculate the height of a *random* point, do a linear interpolation of the 3 nearest grid points...