- : The root object.
- firstOctave: First octave. If legacy_random_source in the noise settings is true, it must be an integer less than or equal to 1, otherwise the value range is not unlimited.
- amplitudes: Amplitudes of sub-noise. The frequency of a sub-noise at
index
(from 0) in the list is2^(- firstOctave + index)
, and the amplitude (the value of the sub-noise ranges from-amplitude
to+amplitude
) of this sub-noise is about1.04 * doubleValueAtIndex * 2^(sizeOfThisList - index - 1) / (2^sizeOfThisList - 1)
(assuming the range of 3D Improved Perlin Noise is ±1.04). For each sub-noise, two 3D improved perlin noises are created and their average is taken. The final range of this noise value is± 10 * sumOfSubNoises / ( 3 * ( 1 + 1 / m ) )
, where m is the number of elements in the list after removing the leading and trailing zero elements. If legacy_random_source in the noise settings is true, the length must be less than or equal to1-firstOctave
. If false, the length is unlimited.- : A double value for a sub-noise.
Skip to content