mbforbes / mapgen

Procedural map generation with GANs.
https://maxwellforbes.com/posts/procedural-map-generation-with-gans
13 stars 0 forks source link

Extract blocks #5

Closed mbforbes closed 6 years ago

mbforbes commented 6 years ago

This should be deterministic.

From Interactive Urban Synthesis (Koenig et al., 2017):

For the extraction of the blocks, street networks are converted into their dual directed graphs. In this graph representation, edge rings are searched and labeled for transformation into their geometric representation as polygons.

mbforbes commented 6 years ago

HAHAHA wow this was hard and shouldn't have been. Finished though.