Package org.sunflow.math
Class PerlinVector
java.lang.Object
org.sunflow.math.PerlinVector
Vector versions of the standard noise functions. These are provided to
emulate standard renderman calls.This code was adapted mainly from the
mrclasses package by Gonzalo Garramuno
(http://sourceforge.net/projects/mrclasses/).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Vector3
noise
(float x) static final Vector3
noise
(float x, float y) static final Vector3
noise
(float x, float y, float z) static final Vector3
noise
(float x, float y, float z, float t) static final Vector3
static final Vector3
static final Vector3
static final Vector3
pnoise
(float x, float period) static final Vector3
pnoise
(float x, float y, float w, float h) static final Vector3
pnoise
(float x, float y, float z, float w, float h, float d) static final Vector3
pnoise
(float x, float y, float z, float t, float w, float h, float d, float p) static final Vector3
static final Vector3
static final Vector3
static final Vector3
snoise
(float x) static final Vector3
snoise
(float x, float y) static final Vector3
snoise
(float x, float y, float z) static final Vector3
snoise
(float x, float y, float z, float t) static final Vector3
static final Vector3
static final Vector3
static final Vector3
spnoise
(float x, float period) static final Vector3
spnoise
(float x, float y, float w, float h) static final Vector3
spnoise
(float x, float y, float z, float w, float h, float d) static final Vector3
spnoise
(float x, float y, float z, float t, float w, float h, float d, float p) static final Vector3
static final Vector3
static final Vector3
-
Constructor Details
-
PerlinVector
public PerlinVector()
-
-
Method Details
-
snoise
-
snoise
-
snoise
-
snoise
-
snoise
-
snoise
-
snoise
-
noise
-
noise
-
noise
-
noise
-
noise
-
noise
-
noise
-
pnoise
-
pnoise
-
pnoise
-
pnoise
public static final Vector3 pnoise(float x, float y, float z, float t, float w, float h, float d, float p) -
pnoise
-
pnoise
-
pnoise
-
spnoise
-
spnoise
-
spnoise
-
spnoise
public static final Vector3 spnoise(float x, float y, float z, float t, float w, float h, float d, float p) -
spnoise
-
spnoise
-
spnoise
-