|
|
In article <slr### [at] fwicom>, ron### [at] povrayorg
wrote:
> If we're gonna add functions, might as well make one that does the whole
> apprxomated-collision-detection operation, especially if loops are that
> slow.
Agreed...a collision detection algorithm that works this way written
entirely in POV-Script would likely be almost unbearably slow.
In article <3A9### [at] gmxde>, Christoph Hormann
<chr### [at] gmxde> wrote:
> It yould be useful, but what's really needed in most cases is a function
> returning where an object collides with another one if it is moved in a
> certain way. This would mean something like 'trace' with an additional
> object parameter.
One little problem...how do you define "where an object collides with
another one"? This will most likely not be a point.
Or do you mean a function that checks if objects *will* collide and
returns the first point of contact? You might as well just implement a
general kinetics system in POV. I've considered something like this, a
system that would handle solid objects, cloths and strings, and fluid
particles, all interacting with each other, but it would be a lot of
work. It'd make some fun animations, though. :-)
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|