Analytical derivitives for SuperSimplex noise #260
-
Does anyone know how to compute the analytic derivative of SuperSimplex noise? The algorithm is so poorly documented I couldn’t find any information anywhere. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
The derivatives for only one contribution (so you can just add them together after accounting for the different x and y positions, as in the eval_D2C1 and eval_D3C1 functions) are: |
Beta Was this translation helpful? Give feedback.
-
are |
Beta Was this translation helpful? Give feedback.
Checkout the eval_D2C1 and eval_D3C1 functions from SuperSimplexNoise.java, those provide what appears to be dx, dy, dxdy, and all the other various derivatives.
Edit: I just realized that gives you the numerical derivatives, not the analytical ones. I have the analytical equations, but the derivatives aren't super helpful unfortunately.