So… my general idea is to basically:
- make random point cloud
- project points to ground surface
- assign each point to random layer number with script (Really FUN script request that might actually be useful for others)
- select objects each layer, and replace the points with a tree/plant/rock/etc. block possibly randomizing scale and rotation a bit.
So… to make this fly need help with the random point cloud… I haven’t searched forum on that yet and suspect there is a solution already. In dream-land could control density of points with a bitmap. Like black = no points and white = very dense. Any ideas on how to best achieve this. I don’t mind working at it a bit to come up with something useful.
prompt for block instance name of scenery item
for each point in points
get point location
do math to come up with randomization for Z rotation and scale variation (within limits)
InsertBlock instance at point location with scale and rotation values