Blitz terrain

Blitz3D Forums/Blitz3D Programming/Blitz terrain

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The quick answer is you can't.

For a 32x32 terrain you actually need a 33x33 heightmap, however blitz doesn't support this. The usual solution is to make everything an island (0 heights round the edges) so it wraps, or indeed make sure the terrain wraps perfectly itself.