home *** CD-ROM | disk | FTP | other *** search
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: animate.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 63 68 61 70 74 65 72 | 7b 41 6e 69 6d 61 74 69 |\chapter|{Animati|
|00000010| 6f 6e 7d 0d 0a 0d 0a 7b | 5c 52 61 79 73 68 61 64 |on}....{|\Rayshad|
|00000020| 65 7d 5c 20 70 72 6f 76 | 69 64 65 73 20 62 61 73 |e}\ prov|ides bas|
|00000030| 69 63 20 61 6e 69 6d 61 | 74 69 6f 6e 20 61 6e 69 |ic anima|tion ani|
|00000040| 6d 61 74 69 6f 6e 20 73 | 75 70 70 6f 72 74 20 62 |mation s|upport b|
|00000050| 79 0d 0a 61 6c 6c 6f 77 | 69 6e 67 20 74 69 6d 65 |y..allow|ing time|
|00000060| 2d 76 61 72 79 69 6e 67 | 0d 0a 74 72 61 6e 73 66 |-varying|..transf|
|00000070| 6f 72 6d 61 74 69 6f 6e | 73 20 74 6f 20 62 65 20 |ormation|s to be |
|00000080| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00000090| 70 72 69 6d 69 74 69 76 | 65 73 20 61 6e 64 20 61 |primitiv|es and a|
|000000a0| 67 67 72 65 67 61 74 65 | 20 6f 62 6a 65 63 74 73 |ggregate| objects|
|000000b0| 2e 0d 0a 43 6f 6d 6d 61 | 6e 64 73 20 61 72 65 20 |...Comma|nds are |
|000000c0| 70 72 6f 76 69 64 65 64 | 20 66 6f 72 20 63 6f 6e |provided| for con|
|000000d0| 74 72 6f 6c 6c 69 6e 67 | 20 74 68 65 20 61 6d 6f |trolling| the amo|
|000000e0| 75 6e 74 20 6f 66 20 74 | 69 6d 65 20 62 65 74 77 |unt of t|ime betw|
|000000f0| 65 65 6e 20 65 61 63 68 | 0d 0a 66 72 61 6d 65 2c |een each|..frame,|
|00000100| 20 74 68 65 20 73 70 65 | 65 64 20 6f 66 20 74 68 | the spe|ed of th|
|00000110| 65 20 63 61 6d 65 72 61 | 20 73 68 75 74 74 65 72 |e camera| shutter|
|00000120| 2c 20 61 6e 64 20 74 68 | 65 20 74 6f 74 61 6c 20 |, and th|e total |
|00000130| 6e 75 6d 62 65 72 20 6f | 66 20 66 72 61 6d 65 73 |number o|f frames|
|00000140| 0d 0a 74 6f 20 62 65 20 | 72 65 6e 64 65 72 65 64 |..to be |rendered|
|00000150| 2e 0d 0a 0d 0a 42 79 20 | 64 65 66 61 75 6c 74 2c |.....By |default,|
|00000160| 20 7b 5c 72 61 79 73 68 | 61 64 65 7d 20 72 65 6e | {\raysh|ade} ren|
|00000170| 64 65 72 73 20 61 20 73 | 69 6e 67 6c 65 20 66 72 |ders a s|ingle fr|
|00000180| 61 6d 65 2c 20 77 69 74 | 68 20 74 68 65 20 73 68 |ame, wit|h the sh|
|00000190| 75 74 74 65 72 20 6f 70 | 65 6e 20 66 6f 72 0d 0a |utter op|en for..|
|000001a0| 61 6e 20 69 6e 73 74 61 | 6e 74 20 28 30 20 75 6e |an insta|nt (0 un|
|000001b0| 69 74 73 20 6f 66 20 74 | 69 6d 65 2c 20 69 6e 20 |its of t|ime, in |
|000001c0| 66 61 63 74 29 2e 20 20 | 54 68 65 20 73 68 75 74 |fact). |The shut|
|000001d0| 74 65 72 20 73 70 65 65 | 64 20 69 6e 20 6e 6f 20 |ter spee|d in no |
|000001e0| 77 61 79 0d 0a 63 68 61 | 6e 67 65 73 20 74 68 65 |way..cha|nges the|
|000001f0| 20 6c 69 67 68 74 2d 67 | 61 74 68 65 72 69 6e 67 | light-g|athering|
|00000200| 20 70 72 6f 70 65 72 74 | 69 65 73 20 6f 66 20 74 | propert|ies of t|
|00000210| 68 65 20 63 61 6d 65 72 | 61 2c 20 69 2e 65 2e 2c |he camer|a, i.e.,|
|00000220| 20 66 72 61 6d 65 73 0d | 0a 72 65 6e 64 65 72 65 | frames.|.rendere|
|00000230| 64 20 75 73 69 6e 67 0d | 0a 61 20 6c 6f 6e 67 65 |d using.|.a longe|
|00000240| 72 20 65 78 70 6f 73 75 | 72 65 20 77 69 6c 6c 20 |r exposu|re will |
|00000250| 6e 6f 74 20 61 70 70 65 | 61 72 20 62 72 69 67 68 |not appe|ar brigh|
|00000260| 74 65 72 20 74 68 61 6e | 20 74 68 6f 73 65 20 77 |ter than| those w|
|00000270| 69 74 68 20 61 20 73 68 | 6f 72 74 65 72 0d 0a 65 |ith a sh|orter..e|
|00000280| 78 70 6f 73 75 72 65 2e | 20 20 54 68 65 20 6f 6e |xposure.| The on|
|00000290| 6c 79 20 63 68 61 6e 67 | 65 20 77 69 6c 6c 20 62 |ly chang|e will b|
|000002a0| 65 20 69 6e 20 74 68 65 | 20 70 6f 74 65 6e 74 69 |e in the| potenti|
|000002b0| 61 6c 20 61 6d 6f 75 6e | 74 20 6f 66 20 6d 6f 76 |al amoun|t of mov|
|000002c0| 65 6d 65 6e 74 0d 0a 74 | 68 61 74 20 74 68 65 0d |ement..t|hat the.|
|000002d0| 0a 66 72 61 6d 65 20 60 | 60 73 65 65 73 27 27 20 |.frame `|`sees'' |
|000002e0| 64 75 72 69 6e 67 20 74 | 68 65 20 74 69 6d 65 20 |during t|he time |
|000002f0| 74 68 61 74 20 74 68 65 | 20 73 68 75 74 74 65 72 |that the| shutter|
|00000300| 20 69 73 20 6f 70 65 6e | 2e 0d 0a 0d 0a 45 61 63 | is open|.....Eac|
|00000310| 68 20 72 61 79 20 63 61 | 73 74 20 62 79 20 7b 5c |h ray ca|st by {\|
|00000320| 72 61 79 73 68 61 64 65 | 7d 20 73 61 6d 70 6c 65 |rayshade|} sample|
|00000330| 73 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 6d |s a part|icular m|
|00000340| 6f 6d 65 6e 74 20 69 6e | 20 74 69 6d 65 2e 0d 0a |oment in| time...|
|00000350| 54 68 65 20 74 69 6d 65 | 20 76 61 6c 75 65 20 61 |The time| value a|
|00000360| 73 73 69 67 6e 65 64 20 | 74 6f 20 61 20 72 61 79 |ssigned |to a ray|
|00000370| 0d 0a 72 61 6e 67 65 73 | 20 66 72 6f 6d 20 74 68 |..ranges| from th|
|00000380| 65 20 73 74 61 72 74 69 | 6e 67 20 74 69 6d 65 20 |e starti|ng time |
|00000390| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 66 |of the c|urrent f|
|000003a0| 72 61 6d 65 20 74 6f 20 | 74 68 65 20 73 74 61 72 |rame to |the star|
|000003b0| 74 69 6e 67 0d 0a 74 69 | 6d 65 20 70 6c 75 73 20 |ting..ti|me plus |
|000003c0| 74 68 65 20 61 6d 6f 75 | 6e 74 20 6f 66 20 74 69 |the amou|nt of ti|
|000003d0| 6d 65 20 74 68 65 20 73 | 68 75 74 74 65 72 20 69 |me the s|hutter i|
|000003e0| 73 20 6f 70 65 6e 2e 20 | 20 57 68 65 6e 0d 0a 61 |s open. | When..a|
|000003f0| 20 72 61 79 20 65 6e 63 | 6f 75 6e 74 65 72 73 20 | ray enc|ounters |
|00000400| 61 6e 20 6f 62 6a 65 63 | 74 20 6f 72 20 74 65 78 |an objec|t or tex|
|00000410| 74 75 72 65 20 74 68 61 | 74 20 70 6f 73 73 65 73 |ture tha|t posses|
|00000420| 73 65 73 20 61 6e 20 61 | 6e 69 6d 61 74 65 64 0d |ses an a|nimated.|
|00000430| 0a 74 72 61 6e 73 66 6f | 72 6d 61 74 69 6f 6e 2c |.transfo|rmation,|
|00000440| 20 74 68 65 20 74 72 61 | 6e 73 66 6f 72 6d 65 64 | the tra|nsformed|
|00000450| 0d 0a 65 6e 74 69 74 79 | 20 69 73 20 6d 6f 76 65 |..entity| is move|
|00000460| 64 20 69 6e 74 6f 20 77 | 68 61 74 65 76 65 72 20 |d into w|hatever |
|00000470| 70 6f 73 69 74 69 6f 6e | 20 69 73 20 61 70 70 72 |position| is appr|
|00000480| 6f 70 72 69 61 74 65 0d | 0a 66 6f 72 20 74 68 65 |opriate.|.for the|
|00000490| 20 72 61 79 27 73 20 63 | 75 72 72 65 6e 74 20 74 | ray's c|urrent t|
|000004a0| 69 6d 65 20 76 61 6c 75 | 65 20 62 65 66 6f 72 65 |ime valu|e before|
|000004b0| 20 69 6e 74 65 72 73 65 | 63 74 69 6f 6e 2c 20 73 | interse|ction, s|
|000004c0| 68 61 64 69 6e 67 2c 20 | 6f 72 20 74 65 78 74 75 |hading, |or textu|
|000004d0| 72 69 6e 67 0d 0a 63 6f | 6d 70 75 74 61 74 69 6f |ring..co|mputatio|
|000004e0| 6e 73 20 61 72 65 20 70 | 65 72 66 6f 72 6d 65 64 |ns are p|erformed|
|000004f0| 2e 0d 0a 0d 0a 54 68 65 | 20 73 74 61 72 74 69 6e |.....The| startin|
|00000500| 67 20 74 69 6d 65 20 6f | 66 20 74 68 65 20 63 75 |g time o|f the cu|
|00000510| 72 72 65 6e 74 20 66 72 | 61 6d 65 20 69 73 20 63 |rrent fr|ame is c|
|00000520| 6f 6d 70 75 74 65 64 20 | 75 73 69 6e 67 20 74 68 |omputed |using th|
|00000530| 65 0d 0a 6c 65 6e 67 74 | 68 20 6f 66 20 65 61 63 |e..lengt|h of eac|
|00000540| 68 20 66 72 61 6d 65 0d | 0a 74 68 65 20 63 75 72 |h frame.|.the cur|
|00000550| 72 65 6e 74 20 66 72 61 | 6d 65 20 6e 75 6d 62 65 |rent fra|me numbe|
|00000560| 72 2c 20 61 6e 64 20 74 | 68 65 20 73 74 61 72 74 |r, and t|he start|
|00000570| 69 6e 67 20 74 69 6d 65 | 20 6f 66 20 74 68 65 20 |ing time| of the |
|00000580| 66 69 72 73 74 20 66 72 | 61 6d 65 2e 0d 0a 0d 0a |first fr|ame.....|
|00000590| 5c 62 65 67 69 6e 7b 64 | 65 66 6b 65 79 7d 7b 73 |\begin{d|efkey}{s|
|000005a0| 68 75 74 74 65 72 7d 7b | 7b 5c 65 6d 20 74 7d 7d |hutter}{|{\em t}}|
|000005b0| 0d 0a 09 53 70 65 63 69 | 66 69 65 73 20 74 68 61 |...Speci|fies tha|
|000005c0| 74 20 74 68 65 20 73 68 | 75 74 74 65 72 20 69 73 |t the sh|utter is|
|000005d0| 20 6f 70 65 6e 20 66 6f | 72 20 74 20 75 6e 69 74 | open fo|r t unit|
|000005e0| 73 20 6f 66 0d 0a 09 74 | 69 6d 65 20 66 6f 72 20 |s of...t|ime for |
|000005f0| 65 61 63 68 20 65 78 70 | 6f 73 75 72 65 2e 0d 0a |each exp|osure...|
|00000600| 5c 65 6e 64 7b 64 65 66 | 6b 65 79 7d 0d 0a 41 20 |\end{def|key}..A |
|00000610| 6c 61 72 67 65 72 20 76 | 61 6c 75 65 20 6f 66 20 |larger v|alue of |
|00000620| 7b 5c 65 6d 20 74 7d 20 | 77 69 6c 6c 20 6c 65 61 |{\em t} |will lea|
|00000630| 64 20 74 6f 20 6d 6f 72 | 65 20 6d 6f 74 69 6f 6e |d to mor|e motion|
|00000640| 20 62 6c 75 72 20 69 6e | 20 74 68 65 20 66 69 6e | blur in| the fin|
|00000650| 61 6c 0d 0a 69 6d 61 67 | 65 2e 20 20 20 4e 6f 74 |al..imag|e. Not|
|00000660| 65 20 74 68 61 74 20 7b | 5c 65 6d 20 74 7d 20 6d |e that {|\em t} m|
|00000670| 61 79 20 62 65 20 67 72 | 65 61 74 65 72 20 74 68 |ay be gr|eater th|
|00000680| 61 6e 20 74 68 65 20 61 | 63 74 75 61 6c 20 6c 65 |an the a|ctual le|
|00000690| 6e 67 74 68 0d 0a 6f 66 | 20 61 20 66 72 61 6d 65 |ngth..of| a frame|
|000006a0| 2e 20 20 42 79 20 64 65 | 66 61 75 6c 74 2c 20 7b |. By de|fault, {|
|000006b0| 5c 65 6d 20 74 7d 20 69 | 73 20 7a 65 72 6f 2c 20 |\em t} i|s zero, |
|000006c0| 77 68 69 63 68 20 70 72 | 65 76 65 6e 74 73 20 61 |which pr|events a|
|000006d0| 6c 6c 20 6d 6f 74 69 6f | 6e 20 62 6c 75 72 2e 0d |ll motio|n blur..|
|000006e0| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 64 65 66 6b 65 79 |...\begi|n{defkey|
|000006f0| 7d 7b 66 72 61 6d 65 6c | 65 6e 67 74 68 7d 7b 7b |}{framel|ength}{{|
|00000700| 5c 65 6d 20 66 72 61 6d | 65 69 6e 63 7d 7d 0d 0a |\em fram|einc}}..|
|00000710| 09 53 70 65 63 69 66 69 | 65 73 20 74 68 65 20 74 |.Specifi|es the t|
|00000720| 69 6d 65 20 69 6e 63 72 | 65 6d 65 6e 74 20 62 65 |ime incr|ement be|
|00000730| 74 77 65 65 6e 20 66 72 | 61 6d 65 73 2e 0d 0a 5c |tween fr|ames...\|
|00000740| 65 6e 64 7b 64 65 66 6b | 65 79 7d 0d 0a 54 68 65 |end{defk|ey}..The|
|00000750| 20 64 65 66 61 75 6c 74 | 20 74 69 6d 65 20 62 65 | default| time be|
|00000760| 74 77 65 65 6e 20 66 72 | 61 6d 65 73 20 69 73 20 |tween fr|ames is |
|00000770| 31 20 75 6e 69 74 2e 0d | 0a 0d 0a 5c 62 65 67 69 |1 unit..|...\begi|
|00000780| 6e 7b 64 65 66 6b 65 79 | 7d 7b 73 74 61 72 74 74 |n{defkey|}{startt|
|00000790| 69 6d 65 7d 7b 7b 5c 65 | 6d 20 74 69 6d 65 7d 7d |ime}{{\e|m time}}|
|000007a0| 0d 0a 09 53 70 65 63 69 | 66 69 65 73 20 74 68 65 |...Speci|fies the|
|000007b0| 20 73 74 61 72 74 69 6e | 67 20 74 69 6d 65 20 6f | startin|g time o|
|000007c0| 66 20 74 68 65 20 66 69 | 72 73 74 20 66 72 61 6d |f the fi|rst fram|
|000007d0| 65 2e 0d 0a 5c 65 6e 64 | 7b 64 65 66 6b 65 79 7d |e...\end|{defkey}|
|000007e0| 0d 0a 42 79 20 64 65 66 | 61 75 6c 74 2c 20 7b 5c |..By def|ault, {\|
|000007f0| 65 6d 20 74 69 6d 65 7d | 20 69 73 20 7a 65 72 6f |em time}| is zero|
|00000800| 2e 0d 0a 0d 0a 56 61 72 | 69 61 62 6c 65 73 20 6d |.....Var|iables m|
|00000810| 61 79 20 62 65 20 64 65 | 66 69 6e 65 64 20 74 68 |ay be de|fined th|
|00000820| 6f 72 75 67 68 20 74 68 | 65 20 75 73 65 20 6f 66 |orugh th|e use of|
|00000830| 20 74 68 65 20 7b 5c 74 | 74 20 64 65 66 69 6e 65 | the {\t|t define|
|00000840| 7d 20 6b 65 79 77 6f 72 | 64 3a 0d 0a 0d 0a 5c 62 |} keywor|d:....\b|
|00000850| 65 67 69 6e 7b 64 65 66 | 6b 65 79 7d 7b 64 65 66 |egin{def|key}{def|
|00000860| 69 6e 65 7d 7b 7b 5c 65 | 6d 20 6e 61 6d 65 20 76 |ine}{{\e|m name v|
|00000870| 61 6c 75 65 7d 7d 0d 0a | 09 41 73 73 6f 63 69 61 |alue}}..|.Associa|
|00000880| 74 65 20 7b 5c 65 6d 20 | 6e 61 6d 65 7d 20 77 69 |te {\em |name} wi|
|00000890| 74 68 20 74 68 65 20 67 | 69 76 65 6e 20 7b 5c 65 |th the g|iven {\e|
|000008a0| 6d 20 76 61 6c 75 65 7d | 2e 20 20 56 61 6c 75 65 |m value}|. Value|
|000008b0| 20 6d 61 79 0d 0a 09 62 | 65 20 61 20 63 6f 6e 73 | may...b|e a cons|
|000008c0| 74 61 6e 74 20 6f 72 20 | 61 20 70 61 72 65 6e 74 |tant or |a parent|
|000008d0| 68 65 73 69 7a 65 64 20 | 65 78 70 72 65 73 73 69 |hesized |expressi|
|000008e0| 6f 6e 2e 0d 0a 5c 65 6e | 64 7b 64 65 66 6b 65 79 |on...\en|d{defkey|
|000008f0| 7d 0d 0a 54 68 65 20 76 | 61 72 69 61 62 6c 65 20 |}..The v|ariable |
|00000900| 7b 5c 65 6d 20 6e 61 6d | 65 7d 20 6d 61 79 20 74 |{\em nam|e} may t|
|00000910| 68 65 72 65 61 66 74 65 | 72 20 62 65 20 75 73 65 |hereafte|r be use|
|00000920| 64 20 69 6e 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |d in exp|ressions|
|00000930| 20 69 6e 20 74 68 65 0d | 0a 69 6e 70 75 74 20 66 | in the.|.input f|
|00000940| 69 6c 65 2e 0d 0a 0d 0a | 41 6e 20 61 6e 69 6d 61 |ile.....|An anima|
|00000950| 74 65 64 20 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |ted tran|sformati|
|00000960| 6f 6e 20 69 73 20 6f 6e | 65 20 66 6f 72 20 77 68 |on is on|e for wh|
|00000970| 69 63 68 20 61 6e 69 6d | 61 74 65 64 20 65 78 70 |ich anim|ated exp|
|00000980| 72 65 73 73 69 6f 6e 73 | 20 68 61 76 65 0d 0a 62 |ressions| have..b|
|00000990| 65 65 6e 20 75 73 65 64 | 20 74 6f 20 64 65 66 69 |een used| to defi|
|000009a0| 6e 65 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 6f |ne one o|r more o|
|000009b0| 66 20 69 74 73 20 70 61 | 72 61 6d 65 74 65 72 73 |f its pa|rameters|
|000009c0| 20 28 65 2e 67 2e 20 74 | 68 65 20 61 6e 67 6c 65 | (e.g. t|he angle|
|000009d0| 20 74 68 72 6f 75 67 68 | 0d 0a 77 68 69 63 68 20 | through|..which |
|000009e0| 61 20 72 6f 74 61 74 69 | 6f 6e 20 6f 63 63 75 72 |a rotati|on occur|
|000009f0| 73 29 2e 20 20 41 6e 20 | 61 6e 69 6d 61 74 65 64 |s). An |animated|
|00000a00| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 69 73 20 6f | express|ion is o|
|00000a10| 6e 65 20 74 68 61 74 20 | 6d 61 6b 65 73 0d 0a 75 |ne that |makes..u|
|00000a20| 73 65 20 6f 66 20 61 20 | 74 69 6d 65 2d 76 61 72 |se of a |time-var|
|00000a30| 79 69 6e 67 20 28 60 60 | 61 6e 69 6d 61 74 65 64 |ying (``|animated|
|00000a40| 27 27 29 20 76 61 72 69 | 61 62 6c 65 20 6f 72 20 |'') vari|able or |
|00000a50| 66 75 6e 63 74 69 6f 6e | 2e 0d 0a 0d 0a 54 68 65 |function|.....The|
|00000a60| 72 65 20 61 72 65 20 74 | 77 6f 20 73 75 70 70 6f |re are t|wo suppo|
|00000a70| 72 74 65 64 20 61 6e 69 | 6d 61 74 65 64 20 76 61 |rted ani|mated va|
|00000a80| 72 69 61 62 6c 65 73 2e | 0d 0a 54 68 65 20 66 69 |riables.|..The fi|
|00000a90| 72 73 74 2c 20 7b 5c 74 | 74 20 74 69 6d 65 7d 2c |rst, {\t|t time},|
|00000aa0| 20 69 73 20 65 71 75 61 | 6c 20 74 6f 20 74 68 65 | is equa|l to the|
|00000ab0| 20 63 75 72 72 65 6e 74 | 20 74 69 6d 65 2e 0d 0a | current| time...|
|00000ac0| 57 68 65 6e 20 61 20 72 | 61 79 20 65 6e 63 6f 75 |When a r|ay encou|
|00000ad0| 6e 74 65 72 73 20 61 6e | 20 61 6e 69 6d 61 74 65 |nters an| animate|
|00000ae0| 64 0d 0a 74 72 61 6e 73 | 66 6f 72 6d 61 74 69 6f |d..trans|formatio|
|00000af0| 6e 20 64 65 66 69 6e 65 | 64 20 75 73 69 6e 67 20 |n define|d using |
|00000b00| 61 6e 20 65 78 70 72 65 | 73 73 69 6f 6e 20 63 6f |an expre|ssion co|
|00000b10| 6e 74 61 69 6e 69 6e 67 | 20 7b 5c 74 74 20 74 69 |ntaining| {\tt ti|
|00000b20| 6d 65 7d 2c 20 74 68 65 | 20 72 61 79 0d 0a 73 75 |me}, the| ray..su|
|00000b30| 62 73 74 69 74 75 74 65 | 73 20 69 74 73 20 74 69 |bstitute|s its ti|
|00000b40| 6d 65 20 76 61 6c 75 65 | 20 69 6e 74 6f 20 74 68 |me value| into th|
|00000b50| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 20 62 65 66 |e expres|sion bef|
|00000b60| 6f 72 65 20 65 76 61 6c | 75 61 74 69 6f 6e 2e 0d |ore eval|uation..|
|00000b70| 0a 55 73 69 6e 67 20 74 | 68 65 20 7b 5c 74 74 20 |.Using t|he {\tt |
|00000b80| 74 69 6d 65 7d 20 76 61 | 72 69 61 62 6c 65 20 69 |time} va|riable i|
|00000b90| 6e 20 61 6e 20 61 6e 69 | 6d 61 74 65 64 20 65 78 |n an ani|mated ex|
|00000ba0| 70 72 65 73 73 69 6f 6e | 20 69 73 20 74 68 65 20 |pression| is the |
|00000bb0| 6d 6f 73 74 0d 0a 62 61 | 73 69 63 20 77 61 79 20 |most..ba|sic way |
|00000bc0| 74 6f 20 63 72 65 61 74 | 65 20 62 6c 75 72 2d 63 |to creat|e blur-c|
|00000bd0| 61 75 73 69 6e 67 20 6d | 6f 74 69 6f 6e 2e 0d 0a |ausing m|otion...|
|00000be0| 0d 0a 54 68 65 20 73 65 | 63 6f 6e 64 20 61 6e 69 |..The se|cond ani|
|00000bf0| 6d 61 74 65 64 20 76 61 | 72 69 61 62 6c 65 2c 20 |mated va|riable, |
|00000c00| 7b 5c 74 74 20 66 72 61 | 6d 65 7d 2c 20 69 73 20 |{\tt fra|me}, is |
|00000c10| 65 71 75 61 6c 20 74 6f | 20 74 68 65 20 63 75 72 |equal to| the cur|
|00000c20| 72 65 6e 74 0d 0a 66 72 | 61 6d 65 20 6e 75 6d 62 |rent..fr|ame numb|
|00000c30| 65 72 2e 20 20 55 6e 6c | 69 6b 65 20 74 68 65 20 |er. Unl|ike the |
|00000c40| 7b 5c 74 74 20 74 69 6d | 65 7d 20 76 61 72 69 61 |{\tt tim|e} varia|
|00000c50| 62 6c 65 2c 20 7b 5c 74 | 74 20 66 72 61 6d 65 7d |ble, {\t|t frame}|
|00000c60| 20 74 61 6b 65 73 20 6f | 6e 0d 0a 61 20 73 69 6e | takes o|n..a sin|
|00000c70| 67 6c 65 20 76 61 6c 75 | 65 20 66 6f 72 20 74 68 |gle valu|e for th|
|00000c80| 65 20 64 75 72 61 74 69 | 6f 6e 20 6f 66 20 65 61 |e durati|on of ea|
|00000c90| 63 68 20 66 72 61 6d 65 | 2e 20 20 54 68 75 73 2c |ch frame|. Thus,|
|00000ca0| 20 74 72 61 6e 73 66 6f | 72 6d 73 0d 0a 61 6e 69 | transfo|rms..ani|
|00000cb0| 6d 61 74 65 64 20 74 68 | 72 6f 75 67 68 20 74 68 |mated th|rough th|
|00000cc0| 65 20 75 73 65 20 6f 66 | 20 74 68 65 20 7b 5c 74 |e use of| the {\t|
|00000cd0| 74 20 66 72 61 6d 65 7d | 20 76 61 72 69 61 62 6c |t frame}| variabl|
|00000ce0| 65 20 77 69 6c 6c 20 6e | 6f 74 20 65 78 68 69 62 |e will n|ot exhib|
|00000cf0| 69 74 0d 0a 6d 6f 74 69 | 6f 6e 20 62 6c 75 72 72 |it..moti|on blurr|
|00000d00| 69 6e 67 2e 0d 0a 0d 0a | 41 6c 73 6f 20 73 75 70 |ing.....|Also sup|
|00000d10| 70 6f 72 74 65 64 20 69 | 73 20 74 68 65 20 7b 5c |ported i|s the {\|
|00000d20| 74 74 20 6c 69 6e 65 61 | 72 7d 20 66 75 6e 63 74 |tt linea|r} funct|
|00000d30| 69 6f 6e 2e 20 20 54 68 | 69 73 20 66 75 6e 63 74 |ion. Th|is funct|
|00000d40| 69 6f 6e 20 75 73 65 73 | 0d 0a 7b 5c 74 74 20 74 |ion uses|..{\tt t|
|00000d50| 69 6d 65 7d 20 69 6d 70 | 6c 69 63 69 74 6c 79 20 |ime} imp|licitly |
|00000d60| 74 6f 20 69 6e 74 65 72 | 70 6c 61 74 65 20 62 65 |to inter|plate be|
|00000d70| 74 77 65 65 6e 20 74 77 | 6f 20 76 61 6c 75 65 73 |tween tw|o values|
|00000d80| 2e 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 64 65 66 6b |.....\be|gin{defk|
|00000d90| 65 79 7d 7b 6c 69 6e 65 | 61 72 7d 7b 7b 5c 74 74 |ey}{line|ar}{{\tt|
|00000da0| 20 28 7d 20 7b 5c 65 6d | 20 53 74 69 6d 65 2c 20 | (} {\em| Stime, |
|00000db0| 53 76 61 6c 2c 20 45 74 | 69 6d 65 2c 20 45 76 61 |Sval, Et|ime, Eva|
|00000dc0| 6c 7d 20 7b 5c 74 74 20 | 29 7d 7d 0d 0a 09 4c 69 |l} {\tt |)}}...Li|
|00000dd0| 6e 65 61 72 6c 79 20 69 | 6e 74 65 72 70 6f 6c 61 |nearly i|nterpola|
|00000de0| 74 65 20 62 65 74 77 65 | 65 6e 20 7b 5c 65 6d 20 |te betwe|en {\em |
|00000df0| 53 76 61 6c 7d 20 61 74 | 20 74 69 6d 65 0d 0a 09 |Sval} at| time...|
|00000e00| 7b 5c 65 6d 20 53 74 69 | 6d 65 7d 20 61 6e 64 20 |{\em Sti|me} and |
|00000e10| 7b 5c 65 6d 20 45 76 61 | 6c 7d 20 61 74 20 74 69 |{\em Eva|l} at ti|
|00000e20| 6d 65 20 7b 5c 65 6d 20 | 45 74 69 6d 65 7d 2e 0d |me {\em |Etime}..|
|00000e30| 0a 09 49 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |..If the| current|
|00000e40| 20 74 69 6d 65 20 69 73 | 20 6c 65 73 73 20 74 68 | time is| less th|
|00000e50| 61 6e 20 7b 5c 65 6d 20 | 53 74 69 6d 65 7d 2c 20 |an {\em |Stime}, |
|00000e60| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 0d 0a 09 72 |the func|tion...r|
|00000e70| 65 74 75 72 6e 73 20 7b | 5c 65 6d 20 53 76 61 6c |eturns {|\em Sval|
|00000e80| 7d 2e 20 20 49 66 20 74 | 68 65 20 63 75 72 72 65 |}. If t|he curre|
|00000e90| 6e 74 20 74 69 6d 65 20 | 69 73 20 67 72 65 61 74 |nt time |is great|
|00000ea0| 65 72 20 74 68 61 6e 0d | 0a 09 7b 5c 65 6d 20 45 |er than.|..{\em E|
|00000eb0| 74 69 6d 65 7d 2c 20 7b | 5c 65 6d 20 45 76 61 6c |time}, {|\em Eval|
|00000ec0| 7d 20 69 73 20 72 65 74 | 75 72 6e 65 64 2e 0d 0a |} is ret|urned...|
|00000ed0| 5c 65 6e 64 7b 64 65 66 | 6b 65 79 7d 0d 0a 0d 0a |\end{def|key}....|
|00000ee0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 65 78 |The foll|owing ex|
|00000ef0| 61 6d 70 6c 65 20 73 68 | 6f 77 73 20 74 68 65 20 |ample sh|ows the |
|00000f00| 75 73 65 20 6f 66 20 74 | 68 65 20 7b 5c 74 74 20 |use of t|he {\tt |
|00000f10| 74 69 6d 65 7d 20 76 61 | 72 69 61 62 6c 65 20 74 |time} va|riable t|
|00000f20| 6f 0d 0a 61 6e 69 6d 61 | 74 65 20 61 20 73 70 68 |o..anima|te a sph|
|00000f30| 65 72 65 20 62 79 20 74 | 72 61 6e 73 6c 61 74 69 |ere by t|ranslati|
|00000f40| 6e 67 20 69 74 20 64 6f | 77 6e 77 61 72 64 73 20 |ng it do|wnwards |
|00000f50| 6f 76 65 72 20 66 69 76 | 65 20 66 72 61 6d 65 73 |over fiv|e frames|
|00000f60| 2e 0d 0a 4e 6f 74 65 20 | 74 68 65 74 20 74 68 65 |...Note |thet the|
|00000f70| 20 7b 5c 74 74 20 73 68 | 75 74 74 65 72 7d 20 6b | {\tt sh|utter} k|
|00000f80| 65 79 77 6f 72 64 20 69 | 73 20 75 73 65 64 20 74 |eyword i|s used t|
|00000f90| 6f 20 73 65 74 20 74 68 | 65 20 73 68 75 74 74 65 |o set th|e shutte|
|00000fa0| 72 20 64 75 72 61 74 69 | 6f 6e 0d 0a 69 6e 20 6f |r durati|on..in o|
|00000fb0| 72 64 65 72 20 74 6f 20 | 69 6e 64 75 63 65 20 6d |rder to |induce m|
|00000fc0| 6f 74 69 6f 6e 20 62 6c | 75 72 72 69 6e 67 2e 0d |otion bl|urring..|
|00000fd0| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |...\begi|n{verbat|
|00000fe0| 69 6d 7d 0d 0a 20 20 20 | 20 66 72 61 6d 65 73 20 |im}.. | frames |
|00000ff0| 35 0d 0a 20 20 20 20 73 | 68 75 74 74 65 72 20 31 |5.. s|hutter 1|
|00001000| 0d 0a 20 20 20 20 73 70 | 68 65 72 65 20 31 20 30 |.. sp|here 1 0|
|00001010| 20 30 20 32 20 74 72 61 | 6e 73 6c 61 74 65 20 30 | 0 2 tra|nslate 0|
|00001020| 20 30 20 28 2d 74 69 6d | 65 29 0d 0a 5c 65 6e 64 | 0 (-tim|e)..\end|
|00001030| 7b 76 65 72 62 61 74 69 | 6d 7d 0d 0a 0d 0a 46 75 |{verbati|m}....Fu|
|00001040| 72 74 68 65 72 20 65 78 | 61 6d 70 6c 65 73 20 6f |rther ex|amples o|
|00001050| 66 20 61 6e 69 6d 61 74 | 69 6f 6e 20 6d 61 79 20 |f animat|ion may |
|00001060| 62 65 20 66 6f 75 6e 64 | 20 69 6e 20 74 68 65 20 |be found| in the |
|00001070| 45 78 61 6d 70 6c 65 73 | 20 64 69 72 65 63 74 6f |Examples| directo|
|00001080| 72 79 0d 0a 6f 66 20 74 | 68 65 20 7b 5c 72 61 79 |ry..of t|he {\ray|
|00001090| 73 68 61 64 65 7d 20 64 | 69 73 74 72 69 62 75 74 |shade} d|istribut|
|000010a0| 69 6f 6e 2e 0d 0a | |ion... | |
+--------+-------------------------+-------------------------+--------+--------+