POV-Ray : Newsgroups : povray.advanced-users : collision detection : Re: collision detection Server Time
30 Jul 2024 00:22:57 EDT (-0400)
  Re: collision detection  
From: Christoph Hormann
Date: 22 Feb 2001 16:10:13
Message: <3A958033.F2690729@gmx.de>
Chris Huff wrote:
> 
> 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. :-)
> 

I meant the first contact, what happes afterwards is also influenced by
the mass distribution in the object and therefore quite tricky (one could
use a povray pattern for defining an inhomogeneous distribution of course,
would involve some very time consuming integration ...)

BTW, what happens after the second contact is easier again, you only have
to know the center of mass for that (as long as you don't need the
accurate description of movement for an animation).  

The rest of the things you suggested sounds really complicated, most known
techniques for modelling those things would require tesselation of the
objects BTW.  It would sound quite reasonable to me to restrict things to
movement of solid bodies without elasticity.  

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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