14 #ifndef STACKEDPERLINNOISE3_H
15 #define STACKEDPERLINNOISE3_H
29 double scale_factor = 4.0f,
double amp_scale = 0.5f,
30 int table_size = 256,
unsigned long seed = 0);
34 void add_level(
const PerlinNoise3 &level,
double amp = 1.0);
37 INLINE
double noise(
double x,
double y,
double z);
38 INLINE
float noise(
const LVecBase3f &value);
39 double noise(
const LVecBase3d &value);
41 INLINE
double operator ()(
double x,
double y,
double z);
42 INLINE
float operator ()(
const LVecBase3f &value);
43 INLINE
double operator ()(
const LVecBase3d &value);
52 typedef epvector<Noise> Noises;
This class provides an implementation of Perlin noise for 3 variables.
Implements a multi-layer PerlinNoise, with one or more high-frequency noise functions added to a lowe...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.