Random Terrain generation script, simplified. (With video tutorial and Blend)

(Lostscience) #21

I think it would better if grass was dynamically loaded around the player.


(BluePrintRandom) #22

Each vertex can call the kdtree 1 time, and instead lf comparing millions of points in python, it does it using compiled code AND its a fast spacial search algorithm, so yes I used it here, and anywhere else I need to sort through a million or so vertex.

I suppose I could use a array, and as each vertex is added, put each vertex into the correct array position.