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.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
|||
|
|
|
You have to know exactly what you're looking for. I believe
You just need to complete this for every angle. Keep in mind the far plane is measured from |
|||
|
