Difference between revisions of "PerlinNoise"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) |
Hybrid Dog (talk | contribs) |
||
Line 13: | Line 13: | ||
== External Links == | == External Links == | ||
− | [https://forum.minetest.net/viewtopic.php?f=6&t=8157 Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"] | + | * [https://forum.minetest.net/viewtopic.php?f=6&t=8157 Minetest forum thread: "minetest.get_perlin() and minetest.get_perlin_map() Return nil"] |
− | + | * [http://freespace.virgin.net/hugo.elias/models/m_perlin.htm Explanation of perlin noise] | |
− | http://freespace.virgin.net/hugo.elias/models/m_perlin.htm | + | * [https://forum.minetest.net/viewtopic.php?id=4032 Perlin noise values exceed [-1; 1]] |
− | + | * [https://forum.minetest.net/viewtopic.php?f=7&t=5146 Faster mapgen noises] | |
− | [https://forum.minetest.net/viewtopic.php?id=4032 | ||
− | |||
− | [https://forum.minetest.net/viewtopic.php?f=7&t=5146 | ||
[[Category:Objects]] | [[Category:Objects]] |
Revision as of 15:12, 21 May 2015
A perlin noise generator. Can be created either via PerlinNoise(seed, octaves, persistence, scale)
or minetest.get_perlin(seeddiff, octaves, persistence, scale)
.
Methods
get2d(pos)
— 2d noise value atpos={x=,y=}
get3d(pos)
— 3d noise value atpos={x=,y=,z=}