Projector Matrix

57118e9aafc673c7029bffd04969af00
0
oscarfh 101 Dec 13, 2008 at 12:43

Hi,
Its me again with my newbie questions. I have to generate a projector matrix.
I’ve googled and found this article: http://developer.nvidia.com/attach/6549
And I think my solution is in the “Eye Linear Texgen” section.
Where I should calculate

To= 1/2 0 0 1/2 Pp Vp Ve-1
  0 1/2 0 1/2  
  0 0 1/2 1/2  
  0 0 0 1/2  

Where Vp is the view matrix for the projector, Pp is the projection matrix for the projector and Ve-1 is the inverse of camera view matrix.

The information that I have is:
vector for eye,target,up;
floats for znear,zfar,fovy,aspect;

How can I build these 3 matrixes? I am (again) stuck. I’ve done some exercises by myself (google) after my last question, but in this one I am really stuck.

Thank you,
Oscar

0 Replies

Please log in or register to post a reply.

No replies have been made yet.