• Advertisement
Sign in to follow this  

direct3d perspective projection

This topic is 4641 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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 this post


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

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

after projection and before the viewport transform.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement