home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / rayshade / Doc / Guide / transform.tex / node1_ct.html < prev    next >
LaTeX Document  |  1994-08-02  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 54 72 | 61 6e 73 66 6f 72 6d 61 |ts of Tr|ansforma|
|000000b0| 74 69 6f 6e 73 3c 2f 54 | 49 54 4c 45 3e 0a 0a 3c |tions</T|ITLE>..<|
|000000c0| 4d 45 54 41 20 48 54 54 | 50 2d 45 51 55 49 56 3d |META HTT|P-EQUIV=|
|000000d0| 22 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 22 20 43 |"Content|-Type" C|
|000000e0| 4f 4e 54 45 4e 54 3d 22 | 74 65 78 74 2f 68 74 6d |ONTENT="|text/htm|
|000000f0| 6c 3b 20 63 68 61 72 73 | 65 74 3d 75 74 66 2d 38 |l; chars|et=utf-8|
|00000100| 22 3e 0a 3c 4d 45 54 41 | 20 4e 41 4d 45 3d 22 76 |">.<META| NAME="v|
|00000110| 69 65 77 70 6f 72 74 22 | 20 43 4f 4e 54 45 4e 54 |iewport"| CONTENT|
|00000120| 3d 22 77 69 64 74 68 3d | 64 65 76 69 63 65 2d 77 |="width=|device-w|
|00000130| 69 64 74 68 2c 20 69 6e | 69 74 69 61 6c 2d 73 63 |idth, in|itial-sc|
|00000140| 61 6c 65 3d 31 2e 30 22 | 3e 0a 3c 4d 45 54 41 20 |ale=1.0"|>.<META |
|00000150| 4e 41 4d 45 3d 22 47 65 | 6e 65 72 61 74 6f 72 22 |NAME="Ge|nerator"|
|00000160| 20 43 4f 4e 54 45 4e 54 | 3d 22 4c 61 54 65 58 32 | CONTENT|="LaTeX2|
|00000170| 48 54 4d 4c 20 76 32 30 | 32 32 22 3e 0a 0a 3c 4c |HTML v20|22">..<L|
|00000180| 49 4e 4b 20 52 45 4c 3d | 22 53 54 59 4c 45 53 48 |INK REL=|"STYLESH|
|00000190| 45 45 54 22 20 48 52 45 | 46 3d 22 74 72 61 6e 73 |EET" HRE|F="trans|
|000001a0| 66 6f 72 6d 2e 63 73 73 | 22 3e 0a 0a 3c 4c 49 4e |form.css|">..<LIN|
|000001b0| 4b 20 52 45 4c 3d 22 70 | 72 65 76 69 6f 75 73 22 |K REL="p|revious"|
|000001c0| 20 48 52 45 46 3d 22 74 | 72 61 6e 73 66 6f 72 6d | HREF="t|ransform|
|000001d0| 5f 6d 6e 2e 68 74 6d 6c | 22 3e 0a 3c 4c 49 4e 4b |_mn.html|">.<LINK|
|000001e0| 20 52 45 4c 3d 22 75 70 | 22 20 48 52 45 46 3d 22 | REL="up|" HREF="|
|000001f0| 74 72 61 6e 73 66 6f 72 | 6d 5f 6d 6e 2e 68 74 6d |transfor|m_mn.htm|
|00000200| 6c 22 3e 0a 3c 2f 48 45 | 41 44 3e 0a 20 0a 3c 42 |l">.</HE|AD>. .<B|
|00000210| 4f 44 59 20 62 67 63 6f | 6c 6f 72 3d 22 23 66 66 |ODY bgco|lor="#ff|
|00000220| 66 66 66 66 22 20 74 65 | 78 74 3d 22 23 30 30 30 |ffff" te|xt="#000|
|00000230| 30 30 30 22 20 6c 69 6e | 6b 3d 22 23 39 39 34 34 |000" lin|k="#9944|
|00000240| 45 45 22 20 76 6c 69 6e | 6b 3d 22 23 30 30 30 30 |EE" vlin|k="#0000|
|00000250| 66 66 22 20 61 6c 69 6e | 6b 3d 22 23 30 30 66 66 |ff" alin|k="#00ff|
|00000260| 30 30 22 3e 0a 0a 3c 48 | 31 3e 3c 41 20 49 44 3d |00">..<H|1><A ID=|
|00000270| 22 53 45 43 54 49 4f 4e | 30 30 31 30 30 30 30 30 |"SECTION|00100000|
|00000280| 30 30 30 30 30 30 30 30 | 30 30 30 30 22 3e 0a 54 |00000000|0000">.T|
|00000290| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 73 3c 2f |ransform|ations</|
|000002a0| 41 3e 0a 3c 2f 48 31 3e | 0a 0a 3c 50 3e 0a 73 75 |A>.</H1>|..<P>.su|
|000002b0| 70 70 6f 72 74 73 20 74 | 68 65 20 61 70 70 6c 69 |pports t|he appli|
|000002c0| 63 61 74 69 6f 6e 20 6f | 66 20 6c 69 6e 65 61 72 |cation o|f linear|
|000002d0| 20 74 72 61 6e 73 66 6f | 72 6d 61 74 69 6f 6e 73 | transfo|rmations|
|000002e0| 20 74 6f 20 6f 62 6a 65 | 63 74 73 0a 61 6e 64 20 | to obje|cts.and |
|000002f0| 74 65 78 74 75 72 65 73 | 2e 20 20 49 66 20 6d 6f |textures|. If mo|
|00000300| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 74 72 61 6e |re than |one tran|
|00000310| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 69 73 20 73 70 |sformati|on is sp|
|00000320| 65 63 69 66 69 65 64 2c | 20 74 68 65 0a 74 6f 74 |ecified,| the.tot|
|00000330| 61 6c 20 72 65 73 75 6c | 74 69 6e 67 20 74 72 61 |al resul|ting tra|
|00000340| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 69 73 20 63 |nsformat|ion is c|
|00000350| 6f 6d 70 75 74 65 64 20 | 61 6e 64 20 61 70 70 6c |omputed |and appl|
|00000360| 69 65 64 2e 0a 0a 3c 50 | 3e 0a 3c 42 52 3e 0a 3c |ied...<P|>.<BR>.<|
|00000370| 49 4d 47 0a 20 20 53 54 | 59 4c 45 3d 22 68 65 69 |IMG. ST|YLE="hei|
|00000380| 67 68 74 3a 20 31 39 36 | 2e 32 35 65 78 3b 20 76 |ght: 196|.25ex; v|
|00000390| 65 72 74 69 63 61 6c 2d | 61 6c 69 67 6e 3a 20 2d |ertical-|align: -|
|000003a0| 30 2e 37 30 65 78 3b 20 | 22 20 53 52 43 3d 22 69 |0.70ex; |" SRC="i|
|000003b0| 6d 67 31 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 5c |mg1.png"|. ALT="\|
|000003c0| 62 65 67 69 6e 7b 64 65 | 66 6b 65 79 7d 7b 74 72 |begin{de|fkey}{tr|
|000003d0| 61 6e 73 6c 61 74 65 7d | 7b 5c 65 76 65 63 7b 64 |anslate}|{\evec{d|
|000003e0| 65 6c 74 61 7d 7d 0a 54 | 72 61 6e 73 6c 61 74 65 |elta}}.T|ranslate|
|000003f0| 20 28 6d 6f 76 65 29 20 | 62 79 20 7b 5c 65 6d 20 | (move) |by {\em |
|00000400| 64 65 6c 74 61 7d 2e 0a | 5c 65 6e 64 7b 64 65 66 |delta}..|\end{def|
|00000410| 6b 65 79 7d 22 3e 0a 3c | 42 52 3e 0a 0a 3c 50 3e |key}">.<|BR>..<P>|
|00000420| 0a 3c 42 52 3e 0a 3c 49 | 4d 47 0a 20 20 53 54 59 |.<BR>.<I|MG. STY|
|00000430| 4c 45 3d 22 68 65 69 67 | 68 74 3a 20 32 2e 33 38 |LE="heig|ht: 2.38|
|00000440| 65 78 3b 20 76 65 72 74 | 69 63 61 6c 2d 61 6c 69 |ex; vert|ical-ali|
|00000450| 67 6e 3a 20 31 37 36 2e | 34 30 65 78 3b 20 22 20 |gn: 176.|40ex; " |
|00000460| 53 52 43 3d 22 69 6d 67 | 32 2e 70 6e 67 22 0a 20 |SRC="img|2.png". |
|00000470| 41 4c 54 3d 22 5c 62 65 | 67 69 6e 7b 64 65 66 6b |ALT="\be|gin{defk|
|00000480| 65 79 7d 7b 72 6f 74 61 | 74 65 7d 7b 5c 65 76 65 |ey}{rota|te}{\eve|
|00000490| 63 7b 61 78 69 73 7d 20 | 24 5c 74 68 65 74 61 24 |c{axis} |$\theta$|
|000004a0| 7d 0a 52 6f 74 61 74 65 | 20 63 6f 75 6e 74 65 72 |}.Rotate| counter|
|000004b0| 2d 63 6c 6f 63 6b 77 69 | 73 65 20 61 62 6f 75 74 |-clockwi|se about|
|000004c0| 20 74 68 65 20 67 69 76 | 65 6e 20 61 78 69 73 20 | the giv|en axis |
|000004d0| 62 79 20 24 5c 74 68 65 | 74 61 24 5c 20 64 65 67 |by $\the|ta$\ deg|
|000004e0| 72 65 65 73 2e 0a 5c 65 | 6e 64 7b 64 65 66 6b 65 |rees..\e|nd{defke|
|000004f0| 79 7d 22 3e 0a 3c 42 52 | 3e 0a 0a 3c 50 3e 0a 3c |y}">.<BR|>..<P>.<|
|00000500| 42 52 3e 0a 3c 49 4d 47 | 0a 20 20 53 54 59 4c 45 |BR>.<IMG|. STYLE|
|00000510| 3d 22 68 65 69 67 68 74 | 3a 20 32 2e 31 37 65 78 |="height|: 2.17ex|
|00000520| 3b 20 76 65 72 74 69 63 | 61 6c 2d 61 6c 69 67 6e |; vertic|al-align|
|00000530| 3a 20 31 37 36 2e 36 38 | 65 78 3b 20 22 20 53 52 |: 176.68|ex; " SR|
|00000540| 43 3d 22 69 6d 67 33 2e | 70 6e 67 22 0a 20 41 4c |C="img3.|png". AL|
|00000550| 54 3d 22 5c 62 65 67 69 | 6e 7b 64 65 66 6b 65 79 |T="\begi|n{defkey|
|00000560| 7d 7b 73 63 61 6c 65 7d | 7b 5c 65 76 65 63 7b 76 |}{scale}|{\evec{v|
|00000570| 7d 7d 0a 53 63 61 6c 65 | 20 62 79 20 7b 5c 65 6d |}}.Scale| by {\em|
|00000580| 20 76 7d 2e 0a 5c 65 6e | 64 7b 64 65 66 6b 65 79 | v}..\en|d{defkey|
|00000590| 7d 22 3e 0a 3c 42 52 3e | 0a 41 6c 6c 20 74 68 72 |}">.<BR>|.All thr|
|000005a0| 65 65 20 73 63 61 6c 69 | 6e 67 20 63 6f 6d 70 6f |ee scali|ng compo|
|000005b0| 6e 65 6e 74 73 20 6d 75 | 73 74 20 62 65 20 6e 6f |nents mu|st be no|
|000005c0| 6e 2d 7a 65 72 6f 2c 20 | 65 6c 73 65 20 64 65 67 |n-zero, |else deg|
|000005d0| 65 6e 65 72 61 74 65 20 | 6d 61 74 72 69 63 65 73 |enerate |matrices|
|000005e0| 0a 77 69 6c 6c 20 72 65 | 73 75 6c 74 2e 0a 0a 3c |.will re|sult...<|
|000005f0| 50 3e 0a 3c 42 52 3e 0a | 3c 49 4d 47 0a 20 20 53 |P>.<BR>.|<IMG. S|
|00000600| 54 59 4c 45 3d 22 68 65 | 69 67 68 74 3a 20 32 2e |TYLE="he|ight: 2.|
|00000610| 31 37 65 78 3b 20 76 65 | 72 74 69 63 61 6c 2d 61 |17ex; ve|rtical-a|
|00000620| 6c 69 67 6e 3a 20 31 37 | 36 2e 35 35 65 78 3b 20 |lign: 17|6.55ex; |
|00000630| 22 20 53 52 43 3d 22 69 | 6d 67 34 2e 70 6e 67 22 |" SRC="i|mg4.png"|
|00000640| 0a 20 41 4c 54 3d 22 5c | 62 65 67 69 6e 7b 64 65 |. ALT="\|begin{de|
|00000650| 66 6b 65 79 7d 7b 74 72 | 61 6e 73 66 6f 72 6d 7d |fkey}{tr|ansform}|
|00000660| 7b 5c 65 76 65 63 7b 72 | 6f 77 31 7d 20 5c 65 76 |{\evec{r|ow1} \ev|
|00000670| 65 63 7b 72 6f 77 32 7d | 20 5c 65 76 65 63 7b 72 |ec{row2}| \evec{r|
|00000680| 6f 77 33 7d 20 5b 5c 65 | 76 65 63 7b 64 65 6c 74 |ow3} [\e|vec{delt|
|00000690| 61 7d 5d 7d 0a 41 70 2e | 2e 2e 0a 2e 2e 2e 61 74 |a}]}.Ap.|......at|
|000006a0| 69 6f 6e 20 6d 61 74 72 | 69 78 2e 20 49 66 20 67 |ion matr|ix. If g|
|000006b0| 69 76 65 6e 2c 20 7b 5c | 65 6d 20 64 65 6c 74 61 |iven, {\|em delta|
|000006c0| 7d 0a 73 70 65 63 69 66 | 69 65 73 20 61 20 74 72 |}.specif|ies a tr|
|000006d0| 61 6e 73 6c 61 74 69 6f | 6e 20 76 65 63 74 6f 72 |anslatio|n vector|
|000006e0| 2e 0a 5c 65 6e 64 7b 64 | 65 66 6b 65 79 7d 22 3e |..\end{d|efkey}">|
|000006f0| 0a 3c 42 52 3e 0a 0a 3c | 50 3e 0a 54 72 61 6e 73 |.<BR>..<|P>.Trans|
|00000700| 66 6f 72 6d 61 74 69 6f | 6e 73 20 73 68 6f 75 6c |formatio|ns shoul|
|00000710| 64 0a 62 65 20 73 70 65 | 63 69 66 69 65 64 20 69 |d.be spe|cified i|
|00000720| 6e 20 74 68 65 20 6f 72 | 64 65 72 20 69 6e 20 77 |n the or|der in w|
|00000730| 68 69 63 68 20 74 68 65 | 79 20 61 72 65 20 74 6f |hich the|y are to|
|00000740| 20 62 65 20 61 70 70 6c | 69 65 64 0a 69 6d 6d 65 | be appl|ied.imme|
|00000750| 64 69 61 74 65 6c 79 20 | 66 6f 6c 6c 6f 77 69 6e |diately |followin|
|00000760| 67 20 74 68 65 20 69 74 | 65 6d 20 74 6f 0a 62 65 |g the it|em to.be|
|00000770| 20 74 72 61 6e 73 66 6f | 72 6d 65 64 2e 20 20 46 | transfo|rmed. F|
|00000780| 6f 72 20 65 78 61 6d 70 | 6c 65 3a 0a 0a 3c 50 3e |or examp|le:..<P>|
|00000790| 0a 3c 50 52 45 3e 0a 20 | 20 20 20 20 20 20 20 2f |.<PRE>. | /|
|000007a0| 2a 0a 20 20 20 20 20 20 | 20 20 20 2a 20 45 6c 6c |*. | * Ell|
|000007b0| 69 70 73 6f 69 64 2c 20 | 72 6f 74 61 74 65 64 20 |ipsoid, |rotated |
|000007c0| 63 75 62 65 0a 20 20 20 | 20 20 20 20 20 20 2a 2f |cube. | */|
|000007d0| 0a 20 20 20 20 20 20 20 | 20 73 70 68 65 72 65 20 |. | sphere |
|000007e0| 31 2e 20 30 20 30 20 30 | 20 20 20 73 63 61 6c 65 |1. 0 0 0| scale|
|000007f0| 20 32 2e 20 31 2e 20 31 | 2e 20 74 72 61 6e 73 6c | 2. 1. 1|. transl|
|00000800| 61 74 65 20 30 20 30 20 | 2d 32 2e 35 0a 20 20 20 |ate 0 0 |-2.5. |
|00000810| 20 20 20 20 20 62 6f 78 | 20 30 20 30 20 30 20 2e | box| 0 0 0 .|
|00000820| 35 20 2e 35 20 2e 35 0a | 20 20 20 20 20 20 20 20 |5 .5 .5.| |
|00000830| 20 20 20 72 6f 74 61 74 | 65 20 30 20 30 20 31 20 | rotat|e 0 0 1 |
|00000840| 34 35 20 72 6f 74 61 74 | 65 20 31 20 30 20 30 20 |45 rotat|e 1 0 0 |
|00000850| 34 35 20 74 72 61 6e 73 | 6c 61 74 65 20 30 20 30 |45 trans|late 0 0|
|00000860| 20 32 2e 35 0a 3c 2f 50 | 52 45 3e 0a 0a 3c 50 3e | 2.5.</P|RE>..<P>|
|00000870| 0a 54 72 61 6e 73 66 6f | 72 6d 61 74 69 6f 6e 73 |.Transfo|rmations|
|00000880| 20 6d 61 79 20 61 6c 73 | 6f 20 62 65 20 61 70 70 | may als|o be app|
|00000890| 6c 69 65 64 20 74 6f 20 | 74 65 78 74 75 72 65 73 |lied to |textures|
|000008a0| 3a 0a 0a 3c 50 3e 0a 3c | 50 52 45 3e 0a 20 20 20 |:..<P>.<|PRE>. |
|000008b0| 70 6c 61 6e 65 20 30 20 | 30 20 2d 34 20 20 30 20 |plane 0 |0 -4 0 |
|000008c0| 30 20 31 0a 20 20 20 20 | 20 74 65 78 74 75 72 65 |0 1. | texture|
|000008d0| 20 63 68 65 63 6b 65 72 | 20 72 65 64 20 73 63 61 | checker| red sca|
|000008e0| 6c 65 20 32 20 32 20 32 | 20 72 6f 74 61 74 65 20 |le 2 2 2| rotate |
|000008f0| 30 20 30 20 31 20 34 35 | 0a 3c 2f 50 52 45 3e 0a |0 0 1 45|.</PRE>.|
|00000900| 0a 3c 50 3e 0a 4e 6f 74 | 65 20 74 68 61 74 20 74 |.<P>.Not|e that t|
|00000910| 72 61 6e 73 66 6f 72 6d | 61 74 69 6f 6e 20 70 61 |ransform|ation pa|
|00000920| 72 61 6d 65 74 65 72 73 | 20 6d 61 79 20 62 65 20 |rameters| may be |
|00000930| 73 70 65 63 69 66 69 65 | 64 20 75 73 69 6e 67 0a |specifie|d using.|
|00000940| 61 6e 69 6d 61 74 65 64 | 20 65 78 70 72 65 73 73 |animated| express|
|00000950| 69 6f 6e 73 2c 20 63 61 | 75 73 69 6e 67 20 74 68 |ions, ca|using th|
|00000960| 65 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |e transf|ormation|
|00000970| 73 20 74 68 65 6d 73 65 | 6c 76 65 73 0a 74 6f 20 |s themse|lves.to |
|00000980| 62 65 20 61 6e 69 6d 61 | 74 65 64 2e 20 20 53 65 |be anima|ted. Se|
|00000990| 65 20 41 70 70 65 6e 64 | 69 78 20 42 20 66 6f 72 |e Append|ix B for|
|000009a0| 20 66 75 72 74 68 65 72 | 20 64 65 74 61 69 6c 73 | further| details|
|000009b0| 2e 0a 0a 3c 48 52 3e 0a | 0a 3c 2f 42 4f 44 59 3e |...<HR>.|.</BODY>|
|000009c0| 0a 3c 2f 48 54 4d 4c 3e | 0a |.</HTML>|. |
+--------+-------------------------+-------------------------+--------+--------+