[CSC 315] Perspective Matrix

Andrew J. Pounds pounds_aj at mercer.edu
Mon Nov 12 11:19:26 EST 2018


The perspective matrix referred to in the homework (10-40) is actually
on page 340 (not page 341) of you text...

\documentclass{article} \usepackage[utf8x]{inputenc} \pagestyle{empty}
\begin{document} \mathrm{M_{normpers}}=\left[\begin{array}{cccc}
\frac{-2z_{\mathrm{near}}}{xw_{\mathrm{max}}-xw_{\mathrm{min}}} & 0 &
\frac{xw_{\mathrm{max}}+xw_{\mathrm{min}}}
{xw_{\mathrm{max}}-xw_{\mathrm{min}}}& 0 \\ 0 &
\frac{-2z_{\mathrm{near}}}{yw_{\mathrm{max}}-yw_{\mathrm{min}}} &
\frac{yw_{\mathrm{max}}+yw_{\mathrm{min}}}
{yw_{\mathrm{max}}-yw_{\mathrm{min}}}& 0 \\ 0 & 0 &
\frac{z_{\mathrm{near}}+z_{\mathrm{far}}}{z_{\mathrm{near}}-z_{\mathrm{far}}}
&
\frac{-2z_{\mathrm{near}}z_{\mathrm{far}}}{z_{\mathrm{near}}-z_{\mathrm{far}}}
\\ 0 & 0 & -1 & 0 \end{array} \right] \end{document}

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc315/attachments/20181112/092ceac1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foojmlpghkgpdfbc.png
Type: image/png
Size: 3180 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc315/attachments/20181112/092ceac1/attachment.png>


More information about the csc315 mailing list