|
![](/i/fill.gif) |
"Chris Huff" wrote:
> Do you adjust the direction of the particle so it goes
> parallel with the surface instead of hitting it again and
> bouncing?
Yes, when a particle hits a surface with a velocity vector length below a
certain threshold, the velocity direction is set parallel to the surface and
vdot is used to adjust the velocity vector length according to the incoming
angle. It is very simple really.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
![](/i/fill.gif) |