|
![](/i/fill.gif) |
Christoph Hormann wrote:
> I don't really understand how this is supposed to work.
> Your particles seem to interact with the ground plane
> and the walls. How do you do that without using
> discrete time steps and linear movement between those
> steps?
By using several functions with different coefficients, where a particle
follow a new appropriate one every time it bounces. It is easy to check
if the x, y or z value of the position of a particle is below or above
certain values, so it is possible to simulate what appears to be
interaction with a non-rotated box. It would be possible with other
shapes too, but it would be way too advanced and inefficient.
I can't tell about it in details of course, but the technique is not a
new one, since the same basic technique is used in Chris Colefax' Liquid
Spray Include File from 1998, though that one only supports a single
ground plane instead of a box.
( http://www.geocities.com/SiliconValley/Lakes/1434/spray.html )
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com (updated Oct 19)
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |