c4d.utils.noise

Follow me to the Inheritance diagramm.

Inheritance

C4DNoise

Members

c4d.utils.noise.Noise(p[, t])

Generate a noise value.

Parameters:
  • p (Vector) – Noise coordinate.
  • t (float) – The time.
Return type:

float

Returns:

Noise value, this is between 0.0 and 1.0.

c4d.utils.noise.SNoise(p[, t])

Generate a signed noise value.

Parameters:
  • p (Vector) – Noise coordinate.
  • t (float) – The time.
Return type:

float

Returns:

Signed noise value, this is between -1.0 and 1.0.

c4d.utils.noise.PNoise(p, d, dt[, t])

Generate a periodoical noise value.

PNoise is based on the SNoise():

NOISERES = 1024
pnoise = utils.SNoise(c4d.Vector(p.x*NOISERES/d.x, p.y*NOISERES/d.y, p.z*NOISERES/d.z))
Parameters:
  • p (Vector) – Noise coordinate.
  • d (Vector) – The period.
  • dt (float) – The time period.
  • t (float) – The time.
Return type:

float

Returns:

Periodical noise value.

c4d.utils.noise.WavyTurbulence(p, t, oct, start)

Generate a wavy turbulence value, this is a sum of multiple noises with different frequency.

Parameters:
  • p (Vector) – Wavy Turbulence coordinate.
  • t (float) – The time.
  • oct (int) – The number of octaves.
  • start (int) – The start value.
Return type:

float

Returns:

Turbulence value, this is between -1.0 and 1.0.

c4d.utils.noise.Turbulence(p, oct, abs[, t=0.0])

Generate a turbulence value, this is a sum of multiple noises with different frequency.

Parameters:
  • p (Vector) – Turbulence coordinate.
  • oct (int) – The number of octaves.
  • abs (int) – bool
  • t (True for the absolute value.) – The time.
Return type:

float

Returns:

Turbulence value, this is between -1.0 and 1.0.

Table Of Contents