apply transform to a 3d vector
apply transform to a 3d vector
apply transform to a 3d point
apply transform to a 3d point
compose with other invertible transform
compose with other invertible transform
compose with other transform
compose with other transform
of the full image
inverted version of this transform
inverted version of this transform
top right corner of box
top right corner of box
ratioWidth/Height: scales full image width to box width
of the full image
box scaled normalized coordinates go from [-1*ratioWidth/2 to 1*ratioWidth/2] boxScaledCoords = ((posX.toDouble / width.toDouble)-0.5) * ratioWidth the box is located at (xInBoxScaledCoords, yInBoxScaleCoords)
(Since version ) see corresponding Javadoc for more information.
Use for rendering only the contents within a defined bounding box. transforms a point from normalized coordinates [-1,1]x[-1,1]x[-1,1] to window coordinates [0,widthBox]x[0,heightBox]x[near,far] (y still upwards!)
of the full image
of the full image
top right corner of box
top right corner of box