> Flowers randomly placed upon a height_field using trace(). Still needs
> tweaking, as the flowers are running into each other.
>
>
> ------------------------------------------------------------------------
>
I suggest 3 options for your colliding flowers:
- change the random seed.
- slightly increase the spacing of the flowers. Just miltiply the
horizontal locations by 1.03-1.05 before tracing.
- add an exclusion cylinder centered around each flower, binded in an
union. The cylinders radius will dictate the minimum distance between
two flowers. You perform an insideness test on that union before you
place a new flower.
Alain
Post a reply to this message
|