StackedPerlinNoise3 StackedPerlinNoise3::StackedPerlinNoise3(void); Filename: stackedPerlinNoise3.I Created by: drose (05Oct05) PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. All rights reserved. All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE." Description: Creates a StackedPerlinNoise3 object with no levels. You should call add_level() to add each level by hand. Description: Creates num_levels nested PerlinNoise3 objects. Each stacked Perlin object will have a scale of 1 / scale_factor times the previous object (so that it is higher-frequency, if scale_factor > 1), and an amplitude of amp_scale times the previous object (so that it is less important, if amp_scale < 1). Description: Creates an exact duplicate of the existing StackedPerlinNoise3 object, including the random seed. |
addLevel void StackedPerlinNoise3::add_level(PerlinNoise3 const &level, double amp = (1)); Description: Adds an arbitrary PerlinNoise3 object, and an associated amplitude, to the stack. |
clear void StackedPerlinNoise3::clear(void); Description: Removes all levels from the stack. You must call add_level() again to restore them. |
noise double StackedPerlinNoise3::noise(double x, double y, double z); Description: Returns the noise function of the three inputs. |
operator () double StackedPerlinNoise3::operator ()(double x, double y, double z); Description: Returns the noise function of the three inputs. |
operator = void StackedPerlinNoise3::operator =(StackedPerlinNoise3 const ©); Description: Creates an exact duplicate of the existing StackedPerlinNoise3 object, including the random seed. |