Package | Description |
---|---|
org.dayflower.pathtracer.scene |
Provides the Scene API.
|
org.dayflower.pathtracer.scene.compiler |
Provides the Scene Compiler API.
|
org.dayflower.pathtracer.scene.texture |
Provides
Texture implementations. |
Modifier and Type | Method and Description |
---|---|
Texture |
Surface.getTextureAlbedo()
Returns the Albedo
Texture of this Surface instance. |
Texture |
Surface.getTextureEmission()
Returns the Emission
Texture of this Surface instance. |
Texture |
Surface.getTextureNormal()
Returns the Normal Map
Texture of this Surface instance. |
Constructor and Description |
---|
Surface(Material material,
Texture textureAlbedo,
Texture textureEmission,
Texture textureNormal)
Constructs a new
Surface instance. |
Surface(Material material,
Texture textureAlbedo,
Texture textureEmission,
Texture textureNormal,
float noiseAmount,
float noiseScale)
Constructs a new
Surface instance. |
Modifier and Type | Method and Description |
---|---|
int |
DynamicCompiledScene.add(Texture texture)
Adds
texture to this DynamicCompiledScene instance. |
int |
DynamicCompiledScene.indexOf(Texture texture)
Returns the index of
texture , or -1 if it does not exist. |
int |
DynamicCompiledScene.referencesTo(Texture texture)
Returns the number of references to
texture . |
int |
DynamicCompiledScene.remove(Texture texture)
Removes
texture from this DynamicCompiledScene instance, if it exists. |
Modifier and Type | Class and Description |
---|---|
class |
BlendTexture
|
class |
CheckerboardTexture
A
CheckerboardTexture is a Texture implementation that models a texture with a checkerboard pattern. |
class |
ConstantTexture
A
ConstantTexture is a Texture implementation that models a texture with a constant color. |
class |
FractionalBrownianMotionTexture
A
FractionalBrownianMotionTexture is a Texture implementation that uses fractional Brownian motion (fBm) to compute its image data. |
class |
ImageTexture
An
ImageTexture is a Texture implementation that models a texture based on an image. |
class |
SurfaceNormalTexture
A
SurfaceNormalTexture is a Texture implementation that shows the surface normal at a surface. |
Modifier and Type | Method and Description |
---|---|
Texture |
BlendTexture.getTextureA()
Returns the
Texture denoted by A . |
Texture |
BlendTexture.getTextureB()
Returns the
Texture denoted by B . |
Constructor and Description |
---|
BlendTexture(Texture textureA,
Texture textureB)
Constructs a new
BlendTexture instance. |
BlendTexture(Texture textureA,
Texture textureB,
float factor)
Constructs a new
BlendTexture instance. |