Nyad
11-23-2007, 04:20 PM
I want to calculate if a 3d point is in the view frustum or not.
I have my Frustum width and height calculated.
My point has its values - px,py,pz
If I want to find the frustum width at that point's z value
would I do this:
pz * fw and pz * fh
But must I first transform this point by the camera matrix, modelview matrix, and projection matrix?
I have my Frustum width and height calculated.
My point has its values - px,py,pz
If I want to find the frustum width at that point's z value
would I do this:
pz * fw and pz * fh
But must I first transform this point by the camera matrix, modelview matrix, and projection matrix?