• Create Account

### #ActualTordin

Posted 05 December 2012 - 04:42 AM

Are you refering to an orthogonal projection matrix?

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.directx.matrix.ortholh(v=vs.80).aspx
there you can find out how to do it with xna aswell as the formula for it.

2/width           0		 0				    0
0		  2/height       0				    0
0		  0		 1/(zfarPlane-znearPlane)           0
0		  0		 znearPlane/(znearPlane-zfarPlane)  1


### #3Tordin

Posted 05 December 2012 - 04:42 AM

Are you refering to an orthogonal projection matrix?

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.directx.matrix.ortholh(v=vs.80).aspx
there you can find out how to do it with xna aswell as the formula for it.

2/width           0		 0				    0
0		  2/height       0				    0
0		  0		 1/(zfarPlane-znearPlane)           0
0		  0		 znearPlane/(znearPlane-zfarPlane)  1


### #2Tordin

Posted 05 December 2012 - 04:41 AM

Are you refering to an orthogonal projection matrix?

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.directx.matrix.ortholh(v=vs.80).aspx
there you can find out how to do it with xna aswell as the formula for it.

2/width           0		 0				    0
0		  2/height       0				    0
0		  0		 1/(zfarPlane-znearPlane)           0
0		  0		 znearPlane/(znearPlane-zfarPlane)  1


### #1Tordin

Posted 05 December 2012 - 04:41 AM

Are you refering to an orthogonal projection matrix?

http://msdn.microsoft.com/en-us/library/microsoft.windowsmobile.directx.matrix.ortholh(v=vs.80).aspx
there you can find out how to do it with xna aswell as the formula for it.

2/width    0		 0								  0
0		  2/height  0								  0
0		  0		 1/(zfarPlane-znearPlane)		   0

0 0 znearPlane/(znearPlane-zfarPlane) 1

PARTNERS