Splat Camera
17 nodes
On this page 17
Fitted Into
FunctionThe same view shown whole inside a picture of another shape: scaled until it touches two opposite edges and centred, as a film frame is shown on a screen it does not match. Every ray keeps its direction, so a point this camera put at pixel p lands at frame.Left + p · frame.Width / Width, and the picture beyond the original frame is what the lens would have seen had the sensor been larger. It is how a viewport of any shape looks through a photograph's camera with the photograph laid exactly over it.
FittedInto -> (result: Splat Camera, frame: (Number, Number, Number, Number))
Splat Camera: Splat Camera
width: Integer
height: IntegerSplatCamera FittedInto(
SplatCamera Splat Camera,
int width,
int height,
out (double, double, double, double) frame)Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — | |
| width | Integer | — | |
| height | Integer | — |
Returns
| result | Splat Camera |
| frame | (Number, Number, Number, Number) |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Center
FunctionThe camera centre in world space: -Rotationᵀ · Translation.
Center(Splat Camera: Splat Camera) -> (Number, Number, Number)
(double, double, double) Center(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | (Number, Number, Number) |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Cx
FunctionThis node carries no documentation.
Cx(Splat Camera: Splat Camera) -> Number
double Cx(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Cy
FunctionThis node carries no documentation.
Cy(Splat Camera: Splat Camera) -> Number
double Cy(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Field Of View X
FunctionHorizontal field of view in radians.
FieldOfViewX(Splat Camera: Splat Camera) -> Number
double FieldOfViewX(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Field Of View Y
FunctionVertical field of view in radians.
FieldOfViewY(Splat Camera: Splat Camera) -> Number
double FieldOfViewY(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Forward
FunctionThe direction the camera looks along, in world space.
Forward(Splat Camera: Splat Camera) -> Vector3
Vector3 Forward(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Vector3 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Fx
FunctionThis node carries no documentation.
Fx(Splat Camera: Splat Camera) -> Number
double Fx(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Fy
FunctionThis node carries no documentation.
Fy(Splat Camera: Splat Camera) -> Number
double Fy(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Height
FunctionThis node carries no documentation.
Height(Splat Camera: Splat Camera) -> Integer
int Height(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Position
FunctionThis node carries no documentation.
Position(Splat Camera: Splat Camera) -> Vector3
Vector3 Position(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Vector3 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Rotation
FunctionWorld-to-camera rotation, nine values row by row.
Rotation(Splat Camera: Splat Camera) -> Number Array
double[] Rotation(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Translation
FunctionWorld-to-camera translation.
Translation(Splat Camera: Splat Camera) -> Number Array
double[] Translation(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Number Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Get Width
FunctionThis node carries no documentation.
Width(Splat Camera: Splat Camera) -> Integer
int Width(SplatCamera Splat Camera)
Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — |
Returns
| result | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Project
FunctionWhere a point in the world lands in this camera's picture, in pixels, and how far in front of the camera it is; false when it is behind the camera or nearer than Near, where it has no place in the picture.
Project -> (result: Truth, pixel: Vector2, depth: Low Accuracy Number)
Splat Camera: Splat Camera
point: Vector3
near: Low Accuracy Numberbool Project(
SplatCamera Splat Camera,
Vector3 point,
out Vector2 pixel,
out float depth,
float near = 0.001f)Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — | |
| point | Vector3 | — | |
| near | Low Accuracy Number | 0.001 |
Returns
| result | Truth |
| pixel | Vector2 |
| depth | Low Accuracy Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Resized
FunctionThe same view at another resolution, with the intrinsics scaled to match.
Resized -> Splat Camera
Splat Camera: Splat Camera
width: Integer
height: IntegerSplatCamera Resized(
SplatCamera Splat Camera,
int width,
int height)Parameters
| name | type | default | description |
|---|---|---|---|
| Splat Camera | Splat Camera | — | |
| width | Integer | — | |
| height | Integer | — |
Returns
| result | Splat Camera |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics
Look At
FunctionA camera at Eye looking at Target, with the given vertical field of view in radians and the principal point at the image centre.
LookAt -> Splat Camera
eye: Vector3
target: Vector3
up: Vector3
verticalFieldOfView: Number
width: Integer
height: IntegerSplatCamera LookAt(
Vector3 eye,
Vector3 target,
Vector3 up,
double verticalFieldOfView,
int width,
int height)Parameters
| name | type | default | description |
|---|---|---|---|
| eye | Vector3 | — | |
| target | Vector3 | — | |
| up | Vector3 | — | The world direction that should appear upward in the picture. |
| verticalFieldOfView | Number | — | |
| width | Integer | — | |
| height | Integer | — |
Returns
| result | Splat Camera |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Splat Camera
- Package
- Computer Graphics