direct3d perspective projection

Started by
2 comments, last by adriano_usp 18 years, 10 months ago
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
Advertisement
The frustrum is transformed to the extents,

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

after projection and before the viewport transform.
[sub]My spoon is too big.[/sub]
Thanks!
Hi conman, you can find more information here.

This topic is closed to new replies.

Advertisement