Original Post
hi all, I am looking to find the end points of the frustum created by the camera with a known horizontal and vertical field of view; the camera is centered at origin; to find the top right corner of the frustum, i created a rotation matrix with {-(0.5 * horizontal FOV), 0.5 * vertical FOV, 0.0f} (x is negative coz of right hand rule !!)and multiplied the vector 0.0, 0.0, 1.0 with this matrix to get the vector passing thru' the top right corner of the frustum from origin. basically i create a square with the obtained 4 corners of the frustum and render the same to validate the frustum corners. It seems the corners have a minor error on y values; (the obtained y values seems to be little high). I tested the output by reducing the x & y values by a small value to see the area of square being reduced and i could see a border of space between square and edges of the screen. how do i fix this error on y value? am sure this must be met by many here. help me out !! ~ kavitha