POV-Ray : Newsgroups : povray.binaries.animations : PartixGen - Inertia (MPG 278kb) : Re: PartixGen - Inertia (MPG 278kb) Server Time
19 Jul 2024 13:34:21 EDT (-0400)
  Re: PartixGen - Inertia (MPG 278kb)  
From: Rune
Date: 29 Oct 2002 10:33:23
Message: <3dbeaa43@news.povray.org>
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

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