Subdividing a polygon into boxes of varying size

Posted by Michael Trouw on Game Development See other posts from Game Development or by Michael Trouw
Published on 2013-10-10T21:10:21Z Indexed on 2013/11/11 22:18 UTC
Read the original article Hit count: 382

Filed under:
|
|
|

I would like to be pointed to information / resources for creating algorithms like the one illustrated on this blog, which is a subdivision of a polygon (in my case a voronoi cell) into several boxes of varying size:

http://procworld.blogspot.nl/2011/07/city-lots.html

In the comments a paper by among others the author of the blog can be found, however the only formula listed is about candidate location suitability:

http://www.groenewegen.de/delft/thesis-final/ProceduralCityLayoutGeneration-Preprint.pdf

Any language will do, but if examples can be given Javascript is preferred (as it is the language i am currently working with)

A similar question is this one: What is an efficient packing algorithm for packing rectangles into a polygon?

© Game Development or respective owner

Related posts about 2d

Related posts about polygon