|
|
I've been told, again and again, that there is no generic collision detection in
povray. While I suppose that's true (you can't really tell if one object is
intersecting another) there's still the [trace] function, and the [inside] and
[outside] functions.
Supposing that a tree generation macro took in a location, the age of the tree,
and an array of elements to test against, how hard would it be to grow a tree in
a given location, accounting for interference from the listed elements?
If interference is deemed likely, or imminent, the limb in question (treated as
a vector) could be pruned or deflected. (this would likely be the difficult
part)
A.D.B.
Post a reply to this message
|
|