mardi 22 janvier 2013

The Highways

Here is some news of the road network generation with the implementation of a new pattern : the Highways.

This pattern is quite specific because you can't grow a highway randomly like the other roads, considering only the population density. So I've updated my population density management with an interpolated randomly generated map. It works exactly like a basic landscape generator.

When the population is in place, the engine "casts" a highway in direction of the future city, but when the highway touches high population area, it choose between passing through, or turning around. Algorithms are still to be enhanced but the result is interesting.






Aucun commentaire:

Enregistrer un commentaire