# PerlinNoise3

from pandac.PandaModules import PerlinNoise3

Class : PerlinNoise3
Description : This class provides an implementation of Perlin noise for 3 variables. This code is loosely based on the reference implementation at http://mrl.nyu.edu/~perlin/noise/ .

## Inheritance:

PerlinNoise3: PerlinNoise
PerlinNoise:

## Methods of PerlinNoise3:

PerlinNoise3 (Constructor)
noise
operator ()
operator =
setScale

## Methods of PerlinNoise:

getSeed

PerlinNoise3 PerlinNoise3::PerlinNoise3(void); Filename: perlinNoise3.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: Randomizes the tables to make a unique noise function. Uses a default scale (noise frequency), table size, and seed. Description: Randomizes the tables to make a unique noise function. If seed is nonzero, it is used to define the tables; if it is zero a random seed is generated. Description: Makes an exact copy of the existing PerlinNoise object, including its random seed.

noise double PerlinNoise3::noise(double x, double y, double z) const; Description: Returns the noise function of the three inputs.

operator () double PerlinNoise3::operator ()(double x, double y, double z) const; Description: Returns the noise function of the three inputs.

operator = void PerlinNoise3::operator =(PerlinNoise3 const &copy); Description: Makes an exact copy of the existing PerlinNoise object, including its random seed.

setScale void PerlinNoise3::set_scale(double scale); Description: Changes the scale (frequency) of the noise.

getSeed unsigned long int PerlinNoise::get_seed(void); Description: Returns a unique seed value based on the seed value passed to this PerlinNoise object (and on its current state).