I'm having some problem understanding the Perlin Noise algorithm and none of the explanation I found go into this (probably obvious)detail.

From what function is the gradient on it? Is it from the blending function?

  • \$\begingroup\$ No idea what the question is. \$\endgroup\$ – Krythic Oct 23 '16 at 3:11
  • \$\begingroup\$ If you are aware of what the Perlin Noise algorithm you know it uses a gradient. But on all implementations they use a pre computed table for the gradient and I don't understand from what was the gradient. \$\endgroup\$ – Leonardo Marques Oct 23 '16 at 12:39

The gradient is between the dot products of vectors to corners and randomly chosen vectors.

The pre-computed table you are looking at is likely part of the hash-function. (used to generate random numbers in a way that stays constant between calls)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.