POV-Ray : Newsgroups : povray.advanced-users : collision detection : Re: collision detection Server Time
30 Jul 2024 00:17:06 EDT (-0400)
  Re: collision detection  
From: Chris Huff
Date: 22 Feb 2001 15:42:33
Message: <chrishuff-4226B4.15413822022001@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.