Perfect 3D Bounding Box

Posts 31–32 of 32 · Page 3 of 3
Quote Originally Posted by AkChen View Post
can I ask a very simple question?How the 'world2screen' works?
Basically converts a 3D position (x, y and z) to a position on your screen. If the player is not in the screen the function returns false, otherwise it fills the vector with the position and returns true.
Quote Originally Posted by AkChen View Post
can I ask a very simple question?How the 'world2screen' works?
Its a linear transformation of R3 (vec3 players coordinates 'x,y,z') to R2 (screen coordinates 'x,y'), if you want learn more about that ...
(http://www.codinglabs.net/article_wo...on_matrix.aspx)
Posts 31–32 of 32 · Page 3 of 3
This thread is closed for replies.

Similar Threads

Talk with us