POV-Ray : Newsgroups : povray.general : Calculating patricle field density : Re: Calculating patricle field density Server Time
11 Aug 2024 11:16:07 EDT (-0400)
  Re: Calculating patricle field density  
From: Chris Huff
Date: 29 Jul 1999 23:27:54
Message: <37A11BC9.FE29C5F2@compuserve.com>
Calculate the distance from each particle, and use an equation like
1/distance^2(depending on what you want) for each particle, and add the
amount of contribution from each particle(not average). Getting the
distance and calculating is sometimes not much slower than skipping
particles beyond a certain distance, although that may help.


Post a reply to this message

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