Ops.Gl.Matrix


WebGl Ops

AnimMatrix

animate values in a matrix to a new matrix

ArrayPathFollow

interpolate position on a spline/array3x

ArrayPathFollowParticles

render lots of particles following a path/spline/array3x

ArrayTranslate

iterate over an array3: translate to xyz, then trigger next op

Billboard

rotate an object to always face the camera

CameraInfo

get camera attributes from current camera/orbit controls

CameraPosition

get the current position of viewmatrix/camera eye

Camera

Transforms and projects the scene from the point of view of the camera.

Coordinates

current xyz coordinates (modelmatrix)

DeviceOrientationCamera

gyroscope motionsensor camera

GetMatrixScaling

Get the scalar scaling of a matrix

GetModelMatrix

get current modelmatrix

GetProjectionMatrix

get current projectionmatrix

GetViewMatrix

get current viewmatrix

InterpolateMatrix

interpolate between two matrices

InvertMatrix

outputs an inverted matrix

LookatCamera

transforms view to look from eye to center

MatrixTranslation

get translation of a matrix

MulViewMatrix

multiply view matrix

MultiplyModelMatrix

multiply model matrix

OrbitControls

rotate your object by clicking and dragging the mouse

Quaternion

multiplies current modelmatrix with a quaternion

QuaternionCamera

Set up a camera, rotated by a quaternion

RandomGridPlacement

place random objects on a grid

RandomGridPlacementArrays

Place random objects on a grid

Scale

Scale all child objects (scaleXYZ)

ScaleXYZViewMatrix

scale xyz of viewmatrix

ScreenCoordinates

screen/pixel coordinates of the current transform

ScreenPosTo3d

convert screen coordinates to a 3d position

SetProjectionMatrix

set a projection matrix

Shear

displaces each point of a mesh in fixed direction

Transform

Transform objects in 3d space (rotate, translate, scale)

TransformMatrix

transform a matrix (mat4)

TransformMul

multiply current modelmatrix

TransformView

transform the viewmatrix

Translate

Translate objects (move / position in 3D space)

TranslateView

translate the view/camera matrix

VectorTranslate

Translate any geometry underneath it using vectors and speed.

WASDCamera

simple camera you control with W,A,S,D keys like in a FPS game