Purpose

The SoCameraAccess module provides access to the current Open Inventor camera state elements.

Usage

Connect the module to the scene and read its values.

Output Fields

self

name: self, type: SoNode

The module has one output that can be connected to the scenegraph.

Parameter Fields

Visible Fields

Transform Delta

name: transformDeltaOut, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Viewing Matrix (viewingMatrix)

name: viewingMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Projection Matrix (projectionMatrix)

name: projectionMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Camera Space Matrix

name: cameraSpaceMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Cam Position

name: camPosition, type: Vector3, default: 0 0 0

Look At Position

name: lookAtPosition, type: Vector3, default: 0 0 0

Up Vector

name: upVector, type: Vector3, default: 0 0 0

View Vector

name: viewVector, type: Vector3, default: 0 0 0

Viewport Size

name: viewportSizeOut, type: String, default: 0 0

Near Distance

name: nearDistance, type: Float, default: 0

Far Distance

name: farDistance, type: Float, default: 0

Viewing Matrix (NewViewingMatrix)

name: NewViewingMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Projection Matrix (NewProjectionMatrix)

name: NewProjectionMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1