StackedPerlinNoise2 StackedPerlinNoise2::StackedPerlinNoise2(void); Filename: stackedPerlinNoise2.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 StackedPerlinNoise2 object with no levels. You should call add_level() to add each level by hand. Description: Creates num_levels nested PerlinNoise2 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 StackedPerlinNoise2 object, including the random seed. |
addLevel void StackedPerlinNoise2::add_level(PerlinNoise2 const &level, double amp = (1)); Description: Adds an arbitrary PerlinNoise2 object, and an associated amplitude, to the stack. |
clear void StackedPerlinNoise2::clear(void); Description: Removes all levels from the stack. You must call add_level() again to restore them. |
noise double StackedPerlinNoise2::noise(double x, double y); Description: Returns the noise function of the three inputs. |
operator () double StackedPerlinNoise2::operator ()(double x, double y); Description: Returns the noise function of the three inputs. |
operator = void StackedPerlinNoise2::operator =(StackedPerlinNoise2 const ©); Description: Creates an exact duplicate of the existing StackedPerlinNoise2 object, including the random seed. |