beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

PixelProjection Op

Ops.Gl.PixelProjection


PixelProjection
Namespace: Ops.Gl

Op author: pandur

Remaps world co-ordinates to a pixel co-ordinate system


summary (oneliner)

when enabling using viewport size drawing a rectangle with a width/height of 100, the screen space of that rectangle is exactly 100 pixels



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger the op


Canvas size

use viewport size (boolean /Number)

set width and height to the viewport size


Width (Number)

Width if Use Viewport Size is disabled


Height (Number)

Height if Use Viewport Size is disabled


Clipping

frustum near (Number)

frustum far (Number)

Axis index (integer /Number)

Position 0,0 index (integer /Number)

Flip

Flip X (boolean /Number)

Flip Y (boolean /Number)

Zero Y (boolean /Number)

Outputs

trigger (Trigger)

Trigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

pixel projection example

Open Example In Editor


Youtube Video Tutorial

Patches using PixelProjection

Changelog


created op
2019-10-28 - pandur