next up previous contents
Next: 23.1.2 Orthographic Projection Up: 23.1 Projection Matrices Previous: 23.1 Projection Matrices

23.1.1 Perspective Projection

The call glFrustum, r, b, t, n, f(l, r, b, t, n, f) generates R, where:

\begin{displaymath}R = \pmatrix{{{2n} \over {r-l}}& 0 & {{r+l} \over {r-l}} & 0\...
...& -1\cr
0 & 0 & {-{f-n} \over {2fn}} & {{f+n} \over {2fn}}\cr}\end{displaymath}

R is defined as long as $l \neq r$, $t \neq b$, and $n \neq f$.



David Blythe
1999-08-06