|
|
In the section, "Finite Solid Primitives > Blob" (section 3.4.1.1 in the version
3.6 docs), a formula is given for calculating blobs:
density = strength * (1 - (distance / radius)^2)^2
This is only partially correct. While it is true that the density falls off as
it approaches a distance equal to the radius, the problem with the formula is
that the density *increases* as you proceed further from the radius. In order
to fix this, the following formula should be used instead:
density = strength * (1 - (min(distance, radius) / radius)^2)^2
-Mike
Post a reply to this message
|
|