Content deleted Content added
Described how to get three of the most used instances of simulation noise |
Vector identities better explained |
||
Line 10:
== Curl Noise ==
The vector field
The partial derivatives are used to calculate '''F''' as the curl of '''G''' given by
Line 17:
== Bitangent Noise ==
This method is based in the fact that the curl of the gradient of scalar field is zero and the identity that expand the divergence of a cross product of two vectors '''A''' and '''B''' as the difference of the dot products of each vector with the curl of the other:
<math>\nabla \times ( \nabla \varphi ) = \mathbf{0}.</math>
Line 25:
\,-\, \mathbf{A} \cdot (\nabla {\times} \mathbf{B})</math>
which means that if the
The vector field es created as follows, two scalar fields are calculated <math>\phi</math> and <math>\psi</math> using 3D perlin or simplex noise functions, then the gradients '''A''' and '''B''' of each of this fields is calculated, the cross product of '''A''' and '''B''' gives a divergence free vector field.
|