Retidy, removing align=left from headings and empty paragraphs
This commit is contained in:
parent
7b08bb15c6
commit
a96a114403
362 changed files with 8472 additions and 5040 deletions
33
61-03.html
33
61-03.html
|
|
@ -1,5 +1,4 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
|
@ -19,17 +18,21 @@
|
|||
<center>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td><a href="61-02.html">Previous</a></td>
|
||||
<td>
|
||||
<a href="61-02.html">Previous</a>
|
||||
</td>
|
||||
|
||||
<td><a href="index.html">Table of Contents</a></td>
|
||||
<td>
|
||||
<a href="index.html">Table of Contents</a>
|
||||
</td>
|
||||
|
||||
<td><a href="61-04.html">Next</a></td>
|
||||
<td>
|
||||
<a href="61-04.html">Next</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
<p>Why does this matter? It matters because, on average, half the polygons in any scene are facing away from the viewer, and hence shouldn’t be drawn. One way to identify such polygons is to see whether they’re facing toward or away from the viewer; that is, whether their normals have negative z values (so they’re visible) or positive z values (so they should be culled). However, we’re talking about screenspace normals here, because the perspective projection can shift a polygon relative to the viewpoint so that although its viewspace normal has a negative z, its screenspace normal has a positive z, and vice-versa, as shown in Figure 61.3. So we need screenspace normals, but those can’t readily be generated by transformation from worldspace.</p>
|
||||
|
||||
<p><a id="Fig3"><img src="images/61-03.jpg" /><br />
|
||||
|
|
@ -37,8 +40,6 @@
|
|||
|
||||
<p>The solution is to use the cross product of two of the polygon’s edges to generate a normal. The formula for the cross product is:</p>
|
||||
|
||||
<p align="left"></p>
|
||||
|
||||
<p align="center"><img src="images/61-07d.jpg" /></p>
|
||||
|
||||
<p align="right">(eq. 7)</p>
|
||||
|
|
@ -73,16 +74,20 @@
|
|||
<p><a id="Fig5"><img src="images/61-05.jpg" /><br />
|
||||
<b>Figure 61.5</b></a> <i>Backface culling with the dot product.</i></p>
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
<center>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td><a href="61-02.html">Previous</a></td>
|
||||
<td>
|
||||
<a href="61-02.html">Previous</a>
|
||||
</td>
|
||||
|
||||
<td><a href="index.html">Table of Contents</a></td>
|
||||
<td>
|
||||
<a href="index.html">Table of Contents</a>
|
||||
</td>
|
||||
|
||||
<td><a href="61-04.html">Next</a></td>
|
||||
<td>
|
||||
<a href="61-04.html">Next</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
|
|
|||
Loading…
Reference in a new issue