home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / rayshade / Doc / Guide / running.tex / node6_ct.html < prev    next >
LaTeX Document  |  1994-08-02  |  2.2 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 68 | 65 20 52 61 79 20 54 72 |ts of Th|e Ray Tr|
|000000b0| 65 65 3c 2f 54 49 54 4c | 45 3e 0a 0a 3c 4d 45 54 |ee</TITL|E>..<MET|
|000000c0| 41 20 48 54 54 50 2d 45 | 51 55 49 56 3d 22 43 6f |A HTTP-E|QUIV="Co|
|000000d0| 6e 74 65 6e 74 2d 54 79 | 70 65 22 20 43 4f 4e 54 |ntent-Ty|pe" CONT|
|000000e0| 45 4e 54 3d 22 74 65 78 | 74 2f 68 74 6d 6c 3b 20 |ENT="tex|t/html; |
|000000f0| 63 68 61 72 73 65 74 3d | 75 74 66 2d 38 22 3e 0a |charset=|utf-8">.|
|00000100| 3c 4d 45 54 41 20 4e 41 | 4d 45 3d 22 76 69 65 77 |<META NA|ME="view|
|00000110| 70 6f 72 74 22 20 43 4f | 4e 54 45 4e 54 3d 22 77 |port" CO|NTENT="w|
|00000120| 69 64 74 68 3d 64 65 76 | 69 63 65 2d 77 69 64 74 |idth=dev|ice-widt|
|00000130| 68 2c 20 69 6e 69 74 69 | 61 6c 2d 73 63 61 6c 65 |h, initi|al-scale|
|00000140| 3d 31 2e 30 22 3e 0a 3c | 4d 45 54 41 20 4e 41 4d |=1.0">.<|META NAM|
|00000150| 45 3d 22 47 65 6e 65 72 | 61 74 6f 72 22 20 43 4f |E="Gener|ator" CO|
|00000160| 4e 54 45 4e 54 3d 22 4c | 61 54 65 58 32 48 54 4d |NTENT="L|aTeX2HTM|
|00000170| 4c 20 76 32 30 32 32 22 | 3e 0a 0a 3c 4c 49 4e 4b |L v2022"|>..<LINK|
|00000180| 20 52 45 4c 3d 22 53 54 | 59 4c 45 53 48 45 45 54 | REL="ST|YLESHEET|
|00000190| 22 20 48 52 45 46 3d 22 | 72 75 6e 6e 69 6e 67 2e |" HREF="|running.|
|000001a0| 63 73 73 22 3e 0a 0a 3c | 4c 49 4e 4b 20 52 45 4c |css">..<|LINK REL|
|000001b0| 3d 22 70 72 65 76 69 6f | 75 73 22 20 48 52 45 46 |="previo|us" HREF|
|000001c0| 3d 22 6e 6f 64 65 35 5f | 6d 6e 2e 68 74 6d 6c 22 |="node5_|mn.html"|
|000001d0| 3e 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 75 70 22 |>.<LINK |REL="up"|
|000001e0| 20 48 52 45 46 3d 22 6e | 6f 64 65 31 5f 6d 6e 2e | HREF="n|ode1_mn.|
|000001f0| 68 74 6d 6c 22 3e 0a 3c | 2f 48 45 41 44 3e 0a 20 |html">.<|/HEAD>. |
|00000200| 0a 3c 42 4f 44 59 20 62 | 67 63 6f 6c 6f 72 3d 22 |.<BODY b|gcolor="|
|00000210| 23 66 66 66 66 66 66 22 | 20 74 65 78 74 3d 22 23 |#ffffff"| text="#|
|00000220| 30 30 30 30 30 30 22 20 | 6c 69 6e 6b 3d 22 23 39 |000000" |link="#9|
|00000230| 39 34 34 45 45 22 20 76 | 6c 69 6e 6b 3d 22 23 30 |944EE" v|link="#0|
|00000240| 30 30 30 66 66 22 20 61 | 6c 69 6e 6b 3d 22 23 30 |000ff" a|link="#0|
|00000250| 30 66 66 30 30 22 3e 0a | 0a 3c 48 31 3e 3c 41 20 |0ff00">.|.<H1><A |
|00000260| 49 44 3d 22 53 45 43 54 | 49 4f 4e 30 30 31 35 30 |ID="SECT|ION00150|
|00000270| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 22 |00000000|0000000"|
|00000280| 3e 0a 54 68 65 20 52 61 | 79 20 54 72 65 65 3c 2f |>.The Ra|y Tree</|
|00000290| 41 3e 0a 3c 2f 48 31 3e | 0a 0a 3c 50 3e 0a 57 68 |A>.</H1>|..<P>.Wh|
|000002a0| 65 6e 20 72 61 79 20 74 | 72 61 63 69 6e 67 20 61 |en ray t|racing a|
|000002b0| 20 73 63 65 6e 65 2c 20 | 72 65 66 6c 65 63 74 65 | scene, |reflecte|
|000002c0| 64 20 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 65 64 |d or tra|nsmitted|
|000002d0| 20 72 61 79 73 20 6d 61 | 79 20 73 74 72 69 6b 65 | rays ma|y strike|
|000002e0| 0a 6f 74 68 65 72 20 72 | 65 66 6c 65 63 74 69 76 |.other r|eflectiv|
|000002f0| 65 20 6f 72 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |e or tra|nsparent|
|00000300| 20 6f 62 6a 65 63 74 73 | 2e 20 20 46 75 72 74 68 | objects|. Furth|
|00000310| 65 72 20 72 65 66 6c 65 | 63 74 65 64 20 6f 72 0a |er refle|cted or.|
|00000320| 74 72 61 6e 73 6d 69 74 | 74 65 64 20 72 61 79 73 |transmit|ted rays|
|00000330| 20 77 69 6c 6c 20 62 65 | 20 73 70 61 77 6e 65 64 | will be| spawned|
|00000340| 2c 20 61 6e 64 20 73 6f | 20 6f 6e 2e 20 20 54 61 |, and so| on. Ta|
|00000350| 6b 65 6e 20 74 6f 67 65 | 74 68 65 72 2c 20 73 75 |ken toge|ther, su|
|00000360| 63 68 0a 61 20 66 61 6d | 69 6c 79 20 6f 66 20 72 |ch.a fam|ily of r|
|00000370| 61 79 73 20 69 73 20 74 | 65 72 6d 65 64 20 74 68 |ays is t|ermed th|
|00000380| 65 20 3c 45 4d 3e 72 61 | 79 20 74 72 65 65 3c 2f |e <EM>ra|y tree</|
|00000390| 45 4d 3e 2e 20 20 43 61 | 72 65 20 6d 75 73 74 20 |EM>. Ca|re must |
|000003a0| 62 65 20 74 61 6b 65 6e | 0a 74 6f 20 63 6f 6e 74 |be taken|.to cont|
|000003b0| 72 6f 6c 20 74 68 65 20 | 64 65 70 74 68 20 6f 66 |rol the |depth of|
|000003c0| 20 74 68 69 73 20 74 72 | 65 65 3a 20 20 49 66 20 | this tr|ee: If |
|000003d0| 69 74 20 69 73 20 61 6c | 6c 6f 77 65 64 20 74 6f |it is al|lowed to|
|000003e0| 20 67 72 6f 77 20 74 6f | 6f 20 64 65 65 70 6c 79 | grow to|o deeply|
|000003f0| 2c 0a 6f 6e 65 20 6d 61 | 79 20 73 70 65 6e 64 20 |,.one ma|y spend |
|00000400| 61 20 67 72 65 61 74 20 | 64 65 61 6c 20 6f 66 20 |a great |deal of |
|00000410| 74 69 6d 65 20 63 6f 6d | 70 75 74 69 6e 67 20 72 |time com|puting r|
|00000420| 61 79 73 20 74 68 61 74 | 20 63 6f 6e 74 72 69 62 |ays that| contrib|
|00000430| 75 74 65 20 6c 69 74 74 | 6c 65 0a 74 6f 20 74 68 |ute litt|le.to th|
|00000440| 65 20 66 69 6e 61 6c 20 | 70 69 63 74 75 72 65 3b |e final |picture;|
|00000450| 20 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 61 6c | if it i|s not al|
|00000460| 6c 6f 77 65 64 20 74 6f | 20 67 72 6f 77 20 66 61 |lowed to| grow fa|
|00000470| 72 20 65 6e 6f 75 67 68 | 2c 20 74 68 69 73 0a 70 |r enough|, this.p|
|00000480| 72 65 6d 61 74 75 72 65 | 20 74 72 65 65 20 70 72 |remature| tree pr|
|00000490| 75 6e 69 6e 67 20 6d 61 | 79 20 62 65 20 65 76 69 |uning ma|y be evi|
|000004a0| 64 65 6e 74 20 69 6e 20 | 74 68 65 20 69 6d 61 67 |dent in |the imag|
|000004b0| 65 2e 0a 0a 3c 50 3e 0a | 70 72 6f 76 69 64 65 73 |e...<P>.|provides|
|000004c0| 20 74 77 6f 20 63 6f 6d | 70 6c 65 6d 65 6e 74 61 | two com|plementa|
|000004d0| 72 79 20 6d 65 74 68 6f | 64 73 20 66 6f 72 20 63 |ry metho|ds for c|
|000004e0| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 20 74 68 65 20 64 |ontrolli|ng the d|
|000004f0| 65 70 74 68 0a 6f 66 20 | 74 68 65 20 72 61 79 20 |epth.of |the ray |
|00000500| 74 72 65 65 2e 20 20 4f | 6e 65 20 6d 65 74 68 6f |tree. O|ne metho|
|00000510| 64 20 73 65 74 73 20 61 | 6e 20 61 62 73 6f 6c 75 |d sets a|n absolu|
|00000520| 74 65 20 6d 61 78 69 6d | 75 6d 20 66 6f 72 20 74 |te maxim|um for t|
|00000530| 68 65 20 74 72 65 65 2e | 20 20 54 68 65 0a 6f 74 |he tree.| The.ot|
|00000540| 68 65 72 20 61 6c 6c 6f | 77 73 20 6f 6e 65 20 74 |her allo|ws one t|
|00000550| 6f 20 61 64 61 70 74 69 | 76 65 6c 79 20 70 72 75 |o adapti|vely pru|
|00000560| 6e 65 20 61 20 74 72 65 | 65 20 61 73 20 69 74 20 |ne a tre|e as it |
|00000570| 67 72 6f 77 73 20 73 6f | 20 74 68 61 74 20 60 60 |grows so| that ``|
|00000580| 75 6e 69 6d 70 6f 72 74 | 61 6e 74 27 27 0a 72 61 |unimport|ant''.ra|
|00000590| 79 73 20 61 72 65 20 6e | 6f 74 20 73 70 61 77 6e |ys are n|ot spawn|
|000005a0| 65 64 2e 0a 0a 3c 50 3e | 0a 3c 42 52 3e 0a 3c 49 |ed...<P>|.<BR>.<I|
|000005b0| 4d 47 0a 20 20 53 54 59 | 4c 45 3d 22 68 65 69 67 |MG. STY|LE="heig|
|000005c0| 68 74 3a 20 32 2e 33 38 | 65 78 3b 20 76 65 72 74 |ht: 2.38|ex; vert|
|000005d0| 69 63 61 6c 2d 61 6c 69 | 67 6e 3a 20 31 37 36 2e |ical-ali|gn: 176.|
|000005e0| 34 30 65 78 3b 20 22 20 | 53 52 43 3d 22 69 6d 67 |40ex; " |SRC="img|
|000005f0| 39 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 5c 62 65 |9.png". |ALT="\be|
|00000600| 67 69 6e 7b 64 65 66 6b | 65 79 7d 7b 6d 61 78 64 |gin{defk|ey}{maxd|
|00000610| 65 70 74 68 7d 7b 7b 5c | 65 6d 20 6c 65 76 65 6c |epth}{{\|em level|
|00000620| 7d 7d 0a 44 6f 20 6e 6f | 74 20 73 70 61 77 6e 20 |}}.Do no|t spawn |
|00000630| 72 61 79 73 20 64 65 65 | 70 65 72 20 74 68 61 6e |rays dee|per than|
|00000640| 20 74 68 6f 73 65 20 61 | 74 20 74 68 65 20 67 69 | those a|t the gi|
|00000650| 76 65 6e 20 7b 5c 65 6d | 20 6c 65 76 65 6c 7d 2e |ven {\em| level}.|
|00000660| 0a 5c 65 6e 64 7b 64 65 | 66 6b 65 79 7d 22 3e 0a |.\end{de|fkey}">.|
|00000670| 3c 42 52 3e 0a 52 61 79 | 73 20 66 72 6f 6d 20 74 |<BR>.Ray|s from t|
|00000680| 68 65 20 65 79 65 20 61 | 72 65 20 6f 66 20 64 65 |he eye a|re of de|
|00000690| 70 74 68 20 7a 65 72 6f | 2e 20 20 54 68 65 20 64 |pth zero|. The d|
|000006a0| 65 66 61 75 6c 74 20 76 | 61 6c 75 65 20 66 6f 72 |efault v|alue for|
|000006b0| 0a 3c 45 4d 3e 6c 65 76 | 65 6c 3c 2f 45 4d 3e 20 |.<EM>lev|el</EM> |
|000006c0| 69 73 20 31 35 2e 0a 54 | 68 69 73 20 64 65 70 74 |is 15..T|his dept|
|000006d0| 68 20 6d 61 79 20 61 6c | 73 6f 20 62 65 20 73 65 |h may al|so be se|
|000006e0| 74 20 66 72 6f 6d 20 74 | 68 65 20 63 6f 6d 6d 61 |t from t|he comma|
|000006f0| 6e 64 20 6c 69 6e 65 20 | 74 68 72 6f 75 67 68 20 |nd line |through |
|00000700| 74 68 65 20 3c 54 54 3e | 2d 44 3c 2f 54 54 3e 20 |the <TT>|-D</TT> |
|00000710| 6f 70 74 69 6f 6e 2e 0a | 0a 3c 50 3e 0a 3c 42 52 |option..|.<P>.<BR|
|00000720| 3e 0a 3c 49 4d 47 0a 20 | 20 53 54 59 4c 45 3d 22 |>.<IMG. | STYLE="|
|00000730| 68 65 69 67 68 74 3a 20 | 32 2e 31 30 65 78 3b 20 |height: |2.10ex; |
|00000740| 76 65 72 74 69 63 61 6c | 2d 61 6c 69 67 6e 3a 20 |vertical|-align: |
|00000750| 31 37 36 2e 36 38 65 78 | 3b 20 22 20 53 52 43 3d |176.68ex|; " SRC=|
|00000760| 22 69 6d 67 31 30 2e 70 | 6e 67 22 0a 20 41 4c 54 |"img10.p|ng". ALT|
|00000770| 3d 22 5c 62 65 67 69 6e | 7b 64 65 66 6b 65 79 7d |="\begin|{defkey}|
|00000780| 7b 63 75 74 6f 66 66 7d | 7b 7b 5c 65 6d 20 74 68 |{cutoff}|{{\em th|
|00000790| 72 65 73 68 6f 6c 64 7d | 7d 0a 44 6f 20 6e 6f 74 |reshold}|}.Do not|
|000007a0| 20 73 70 61 77 6e 20 72 | 61 79 73 20 77 68 6f 73 | spawn r|ays whos|
|000007b0| 65 20 63 6f 6e 74 72 69 | 62 75 74 69 6f 6e 20 74 |e contri|bution t|
|000007c0| 6f 2e 2e 2e 0a 2e 2e 2e | 6e 20 61 73 20 61 20 73 |o.......|n as a s|
|000007d0| 69 6e 67 6c 65 20 66 6c | 6f 61 74 69 6e 67 2d 70 |ingle fl|oating-p|
|000007e0| 6f 69 6e 74 20 76 61 6c | 75 65 2c 0a 6f 72 20 61 |oint val|ue,.or a|
|000007f0| 73 20 61 20 72 65 64 2d | 67 72 65 65 6e 2d 62 6c |s a red-|green-bl|
|00000800| 75 65 20 74 72 69 70 6c | 65 2e 0a 5c 65 6e 64 7b |ue tripl|e..\end{|
|00000810| 64 65 66 6b 65 79 7d 22 | 3e 0a 3c 42 52 3e 0a 54 |defkey}"|>.<BR>.T|
|00000820| 68 65 20 64 65 66 61 75 | 6c 74 20 76 61 6c 75 65 |he defau|lt value|
|00000830| 20 69 73 20 30 2e 30 30 | 32 2e 20 20 54 68 69 73 | is 0.00|2. This|
|00000840| 20 74 68 72 65 73 68 6f | 6c 64 20 6d 61 79 20 61 | thresho|ld may a|
|00000850| 6c 73 6f 20 62 65 20 73 | 65 74 20 66 72 6f 6d 0a |lso be s|et from.|
|00000860| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00000870| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 3c 54 54 | through| the <TT|
|00000880| 3e 2d 54 3c 2f 54 54 3e | 20 6f 70 74 69 6f 6e 2e |>-T</TT>| option.|
|00000890| 0a 0a 3c 48 52 3e 0a 0a | 3c 2f 42 4f 44 59 3e 0a |..<HR>..|</BODY>.|
|000008a0| 3c 2f 48 54 4d 4c 3e 0a | |</HTML>.| |
+--------+-------------------------+-------------------------+--------+--------+