CameraInfo Op

CameraInfo

get camera attributes from current camera/orbit controls


Utility op to get camera attributes.

It is important that you set the camera type that you are using.

Usually it is a perspective camera, but if you're explicitly using a orthographic/orthogonal camera, switch the mode to "Orthographic".


Full Name
  • Ops.Gl.Matrix.CameraInfo
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


render (Trigger)

Trigger input

Camera Type index (Number: integer)

OUTPUT PORTS


trigger (Trigger)

Trigger outpu

X (Number)

x position of camera

Y (Number)

y position of camera

Z (Number)

z position of camera

Right X (Number)

x right of camera

Right Y (Number)

y right of camera

Right Z (Number)

z right of camera

Up X (Number)

x up of camera

Up Y (Number)

y up of camera

Up Z (Number)

z up of camera

Forward X (Number)

x forward of camera

Forward Y (Number)

y forward of camera

Forward Z (Number)

z forward of camera

Near Frustum (Number)

frustum near

Far Frustum (Number)

frustum far

Bottom Frustum (Number)

frustum bottom

Top Frustum (Number)

frustum top

Left Frustum (Number)

frustum left

Right Frustum (Number)

frustum right

FOV (Number)

field of view

Aspect Ratio (Number)

aspect ratio


Patches using CameraInfo

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2019-11-08 14:19
Ops.User.simod.CameraDecompose renamed to Ops.Gl.Matrix.CameraDecomposeuser avatarsimod - 2019-11-08 15:17
Ops.Gl.Matrix.CameraDecompose renamed to Ops.Gl.Matrix.CameraInfouser avatarsimod - 2019-11-08 15:40