How to know the Z-value of Near Clipping Plane?
Hi!
I am wookjin jung from Korea...
I have a question about the following
In D3D IM,
I can have projection matrix doing the following...
m_pDev->GetTransform(D3DTRANSFORMSTATE_PROJECTION, &m_mtxProjection);
//here m_pDev is LPDIRECT3DDEVICE7
But I want calculate the following value with this projection matrix(m_mtxProjection)
- Z value of Near Clipping Plane
- Z value of Far Clipping
- value of Fov
Please teach me...
Here''s how the projection matrix is computed: DirectX SDK Documentations
You should be able to find the z-values from that.
- WitchLord
You should be able to find the z-values from that.
- WitchLord
It would be a lot easier to just store the variables of the projection matrix. It would be faster also.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement