|
|
Here in San Francisco, even the tallest buildings rarely take up a whole
city block. One way to make this less regular would be: start with each
block as one LOT, and then
for each LOT
if (size of LOT > minimum) and (random() < PDIV)
randomly choose a point P within the LOT
find the line L along which P is nearest to a boundary
divide the LOT into two LOTs along L; recurse
else
build
Whatever your function is for building height, the shortest dimension of
the LOT should be another factor.
--
Anton Sherwood, http://www.ogre.nu/
"How'd ya like to climb this high *without* no mountain?" --Porky Pine
Post a reply to this message
|
|