Description Usage Arguments Value
This function first transforms given 3D positions by the transformation matrix. Then, they were projected onto a canvas and turned into 2D positions.
1 | compute2dCoordinates(transformMatrix, threedPositions)
|
transformMatrix |
A 3*3 matrix transforms 3D positions from one coordinates to another. The matrix can be obtained by calculating the inverse of standard camera coordinates. |
threedPositions |
A n*3 matrix containing all the positions you want to transform |
A n*2 matrix containing the 2d positions converted from the 3D positions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.