Remove colour attributes from body and strip most of the font tags out
This commit is contained in:
parent
7e957c0bb4
commit
c1f88ddb41
362 changed files with 1632 additions and 1706 deletions
|
|
@ -24,7 +24,7 @@
|
|||
<!--CHAPTER=63//-->
|
||||
<!--PAGES=1170-1173//-->
|
||||
<!--UNASSIGNED1//-->
|
||||
<!--UNASSIGNED2//--></HEAD><BODY LINK=#0000FF ALINK=#000099 VLINK=#0000FF BGCOLOR=#FFFFFF>
|
||||
<!--UNASSIGNED2//--></HEAD><body>
|
||||
|
||||
<CENTER>
|
||||
<TABLE BORDER>
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
; ends on cycle 14
|
||||
</PRE>
|
||||
<!-- END CODE //-->
|
||||
<H3><A NAME="Heading8"></A><FONT COLOR="#000077">The Cross Product</FONT></H3>
|
||||
<H3><A NAME="Heading8"></A>The Cross Product</H3>
|
||||
<P>When last we looked at the cross product, we found that it’s handy for generating a vector that’s normal to two other vectors. The cross product is calculated as [u<SUB>2</SUB>v<SUB>3</SUB>-u<SUB>3</SUB>v<SUB>2</SUB> u<SUB>3</SUB>v<SUB>1</SUB>-u<SUB>1</SUB>v<SUB>3</SUB> u<SUB>1</SUB>v<SUB>2</SUB>-u<SUB>2</SUB>v<SUB>1</SUB>]. The theoretical minimum cycle count for the cross product is 21 cycles. Listing 63.4 shows a straightforward implementation that calculates each component of the result separately, losing 15 cycles to stalls.</P>
|
||||
<P><B>Listing 63.4 L63-4.ASM</B></P>
|
||||
<!-- CODE //-->
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
; ends on cycle 21
|
||||
</PRE>
|
||||
<!-- END CODE //-->
|
||||
<H3><A NAME="Heading9"></A><FONT COLOR="#000077">Transformation</FONT></H3>
|
||||
<H3><A NAME="Heading9"></A>Transformation</H3>
|
||||
<P>Transforming a point, for example from worldspace to viewspace, is one of the most heavily used FP operations in realtime 3-D. Conceptually, transformation is nothing more than three dot products and three additions, as I will discuss in Chapter 61. (Note that I’m talking about a subset of a general 4x4 transformation matrix, where the fourth row is always implicitly [0 0 0 1]. This limited form suffices for common transformations, and does 25 percent less work than a full 4x4 transformation.)
|
||||
</P>
|
||||
<P>Transformation is calculated as:</P>
|
||||
|
|
@ -178,7 +178,7 @@ v<SUB>3</SUB> = m<SUB>31</SUB>u<SUB>1</SUB> + m<SUB>32</SUB>u<SUB>2</SUB> + m<SU
|
|||
|
||||
<hr width="90%" size="1" noshade>
|
||||
<div align="center">
|
||||
<font face="Verdana,sans-serif" size="1">Graphics Programming Black Book © 2001 Michael Abrash</font>
|
||||
Graphics Programming Black Book © 2001 Michael Abrash
|
||||
</div>
|
||||
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
|
||||
<!-- reference_subfoot = footer -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue