direct3d perspective projection

Recommended Posts

Hi, I need to know the exact size of the unit cube the frustum is transformed by a perspective transformation matrix of direct3d (after homogenisation). I am not quite sure if it's [1, 1, 1]. And also, if the center of the unit cube is placed in the origin or maybe aligned to the x/y-plane. like that
x
|
1--------
|       |
|---1---2-------- z
|       |
-1-------
|


I searched the direct3d docs, but found no specification according this, but maybe I am blind :) Thanks, constantin

Share on other sites
The frustrum is transformed to the extents,

-1 <= x <= 1
-1 <= y <= 1
0 <= z <= 1

after projection and before the viewport transform.

Thanks!

Create an account

Register a new account

• Forum Statistics

• Total Topics
628389
• Total Posts
2982410

• 10
• 9
• 19
• 24
• 11