home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / rayshade / doc / guide / camera.tex / node2_ct.html < prev    next >
LaTeX Document  |  1992-02-09  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: node2_ct.html

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, with CRLF, LF line terminators 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% 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 43 61 | 6d 65 72 61 20 50 6f 73 |ts of Ca|mera Pos|
|000000b0| 69 74 69 6f 6e 3c 2f 54 | 49 54 4c 45 3e 0a 0a 3c |ition</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 63 61 6d 65 72 |EET" HRE|F="camer|
|000001a0| 61 2e 63 73 73 22 3e 0a | 0a 3c 4c 49 4e 4b 20 52 |a.css">.|.<LINK R|
|000001b0| 45 4c 3d 22 6e 65 78 74 | 22 20 48 52 45 46 3d 22 |EL="next|" HREF="|
|000001c0| 6e 6f 64 65 33 5f 6d 6e | 2e 68 74 6d 6c 22 3e 0a |node3_mn|.html">.|
|000001d0| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 70 72 65 76 69 |<LINK RE|L="previ|
|000001e0| 6f 75 73 22 20 48 52 45 | 46 3d 22 6e 6f 64 65 31 |ous" HRE|F="node1|
|000001f0| 5f 6d 6e 2e 68 74 6d 6c | 22 3e 0a 3c 4c 49 4e 4b |_mn.html|">.<LINK|
|00000200| 20 52 45 4c 3d 22 75 70 | 22 20 48 52 45 46 3d 22 | REL="up|" HREF="|
|00000210| 6e 6f 64 65 31 5f 6d 6e | 2e 68 74 6d 6c 22 3e 0a |node1_mn|.html">.|
|00000220| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 6e 65 78 74 22 |<LINK RE|L="next"|
|00000230| 20 48 52 45 46 3d 22 6e | 6f 64 65 33 5f 6d 6e 2e | HREF="n|ode3_mn.|
|00000240| 68 74 6d 6c 22 3e 0a 3c | 2f 48 45 41 44 3e 0a 20 |html">.<|/HEAD>. |
|00000250| 0a 3c 42 4f 44 59 20 62 | 67 63 6f 6c 6f 72 3d 22 |.<BODY b|gcolor="|
|00000260| 23 66 66 66 66 66 66 22 | 20 74 65 78 74 3d 22 23 |#ffffff"| text="#|
|00000270| 30 30 30 30 30 30 22 20 | 6c 69 6e 6b 3d 22 23 39 |000000" |link="#9|
|00000280| 39 34 34 45 45 22 20 76 | 6c 69 6e 6b 3d 22 23 30 |944EE" v|link="#0|
|00000290| 30 30 30 66 66 22 20 61 | 6c 69 6e 6b 3d 22 23 30 |000ff" a|link="#0|
|000002a0| 30 66 66 30 30 22 3e 0a | 0a 3c 48 31 3e 3c 41 20 |0ff00">.|.<H1><A |
|000002b0| 49 44 3d 22 53 45 43 54 | 49 4f 4e 30 30 31 31 30 |ID="SECT|ION00110|
|000002c0| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 22 |00000000|0000000"|
|000002d0| 3e 0a 43 61 6d 65 72 61 | 20 50 6f 73 69 74 69 6f |>.Camera| Positio|
|000002e0| 6e 3c 2f 41 3e 0a 3c 2f | 48 31 3e 0a 0a 3c 50 3e |n</A>.</|H1>..<P>|
|000002f0| 0a 54 68 65 20 74 68 72 | 65 65 20 62 61 73 69 63 |.The thr|ee basic|
|00000300| 20 63 61 6d 65 72 61 20 | 70 72 6f 70 65 72 74 69 | camera |properti|
|00000310| 65 73 20 61 72 65 20 69 | 74 73 20 70 6f 73 69 74 |es are i|ts posit|
|00000320| 69 6f 6e 2c 20 74 68 65 | 20 64 69 72 65 63 74 69 |ion, the| directi|
|00000330| 6f 6e 0d 0a 69 6e 20 77 | 68 69 63 68 20 69 74 20 |on..in w|hich it |
|00000340| 69 73 20 70 6f 69 6e 74 | 69 6e 67 2c 20 61 6e 64 |is point|ing, and|
|00000350| 20 69 74 73 20 6f 72 69 | 65 6e 74 61 74 69 6f 6e | its ori|entation|
|00000360| 2e 20 20 54 68 65 20 6b | 65 79 77 6f 72 64 73 20 |. The k|eywords |
|00000370| 66 6f 72 0d 0a 73 70 65 | 63 69 66 79 69 6e 67 20 |for..spe|cifying |
|00000380| 74 68 65 73 65 20 76 61 | 6c 75 65 73 20 61 72 65 |these va|lues are|
|00000390| 20 64 65 73 63 72 69 62 | 65 64 20 62 65 6c 6f 77 | describ|ed below|
|000003a0| 2e 0d 0a 54 68 65 20 64 | 65 66 61 75 6c 74 20 76 |...The d|efault v|
|000003b0| 61 6c 75 65 73 0d 0a 61 | 72 65 20 64 65 73 69 67 |alues..a|re desig|
|000003c0| 6e 65 64 20 74 6f 20 70 | 72 6f 76 69 64 65 20 61 |ned to p|rovide a|
|000003d0| 20 72 65 61 73 6f 6e 61 | 62 6c 65 20 76 69 65 77 | reasona|ble view|
|000003e0| 20 6f 66 20 61 20 73 70 | 68 65 72 65 20 6f 66 20 | of a sp|here of |
|000003f0| 72 61 64 69 75 73 20 32 | 0d 0a 6c 6f 63 61 74 65 |radius 2|..locate|
|00000400| 64 20 61 74 20 6f 72 69 | 67 69 6e 2e 20 20 49 66 |d at ori|gin. If|
|00000410| 20 74 68 65 73 65 20 64 | 65 66 61 75 6c 74 20 76 | these d|efault v|
|00000420| 61 6c 75 65 73 20 61 72 | 65 20 75 73 65 64 2c 0d |alues ar|e used,.|
|00000430| 0a 74 68 65 20 6f 72 69 | 67 69 6e 20 69 73 20 70 |.the ori|gin is p|
|00000440| 72 6f 6a 65 63 74 65 64 | 20 6f 6e 74 6f 20 74 68 |rojected| onto th|
|00000450| 65 20 63 65 6e 74 65 72 | 20 6f 66 20 74 68 65 20 |e center| of the |
|00000460| 69 6d 61 67 65 20 70 6c | 61 6e 65 2c 20 77 69 74 |image pl|ane, wit|
|00000470| 68 0d 0a 74 68 65 20 77 | 6f 72 6c 64 20 3c 49 3e |h..the w|orld <I>|
|00000480| 78 3c 2f 49 3e 20 61 78 | 69 73 20 20 72 75 6e 6e |x</I> ax|is runn|
|00000490| 69 6e 67 20 6c 65 66 74 | 2d 74 6f 2d 72 69 67 68 |ing left|-to-righ|
|000004a0| 74 2c 20 74 68 65 20 3c | 49 3e 7a 3c 2f 49 3e 20 |t, the <|I>z</I> |
|000004b0| 61 78 69 73 20 62 6f 74 | 74 6f 6d 2d 74 6f 2d 74 |axis bot|tom-to-t|
|000004c0| 6f 70 2c 0d 0a 61 6e 64 | 20 74 68 65 20 3c 49 3e |op,..and| the <I>|
|000004d0| 79 3c 2f 49 3e 20 61 78 | 69 73 20 67 6f 69 6e 67 |y</I> ax|is going|
|000004e0| 20 60 60 69 6e 74 6f 27 | 27 20 74 68 65 20 73 63 | ``into'|' the sc|
|000004f0| 72 65 65 6e 2e 0a 0a 3c | 50 3e 0a 3c 42 52 3e 0a |reen...<|P>.<BR>.|
|00000500| 3c 49 4d 47 0a 20 20 53 | 54 59 4c 45 3d 22 68 65 |<IMG. S|TYLE="he|
|00000510| 69 67 68 74 3a 20 31 39 | 36 2e 32 35 65 78 3b 20 |ight: 19|6.25ex; |
|00000520| 76 65 72 74 69 63 61 6c | 2d 61 6c 69 67 6e 3a 20 |vertical|-align: |
|00000530| 2d 30 2e 35 37 65 78 3b | 20 22 20 53 52 43 3d 22 |-0.57ex;| " SRC="|
|00000540| 69 6d 67 31 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img1.png|". ALT="|
|00000550| 5c 62 65 67 69 6e 7b 64 | 65 66 6b 65 79 7d 7b 65 |\begin{d|efkey}{e|
|00000560| 79 65 70 7d 7b 5c 65 76 | 65 63 7b 70 6f 73 7d 7d |yep}{\ev|ec{pos}}|
|00000570| 0a 50 6c 61 63 65 20 74 | 68 65 20 76 69 72 74 75 |.Place t|he virtu|
|00000580| 61 6c 20 63 61 6d 65 72 | 61 20 61 74 20 74 68 65 |al camer|a at the|
|00000590| 20 67 69 76 65 6e 20 70 | 6f 73 69 74 69 6f 6e 2e | given p|osition.|
|000005a0| 0a 5c 65 6e 64 7b 64 65 | 66 6b 65 79 7d 22 3e 0a |.\end{de|fkey}">.|
|000005b0| 3c 42 52 3e 0a 54 68 65 | 20 64 65 66 61 75 6c 74 |<BR>.The| default|
|000005c0| 20 63 61 6d 65 72 61 20 | 70 6f 73 69 74 69 6f 6e | camera |position|
|000005d0| 20 69 73 20 28 30 2c 20 | 2d 38 2c 20 30 29 2e 0a | is (0, |-8, 0)..|
|000005e0| 0a 3c 50 3e 0a 3c 42 52 | 3e 0a 3c 49 4d 47 0a 20 |.<P>.<BR|>.<IMG. |
|000005f0| 20 53 54 59 4c 45 3d 22 | 68 65 69 67 68 74 3a 20 | STYLE="|height: |
|00000600| 32 2e 31 30 65 78 3b 20 | 76 65 72 74 69 63 61 6c |2.10ex; |vertical|
|00000610| 2d 61 6c 69 67 6e 3a 20 | 31 37 36 2e 36 38 65 78 |-align: |176.68ex|
|00000620| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 32 2e 70 6e |; " SRC=|"img2.pn|
|00000630| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000640| 64 65 66 6b 65 79 7d 7b | 6c 6f 6f 6b 70 7d 7b 5c |defkey}{|lookp}{\|
|00000650| 65 76 65 63 7b 70 6f 73 | 7d 7d 0a 50 6f 69 6e 74 |evec{pos|}}.Point|
|00000660| 20 74 68 65 20 76 69 72 | 74 75 61 6c 20 63 61 6d | the vir|tual cam|
|00000670| 65 72 61 20 74 6f 77 61 | 72 64 20 74 68 65 20 67 |era towa|rd the g|
|00000680| 69 76 65 6e 20 70 6f 73 | 69 74 69 6f 6e 2e 0a 5c |iven pos|ition..\|
|00000690| 65 6e 64 7b 64 65 66 6b | 65 79 7d 22 3e 0a 3c 42 |end{defk|ey}">.<B|
|000006a0| 52 3e 0a 54 68 65 20 64 | 65 66 61 75 6c 74 20 6c |R>.The d|efault l|
|000006b0| 6f 6f 6b 20 70 6f 69 6e | 74 20 69 73 20 74 68 65 |ook poin|t is the|
|000006c0| 20 6f 72 69 67 69 6e 20 | 28 30 2c 20 30 2c 20 30 | origin |(0, 0, 0|
|000006d0| 29 2e 20 20 54 68 65 20 | 6c 6f 6f 6b 20 70 6f 69 |). The |look poi|
|000006e0| 6e 74 0d 0a 61 6e 64 20 | 63 61 6d 65 72 61 20 70 |nt..and |camera p|
|000006f0| 6f 73 69 74 69 6f 6e 20 | 6d 75 73 74 20 6e 6f 74 |osition |must not|
|00000700| 20 62 65 20 63 6f 69 6e | 63 69 64 65 6e 74 2e 0a | be coin|cident..|
|00000710| 0a 3c 50 3e 0a 3c 42 52 | 3e 0a 3c 49 4d 47 0a 20 |.<P>.<BR|>.<IMG. |
|00000720| 20 53 54 59 4c 45 3d 22 | 68 65 69 67 68 74 3a 20 | STYLE="|height: |
|00000730| 32 2e 31 30 65 78 3b 20 | 76 65 72 74 69 63 61 6c |2.10ex; |vertical|
|00000740| 2d 61 6c 69 67 6e 3a 20 | 31 37 36 2e 36 38 65 78 |-align: |176.68ex|
|00000750| 3b 20 22 20 53 52 43 3d | 22 69 6d 67 33 2e 70 6e |; " SRC=|"img3.pn|
|00000760| 67 22 0a 20 41 4c 54 3d | 22 5c 62 65 67 69 6e 7b |g". ALT=|"\begin{|
|00000770| 64 65 66 6b 65 79 7d 7b | 75 70 7d 7b 5c 65 76 65 |defkey}{|up}{\eve|
|00000780| 63 7b 64 69 72 65 63 74 | 69 6f 6e 7d 7d 0a 54 68 |c{direct|ion}}.Th|
|00000790| 65 20 5c 6c 71 5c 6c 71 | 20 75 70 27 27 20 76 65 |e \lq\lq| up'' ve|
|000007a0| 63 74 6f 72 20 66 72 6f | 6d 20 74 68 65 20 63 61 |ctor fro|m the ca|
|000007b0| 6d 65 72 61 20 70 6f 69 | 6e 74 20 69 73 20 73 65 |mera poi|nt is se|
|000007c0| 74 20 74 6f 20 74 68 65 | 0a 67 69 76 65 6e 20 64 |t to the|.given d|
|000007d0| 69 72 65 63 74 69 6f 6e | 2e 0a 5c 65 6e 64 7b 64 |irection|..\end{d|
|000007e0| 65 66 6b 65 79 7d 22 3e | 0a 3c 42 52 3e 0a 54 68 |efkey}">|.<BR>.Th|
|000007f0| 69 73 20 75 70 20 76 65 | 63 74 6f 72 20 6e 65 65 |is up ve|ctor nee|
|00000800| 64 20 6e 6f 74 20 62 65 | 20 6f 72 74 68 6f 67 6f |d not be| orthogo|
|00000810| 6e 61 6c 20 74 6f 0d 0a | 74 68 65 20 76 69 65 77 |nal to..|the view|
|00000820| 20 76 65 63 74 6f 72 2c | 20 6e 6f 72 20 6e 65 65 | vector,| nor nee|
|00000830| 64 20 69 74 20 62 65 20 | 6e 6f 72 6d 61 6c 69 7a |d it be |normaliz|
|00000840| 65 64 2e 20 20 54 68 65 | 20 64 65 66 61 75 6c 74 |ed. The| default|
|00000850| 20 75 70 0d 0a 64 69 72 | 65 63 74 69 6f 6e 20 69 | up..dir|ection i|
|00000860| 73 20 28 30 2c 20 30 2c | 20 31 29 2e 0a 0a 3c 50 |s (0, 0,| 1)...<P|
|00000870| 3e 0a 41 6e 6f 74 68 65 | 72 20 70 6f 70 75 6c 61 |>.Anothe|r popula|
|00000880| 72 20 73 74 61 6e 64 61 | 72 64 20 76 69 65 77 69 |r standa|rd viewi|
|00000890| 6e 67 20 67 65 6f 6d 65 | 74 72 79 2c 20 77 69 74 |ng geome|try, wit|
|000008a0| 68 20 74 68 65 20 3c 49 | 3e 78 3c 2f 49 3e 20 61 |h the <I|>x</I> a|
|000008b0| 78 69 73 20 72 75 6e 6e | 69 6e 67 0d 0a 6c 65 66 |xis runn|ing..lef|
|000008c0| 74 2d 74 6f 2d 72 69 67 | 68 74 2c 0d 0a 74 68 65 |t-to-rig|ht,..the|
|000008d0| 20 3c 49 3e 79 3c 2f 49 | 3e 20 61 78 69 73 20 62 | <I>y</I|> axis b|
|000008e0| 6f 74 74 6f 6d 2d 74 6f | 2d 74 6f 70 2c 20 61 6e |ottom-to|-top, an|
|000008f0| 64 20 74 68 65 20 3c 49 | 3e 7a 3c 2f 49 3e 20 61 |d the <I|>z</I> a|
|00000900| 78 69 73 20 70 6f 69 6e | 74 69 6e 67 20 6f 75 74 |xis poin|ting out|
|00000910| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 2c 0d | of the |screen,.|
|00000920| 0a 6d 61 79 20 62 65 20 | 6f 62 74 61 69 6e 65 64 |.may be |obtained|
|00000930| 20 62 79 20 73 65 74 74 | 69 6e 67 20 74 68 65 20 | by sett|ing the |
|00000940| 75 70 20 76 65 63 74 6f | 72 20 74 6f 20 28 30 2c |up vecto|r to (0,|
|00000950| 20 31 2c 20 30 29 20 61 | 6e 64 20 62 79 20 70 6c | 1, 0) a|nd by pl|
|00000960| 61 63 69 6e 67 0d 0a 74 | 68 65 20 63 61 6d 65 72 |acing..t|he camer|
|00000970| 61 20 6f 6e 20 74 68 65 | 20 70 6f 73 69 74 69 76 |a on the| positiv|
|00000980| 65 20 3c 49 3e 7a 3c 2f | 49 3e 20 61 78 69 73 2e |e <I>z</|I> axis.|
|00000990| 0a 0a 3c 50 3e 0a 0a 3c | 48 52 3e 0a 0a 3c 2f 42 |..<P>..<|HR>..</B|
|000009a0| 4f 44 59 3e 0a 3c 2f 48 | 54 4d 4c 3e 0a |ODY>.</H|TML>. |
+--------+-------------------------+-------------------------+--------+--------+