| Modifier and Type | Interface and Description |
|---|---|
interface |
IExplicitFunction
A procedural function working on a fixed sampling/resolution
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConstantParam
A function defining a constant value.
|
class |
FixedResolutionFunction
An abstract implementation of
IExplicitFunction |
class |
FunctionAggregator
Aggregate one or more
IFunction(s) as another function |
| Modifier and Type | Method and Description |
|---|---|
protected abstract IFunction |
FunctionAggregator.createAggregate() |
| Modifier and Type | Class and Description |
|---|---|
class |
Colorizer |
class |
LayerCombiner |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
Colorizer.function |
IFunction[] |
LayerCombiner.functions |
| Constructor and Description |
|---|
Colorizer(IFunction function,
IColorMapper colorizer) |
LayerCombiner(IFunction... functions) |
| Modifier and Type | Class and Description |
|---|---|
class |
HydraulicErosion
Reference: Realtime Procedural Terrain Generation
|
class |
ThermalErosion
Reference: Realtime Procedural Terrain Generation
|
| Modifier and Type | Class and Description |
|---|---|
class |
BilateralFilter |
class |
CannyEdge |
class |
Filter |
class |
GuidedFilter |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
CannyEdge.function |
IFunction |
Filter.source |
| Modifier and Type | Method and Description |
|---|---|
protected IFunction |
CannyEdge.createAggregate() |
protected IFunction |
GuidedFilter.createAggregate() |
static IFunction |
CannyEdge.gradient(IExplicitFunction function,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
static IFunction |
CannyEdge.gradient(IFunction function,
int width,
int height,
int layers,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
static IFunction |
CannyEdge.sobel(IExplicitFunction function,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
static IFunction |
CannyEdge.sobel(IFunction function,
int width,
int height,
int layers,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
| Modifier and Type | Method and Description |
|---|---|
static IFunction |
CannyEdge.gradient(IFunction function,
int width,
int height,
int layers,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
static IFunction |
CannyEdge.sobel(IFunction function,
int width,
int height,
int layers,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges) |
| Constructor and Description |
|---|
CannyEdge(IFunction function,
Kernel kernelH,
Kernel kernelV,
boolean accurate,
float thresholdStart,
float thresholdEnd,
boolean thinEdges,
int width,
int height,
int layers)
Edge detection using gradient
References: https://en.wikipedia.org/wiki/Canny_edge_detector |
Filter(IFunction source,
Kernel filter,
int size,
int width,
int height,
int layers) |
| Modifier and Type | Class and Description |
|---|---|
class |
Blend |
class |
Function |
class |
Gradient |
class |
Select
Selection by threshold and falloff interpolation
|
| Modifier and Type | Field and Description |
|---|---|
IFunction |
Blend.control |
IFunction |
Select.control |
IFunction |
Select.fallOff |
IFunction |
Blend.function1 |
IFunction |
Select.function1 |
IFunction |
Blend.function2 |
IFunction |
Select.function2 |
IFunction[] |
Function.functions |
IFunction |
Select.thresholdEnd |
IFunction |
Select.thresholdStart |
| Modifier and Type | Method and Description |
|---|---|
static IFunction |
Function.of(PartialFunction partialFunction,
IFunction... functions) |
static IFunction |
Function.of(java.lang.String expression,
IFunction... functions) |
| Modifier and Type | Method and Description |
|---|---|
static IFunction |
Function.of(PartialFunction partialFunction,
IFunction... functions) |
static IFunction |
Function.of(java.lang.String expression,
IFunction... functions) |
| Constructor and Description |
|---|
Blend(IFunction function1,
IFunction function2,
IFunction control) |
Blend(IFunction function1,
IFunction function2,
IFunction control,
Interpolator interpolator) |
Select(IFunction function1,
IFunction function2,
IFunction control,
IFunction thresholdStart,
IFunction thresholdEnd,
IFunction fallOff,
Interpolator interpolator) |
| Modifier and Type | Class and Description |
|---|---|
class |
Image
Reference: Realtime Procedural Terrain Generation
|
| Modifier and Type | Class and Description |
|---|---|
class |
PerturbationFilter
Texturing and Modeling: A Procedural Approach
|
class |
RotateDomain |
class |
ScaleDomain |
class |
Transition
smooth minimum
http://www.iquilezles.org/www/articles/smin/smin.htm
|
class |
TranslateDomain |
class |
Warp
function(p + function(p + offset) * scale)
|
| Modifier and Type | Field and Description |
|---|---|
IFunction |
PerturbationFilter.function |
IFunction |
Warp.function |
IFunction |
PerturbationFilter.perturbatorX |
IFunction |
PerturbationFilter.perturbatorY |
IFunction |
PerturbationFilter.perturbatorZ |
IFunction |
Transition.primitive1 |
IFunction |
Transition.primitive2 |
IFunction |
PerturbationFilter.strength |
| Modifier and Type | Method and Description |
|---|---|
protected IFunction |
Warp.createAggregate() |
static IFunction |
PerturbationFilter.fbm(IFunction f,
IFunction strength,
OctaverParam p) |
| Modifier and Type | Method and Description |
|---|---|
static IFunction |
PerturbationFilter.fbm(IFunction f,
IFunction strength,
OctaverParam p) |
| Constructor and Description |
|---|
PerturbationFilter(IFunction function,
IFunction strength,
IFunction perturbatorX,
IFunction perturbatorY,
IFunction perturbatorZ,
Vec3 deltaY,
Vec3 deltaZ) |
PerturbationFilter(IFunction function,
IFunction strength,
IFunction perturbatorX,
IFunction perturbatorY,
Vec3 deltaY) |
RotateDomain(IFunction function,
Mat4x4 matrix) |
ScaleDomain(IFunction function,
IFunction scaleX,
IFunction scaleY) |
ScaleDomain(IFunction function,
IFunction scaleX,
IFunction scaleY,
IFunction scaleZ) |
Transition(IFunction primitive1,
IFunction primitive2) |
TranslateDomain(IFunction function,
IFunction translateX,
IFunction translateY) |
TranslateDomain(IFunction function,
IFunction translateX,
IFunction translateY,
IFunction translateZ) |
Warp(IFunction function,
Vec3 offsetX,
Vec3 offsetY,
Vec3 offsetZ,
Vec3 scale) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOctaver |
class |
BillowyTurbulence
Output range: [0;1]
|
class |
DiamondSquare
http://en.wikipedia.org/wiki/Diamond-Square_algorithm
|
class |
Fbm
Fractional Brownian motion
http://en.wikipedia.org/wiki/Fractional_Brownian_motion Output range: [0;1] |
class |
ImprovedPerlin
Improving Noise - Ken Perlin
http://mrl.nyu.edu/~perlin/noise/
Output range: [-1; 1]
Pseudo derivative: http://www.iquilezles.org/www/articles/morenoise/morenoise.htm
Derivative: http://www.decarpentier.nl/scape-procedural-extensions
|
class |
IQTurbulence
iñigo quilez turbulence
http://www.iquilezles.org/www/articles/morenoise/morenoise.htm
|
class |
JordanTurbulence
Scape - Giliam de Carpentier
http://www.decarpentier.nl/
|
class |
MidpointDisplacement |
class |
Octaver |
class |
RidgedTurbulence
Output range: [0;1]
|
class |
SwissTurbulence
Scape - Giliam de Carpentier
http://www.decarpentier.nl/
|
class |
SwissTurbulenceVariant
Variant of SwissTurbulence
|
class |
Voronoi |
class |
VoronoiSmooth
Reference: http://iquilezles.org/www/articles/smoothvoronoi/smoothvoronoi.htm
|
class |
VoronoiUniform |
class |
Worley |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
BillowyTurbulence.source |
IFunction |
Fbm.source |
IFunction |
RidgedTurbulence.source |
| Modifier and Type | Method and Description |
|---|---|
protected IFunction |
BillowyTurbulence.getNoiseFunction(int octave) |
protected IFunction |
Fbm.getNoiseFunction(int octave) |
protected abstract IFunction |
Octaver.getNoiseFunction(int octave) |
protected IFunction |
RidgedTurbulence.getNoiseFunction(int octave) |
| Constructor and Description |
|---|
BillowyTurbulence(OctaverParam param,
IFunction source) |
BillowyTurbulence(OctaverParam param,
Interpolator interpolator,
IFunction source) |
Fbm(OctaverParam param,
IFunction source) |
Fbm(OctaverParam param,
Interpolator interpolator,
IFunction source) |
RidgedTurbulence(OctaverParam param,
IFunction source) |
RidgedTurbulence(OctaverParam param,
Interpolator interpolator,
IFunction source) |
| Modifier and Type | Class and Description |
|---|---|
class |
Curve |
class |
Cylinders
libnoise - cylinders.cpp
Output range: [-1;1]
|
class |
LibNoiseBillowy
libnoise - billow.cpp
|
class |
LibNoiseFbm
libnoise - perlin.cpp
|
class |
LibNoiseRidged
libbnoise - ridgedmulti.cpp
|
class |
LibNoiseTurbulence
libnoise - turbulence.cpp
|
class |
Perlin
libnoise - noisegen.cpp
Gradient noise
Output range: [-1; 1]
https://en.wikipedia.org/wiki/Perlin_noise
Use system property to select NOISE_VERSION:
com.bonzaiengine.procedural.noise.libnoise.version
|
class |
Terrace |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
Curve.function |
IFunction |
LibNoiseTurbulence.function |
IFunction |
Terrace.function |
| Modifier and Type | Method and Description |
|---|---|
protected IFunction |
LibNoiseBillowy.getNoiseFunction(int octave) |
protected IFunction |
LibNoiseFbm.getNoiseFunction(int octave) |
| Constructor and Description |
|---|
Curve(IFunction function,
float[][] controlPoints) |
LibNoiseTurbulence(IFunction function,
float power,
float seed,
float frequency,
int roughness) |
Terrace(IFunction function,
float[] controlPoints) |
| Modifier and Type | Class and Description |
|---|---|
class |
SphericalProjection |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
SphericalProjection.function |
| Constructor and Description |
|---|
SphericalProjection(IFunction function) |
SphericalProjection(IFunction function,
float lonMin,
float lonMax,
float latMin,
float latMax) |
| Modifier and Type | Class and Description |
|---|---|
class |
Sphere |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
Sphere.centerX |
IFunction |
Sphere.centerY |
IFunction |
Sphere.centerZ |
IFunction |
Sphere.radius |
| Constructor and Description |
|---|
Sphere(IFunction centerX,
IFunction centerY,
IFunction centerZ,
IFunction radius) |
| Modifier and Type | Class and Description |
|---|---|
class |
Buffer
A buffer that transform any
IFunction into an IExplicitFunction. |
class |
Cache
A simple cache that keeps the last computed value.
|
class |
FloatArrayFunction |
class |
Texturer |
| Modifier and Type | Field and Description |
|---|---|
IFunction |
Buffer.function |
IFunction |
Cache.function |
IFunction |
FloatArrayFunction.function |
| Modifier and Type | Method and Description |
|---|---|
static IExplicitFunction |
Buffer.of(IFunction function,
int width,
int height,
int depth,
int layers,
boolean derivative) |
| Constructor and Description |
|---|
Buffer(IFunction function,
int width,
int height,
int depth,
int layers,
boolean normalize,
boolean derivative) |
Cache(IFunction function) |
FloatArrayFunction(int width,
int height,
IFunction function) |
Texturer(IFunction function,
int width,
int height,
int depth,
int layers,
boolean normalize,
boolean color,
boolean normal,
IColorMapper colorizer) |
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com