Build a view frustum from angles

Posted by MulletDevil on Game Development See other posts from Game Development or by MulletDevil
Published on 2012-11-27T17:41:01Z Indexed on 2012/11/27 23:32 UTC
Read the original article Hit count: 276

Filed under:
|
|

I have 4 angles, left, right, top & bottom. These angles are in degrees. They define the angle between the forward vector and the corresponding side. I am trying to use these to calculate the required values for Perseective Off Centre function found here http://docs.unity3d.com/Documentation/ScriptReference/Camera-projectionMatrix.html I tried doing (near plane-far plane) * Tan(angle) But that didn't give the correct results.

© Game Development or respective owner

Related posts about math

Related posts about algorithm