|
![](/i/fill.gif) |
In article <web.3d852586d26a61b2d02c7b870@news.povray.org>,
"Rohan Bernett" <rox### [at] yahoo com> wrote:
> So how would I create a means for simulating the neccessary system? What I
> think I'd need would be a way to specify an initial position and velocity
> and a force of gravity. Then a way of specifying how much the object
> bounces when it hits the ground, and how many bounces it takes before it
> stops. A rock from a meteorite impact, for example, would go up with a very
> large velocity, but bounce to only, say, 1 metre on the first bounce, then
> a couple of centimetres on the second, then stop.
Try just using a scale factor for the percentage of kinetic energy the
ball keeps after bouncing. A superball (high-bounce synthetic rubber
ball) would be around 0.9, a rock more like 0.05. Take both the object
and the surface it hits into account (maybe the average of both
"elasticity" values). If you want a "stop" point, consider it stopped
when the speed (length of the velocity vector) drops below a certain
threshold.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |