Landscaping Problems

Blitz3D Forums/Blitz3D Programming/Landscaping Problems

Basic blur:

Create another array the same size.

Add up the 8 squares around the point you're looking at and the one you're looking at and divide by 9, then apply this number to your new array.

To blur more go for a 5x5 grid and divide by 25 etc etc.

You can't apply this to the array you're working on as it will screw the answers for subsequent averages.