OpenSimplex noise
{{Short description|N-dimensional gradient noise function}}
{{notability|date=March 2016}}
File:Composition in 3D generated with the opensimplex noise.png
OpenSimplex noise is an n-dimensional (up to 4D) gradient noise function that was developed in order to overcome the patent-related issues surrounding simplex noise, while likewise avoiding the visually-significant directional artifacts characteristic of Perlin noise.
The algorithm shares numerous similarities with simplex noise, but has two primary differences:
- Whereas simplex noise starts with a hypercubic honeycomb and squashes it down the main diagonal in order to form its grid structure,Ken Perlin, Noise hardware. In Real-Time Shading SIGGRAPH Course Notes (2001), Olano M., (Ed.). [http://www.csee.umbc.edu/~olano/s2002c36/ch02.pdf (pdf)] OpenSimplex noise instead swaps the skew and inverse-skew factors and uses a stretched hypercubic honeycomb. The stretched hypercubic honeycomb becomes a simplicial honeycomb after subdivision.[https://web.archive.org/web/20160529084209/http://www.spiritofiron.com/2015_01_01_archive.html Spirit of Iron: Simplectic Noise] Michael Powell's blog This means that 2D Simplex and 2D OpenSimplex both use different orientations of the triangular tiling, but whereas 3D Simplex uses the tetragonal disphenoid honeycomb, 3D OpenSimplex uses the tetrahedral-octahedral honeycomb.
- OpenSimplex noise uses a larger kernel size than simplex noise. The result is a smoother appearance at the cost of performance, as additional vertices need to be determined and factored into each evaluation.
OpenSimplex has a variant called "SuperSimplex" (or OpenSimplex2S), which is visually smoother. "OpenSimplex2F" is identical to the original SuperSimplex.
See also
References
External links
- [http://uniblock.tumblr.com/post/97868843242/noise Blog post introducing OpenSimplex noise]
- [https://github.com/KdotJPG/OpenSimplex2 Author's current implementation] (OpenSimplex2)
- [https://github.com/MarcoCiaramella/OpenSimplexNoise Android library]
- [https://github.com/MarcoCiaramella/OpenSimplex2/tree/main/CPU C implementation]
- [https://github.com/MarcoCiaramella/OpenSimplex2/tree/main/GPU/OpenCL GPU implementation in OpenCL]
- [https://gist.github.com/digitalshadow/134a3a02b67cecd72181 Heavily-optimized implementation in C#]
- [https://crates.io/crates/noise Noise library for the Rust programming language] providing OpenSimplex noise – does not hard code gradient initial values
- [https://code.larus.se/lmas/opensimplex Python implementation]
{{Procedural noise |state=expanded}}
{{graphics-software-stub}}