#### Archived

This topic is now archived and is closed to further replies.

# Question about the frustum points

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

## Recommended Posts

Are these points the correct coordinates of the frustum points? pParent->vPointsOfFrustum[0] = D3DXVECTOR3(-nNearZ * cosf(nFovX / 2) + x, -nNearZ * cosf(nFovY / 2) + y, nNearZ + z); pParent->vPointsOfFrustum[1] = D3DXVECTOR3(nNearZ * cosf(nFovX / 2) + x, -nNearZ * cosf(nFovY / 2) + y, nNearZ + z); pParent->vPointsOfFrustum[2] = D3DXVECTOR3(-nNearZ * cosf(nFovX / 2) + x, nNearZ * cosf(nFovY / 2) + y, nNearZ + z); pParent->vPointsOfFrustum[3] = D3DXVECTOR3(nNearZ * cosf(nFovX / 2) + x, nNearZ * cosf(nFovY / 2) + y, nNearZ + z); pParent->vPointsOfFrustum[4] = D3DXVECTOR3(-nFarZ * cosf(nFovX / 2) + x, -nFarZ * cosf(nFovY / 2) + y, nFarZ + z); pParent->vPointsOfFrustum[5] = D3DXVECTOR3(nFarZ * cosf(nFovX / 2) + x, -nFarZ * cosf(nFovY / 2) + y, nFarZ + z); pParent->vPointsOfFrustum[6] = D3DXVECTOR3(-nFarZ * cosf(nFovX / 2) + x, nFarZ * cosf(nFovY / 2) + y, nFarZ + z); pParent->vPointsOfFrustum[7] = D3DXVECTOR3(nFarZ * cosf(nFovX / 2) + x, nFarZ * cosf(nFovY / 2) + y, nFarZ + z); Edited by - Alload on March 23, 2002 5:21:59 PM

1. 1
2. 2
frob
20
3. 3
Rutin
17
4. 4
5. 5

• 13
• 10
• 9
• 18
• 9
• ### Forum Statistics

• Total Topics
632555
• Total Posts
3007035

×