- Home /
Question by
ejhung · Apr 21, 2016 at 04:50 AM ·
webplayerprojectionmatrix
ProjectionMatrix & worldtoCameraMatrix calculation
Hey guys, got curious on projection and worldtoCamera matrices.
I know unity provides good function for converting world position to viewport point. But at this point, I do want to calculate it from very bottom.
Assume there are only two vectors provided which is the world position of Camera and GameObject. C(a,b,c,) : Camera's world position G(d,e,f,) : GameObject's world position
from these two information, how can I calculate projection matrix and worldtoCamera matrix?
Comment