Page 1 of 1

theory request for random forest

Posted: Mon Jan 03, 2011 10:51 pm
by Seven
assuming that i have a world (1000 x 1000 for argument), how would i go about populating said world with trees in such a manner that it isnt a grid and yet the trees are some normal distance from each other. Not sure i am making sense.... but basically a random forest generator that sets trees not on a grid but much more random....

i would generate these coords, then compare to the terrain height below for the 'Y' coord and them randomly scale the trees.

so far i am setting them all by hand inside the editor, which works ok but it seems that i am missing a method but dont know what to call it.

Posted: Mon Jan 03, 2011 11:09 pm
by macron12388
I am currently working on a random world generator, I won't go much into detail but it generates based on biomes,

+Cities
urban
industrial
business
suburban
rural

Look into the Poisson Disc algorithm.

Posted: Mon Jan 03, 2011 11:13 pm
by Seven
yes, exactly what i was looking for. thanks for the info.

Posted: Mon Jan 03, 2011 11:31 pm
by macron12388
No problem :) if you have any more questions regarding randomly generated environments/props just ask, like I said I too am working on a large project that has yet to be announced which involves this stuff.