3 ms·
N.B. One drawback of lattice gradient noise is that the output is 0.0 at the lattice points. One trick used to avoid this artifact is to rotate your coordinate
by bhickey 16y ago
N.B. One drawback of lattice gradient noise is that the output is 0.0 at the lattice points. One trick used to avoid this artifact is to rotate your coordinate system in a higher dimension. If you want 3D noise, rotate your 3D space and take a slice through 4D.
Similarly you need to be careful of artifact when generating fractional brownian motion. I believe it was Worley who suggested rotating/translating your coordinate system for each octave.
As part of a map making project I need noise, so I wrapped toxiclibs noise code up to make it nicer in clojure. (http://github.com/bhickey/pandaemonium http://github.com/bhickey/pandaemonium LGPL, contributions welcome!) I plan on implementing this all on the GPU when I get a chance.
Coherent noise is fun: http://imgur.com/Y92QJ.png http://imgur.com/Y92QJ.png