1

Question about multi-noise worldgen

Apollo404's Avatar Apollo4049/20/21 7:21 pm
1 emeralds 131 2
9/20/2021 9:05 pm
Apollo404's Avatar Apollo404
I'm working on a datapack that uses multi-noise generation. I've having trouble understanding how amplitudes work. The best result I can find is that "amplitudes control the strength of the noise by 2^-x", but I have no idea what they mean by that. Can someone explain to me how amplitudes work? Thanks in advance.
Posted by Apollo404's Avatar
Apollo404
Level 65 : High Grandmaster Terraformer
300

Create an account or sign in to comment.

2

garlicbreathinator
09/20/2021 8:02 pm
Level 31 : Artisan Engineer
garlicbreathinator's Avatar
Minecraft's perlin noise generator draws multiple layers, called octaves, which have different strength values (amplitudes). Lower levels of detail make the large, general shapes like the positions of hills and rivers. They have the biggest impact, but only make broad strokes. Finer levels of detail build on that, making it rougher and more natural. In math terms, random numbers from each pass of the perlin noise generator change twice as fast as the last one, pass 2 is twice the detail and pass 3 is 4x the detail. This random number is then multiplied by that element of the amplitudes list. firstOctave allows you to skip the first <x> layers, making the first 2x, 4x, 8x, ... as detailed.



Each element of Amplitudes after the first adds a new double-detail perlin noise layer, and the value determines how much of an impact it has on the final result. Generally you want the first element to have the highest value to determine the layout of the area and make the others much lower to add detail to it.
4
Apollo404
09/20/2021 9:05 pm
Level 65 : High Grandmaster Terraformer
Apollo404's Avatar
ok, thank you for the information!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome