noise_octave_t(3)chaff

NAME

noise_octave_t

SYNOPSIS

#include <noise.h>

Data Fields

uint8_t shift
uint16_t amp
int8_t skew_x
int8_t skew_y
uint16_t contrast
uint32_t seed_salt
uint8_t period_shift

Detailed Description

Single noise octave specification

Field Documentation

uint16_t noise_octave_t::amp

Amplitude weight in fixed-point world units

uint16_t noise_octave_t::contrast

Fixed-point contrast multiplier (256 = 1.0x, 512 = 2.0x)

uint8_t noise_octave_t::period_shift

Optional periodic domain shift 2^period_shift (0 = unbounded)

uint32_t noise_octave_t::seed_salt

Optional per-octave seed salt override (0 = use cascade default)

uint8_t noise_octave_t::shift

Lattice size 2^shift (e.g. 10 = 1024, 3 = 8)

int8_t noise_octave_t::skew_x

Domain skew: px = x + y / skew_x (0 = disabled)

int8_t noise_octave_t::skew_y

Domain skew: py = y - x / skew_y (0 = disabled)

Author

Generated automatically by Doxygen for chaff from the source code.