x
|
1--------
| |
|---1---2-------- z
| |
-1-------
|
direct3d perspective projection
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
I searched the direct3d docs, but found no specification according this,
but maybe I am blind :)
Thanks,
constantin
The frustrum is transformed to the extents,
-1 <= x <= 1
-1 <= y <= 1
0 <= z <= 1
after projection and before the viewport transform.
-1 <= x <= 1
-1 <= y <= 1
0 <= z <= 1
after projection and before the viewport transform.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement