POV-Ray : Newsgroups : povray.binaries.animations : Flow particles, flow ! (247kbu) : Re: Flow particles, flow ! (247kbu) Server Time
20 Jul 2024 15:23:13 EDT (-0400)
  Re: Flow particles, flow ! (247kbu)  
From: Rune
Date: 5 Mar 2001 18:13:25
Message: <3aa41d95@news.povray.org>
"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

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