Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) |
Hybrid Dog (talk | contribs) |
||
Line 25: | Line 25: | ||
[[Category:Objects]] | [[Category:Objects]] | ||
+ | |||
+ | {{Incomplete}} |
Revision as of 10:50, 8 March 2017
A perlin noise generator. Can be created either via PerlinNoise(seed, octaves, persistence, scale)
or minetest.get_perlin(seeddiff, octaves, persistence, scale)
.
Note that PerlinNoiseMap works faster.
Methods
get2d(pos)
— 2d noise value atpos={x=,y=}
get3d(pos)
— 3d noise value atpos={x=,y=,z=}
== Examples ==TODO
See also
External Links
- Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"
- Explanation of perlin noise
- Explanation of perlin noise and simplex noise
- Perlin noise values exceed [-1; 1]
- Faster mapgen noises
This article is incomplete. Please help expand this article to include more useful information. |