Package | Description |
---|---|
org.dayflower.pathtracer.math |
Provides the Mathematics API.
|
org.dayflower.pathtracer.scene |
Provides the Scene API.
|
org.dayflower.pathtracer.scene.compiler |
Provides the Scene Compiler API.
|
org.dayflower.pathtracer.scene.shape |
Provides
Shape implementations. |
Modifier and Type | Field and Description |
---|---|
Vector3F |
OrthoNormalBasis33F.u
A
Vector3F pointing in the U-direction. |
Vector3F |
OrthoNormalBasis33F.v
A
Vector3F pointing in the V-direction. |
Vector3F |
OrthoNormalBasis33F.w
A
Vector3F pointing in the W-direction. |
Modifier and Type | Method and Description |
---|---|
Vector3F |
Vector3F.add(Vector3F v)
Adds
v to this Vector3F instance. |
Vector3F |
Vector3F.crossProduct(Vector3F v)
Computes the cross product between this
Vector3F instance and v . |
static Vector3F |
Vector3F.direction(float u,
float v)
Returns a
Vector3F based on the U- and V-coordinates u and v . |
static Vector3F |
Vector3F.direction(Point3F eye,
Point3F lookAt)
Returns a
Vector3F pointing in the direction from eye to lookAt . |
Vector3F |
Vector3F.divide(float s)
Divides this
Vector3F instance by s . |
Vector3F |
OrthoNormalBasis33F.getU()
Returns the
Vector3F pointing in the U-direction. |
Vector3F |
OrthoNormalBasis33F.getV()
Returns the
Vector3F pointing in the V-direction. |
Vector3F |
OrthoNormalBasis33F.getW()
Returns the
Vector3F pointing in the W-direction. |
Vector3F |
Vector3F.multiply(float s)
Multiplies this
Vector3F instance with s . |
Vector3F |
Vector3F.negate()
Negates this
Vector3F instance. |
static Vector3F |
Vector3F.normal(Point3F a,
Point3F b,
Point3F c)
Returns a
Vector3F denoting the normal of the plane defined by a , b and c . |
Vector3F |
Vector3F.normalize()
Normalizes this
Vector3F instance. |
static Vector3F |
Vector3F.normalNormalized(Point3F a,
Point3F b,
Point3F c)
Returns a
Vector3F denoting the normalized normal of the plane defined by a , b and c . |
Vector3F |
Vector3F.subtract(Vector3F v)
Subtracts
v from this Vector3F instance. |
Vector3F |
Vector3F.transform(Matrix44F m)
Performs a transformation.
|
Vector3F |
Vector3F.transform(OrthoNormalBasis33F orthoNormalBasis)
Performs a transformation.
|
Vector3F |
Vector3F.transformReverse(OrthoNormalBasis33F orthoNormalBasis)
Performs a transformation in reverse order.
|
Vector3F |
Vector3F.transformTranspose(Matrix44F m)
Performs a transformation in transpose order.
|
static Vector3F |
Vector3F.x()
Returns a new
Vector3F instance equivalent to new Vector3F(1.0F, 0.0F, 0.0F) . |
static Vector3F |
Vector3F.x(float x)
Returns a new
Vector3F instance equivalent to new Vector3F(x, 0.0F, 0.0F) . |
static Vector3F |
Vector3F.y()
Returns a new
Vector3F instance equivalent to new Vector3F(0.0F, 1.0F, 0.0F) . |
static Vector3F |
Vector3F.y(float y)
Returns a new
Vector3F instance equivalent to new Vector3F(0.0F, y, 0.0F) . |
static Vector3F |
Vector3F.z()
Returns a new
Vector3F instance equivalent to new Vector3F(0.0F, 0.0F, 1.0F) . |
static Vector3F |
Vector3F.z(float z)
Returns a new
Vector3F instance equivalent to new Vector3F(0.0F, 0.0F, z) . |
Modifier and Type | Method and Description |
---|---|
Vector3F |
Vector3F.add(Vector3F v)
Adds
v to this Vector3F instance. |
Vector3F |
Vector3F.crossProduct(Vector3F v)
Computes the cross product between this
Vector3F instance and v . |
float |
Vector3F.dotProduct(Vector3F v)
Returns the dot product between this
Vector3F instance and v . |
static AngleF |
AngleF.pitch(Vector3F direction)
Returns a new pitch
AngleF instance based on direction . |
Point3F |
Point3F.pointAt(Vector3F v,
float t)
Returns a
Point3F offset from this Point3F in the direction of v and with the distance of t . |
static Matrix44F |
Matrix44F.rotate(Vector3F w,
Vector3F v)
Returns a
Matrix44F for rotating along the X-, Y- and Z-axes. |
static Matrix44F |
Matrix44F.rotate(Vector3F w,
Vector3F v,
Vector3F u)
Returns a
Matrix44F for rotating along the X-, Y- and Z-axes. |
Vector3F |
Vector3F.subtract(Vector3F v)
Subtracts
v from this Vector3F instance. |
static AngleF |
AngleF.yaw(Vector3F direction)
Returns a new yaw
AngleF instance based on direction . |
Constructor and Description |
---|
OrthoNormalBasis33F(Point3F eye,
Point3F lookAt,
Vector3F v)
Constructs a new
OrthoNormalBasis33F instance given eye , lookAt and v . |
OrthoNormalBasis33F(Vector3F w)
Constructs a new
OrthoNormalBasis33F instance given w . |
OrthoNormalBasis33F(Vector3F w,
Vector3F v)
Constructs a new
OrthoNormalBasis instance given w and v . |
OrthoNormalBasis33F(Vector3F w,
Vector3F v,
Vector3F u)
Constructs a new
OrthoNormalBasis33F instance given w , v and u . |
Point3F(Vector3F v)
Constructs a new
Point3F instance given a Vector3F . |
Modifier and Type | Method and Description |
---|---|
Vector3F |
Sky.getSunDirection()
Returns a
Vector3F with the sun direction in local-space. |
Vector3F |
Sky.getSunDirectionWorld()
Returns a
Vector3F with the sun direction in world-space. |
Modifier and Type | Method and Description |
---|---|
void |
Sky.set(Vector3F sunDirectionWorld)
Sets the sun and sky parameters.
|
void |
Sky.set(Vector3F sunDirectionWorld,
float turbidity)
Sets the sun and sky parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
DynamicCompiledScene.add(Vector3F vector3F)
Adds
vector3F to this DynamicCompiledScene instance. |
int |
DynamicCompiledScene.indexOf(Vector3F vector3F)
Returns the index of
vector3F , or -1 if it does not exist. |
int |
DynamicCompiledScene.referencesTo(Vector3F vector3F)
Returns the number of references to
vector3F . |
int |
DynamicCompiledScene.remove(Vector3F vector3F)
Removes
vector3F from this DynamicCompiledScene instance, if it exists. |
Modifier and Type | Field and Description |
---|---|
Vector3F |
Triangle.Vertex.normal
The normal of this
Vertex instance. |
Vector3F |
Plane.surfaceNormal
The surface normal.
|
Modifier and Type | Method and Description |
---|---|
Vector3F |
Triangle.Vertex.getNormal()
Returns the normal of this
Vertex instance. |
Vector3F |
Plane.getSurfaceNormal()
Returns the surface normal.
|
Modifier and Type | Method and Description |
---|---|
Triangle |
Triangle.rotate(Vector3F w,
Vector3F v)
Rotates this
Triangle instance. |
Constructor and Description |
---|
Vertex(Point2F textureCoordinates,
Point3F position,
Vector3F normal)
Constructs a new
Vertex instance. |