home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / FAQSYS18.ZIP / FAQS.DAT / VOXEL.TXT < prev    next >
Mailbox/MIME Entity  |  1994-08-09  |  11.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Mailbox/MIME Entity (archive/mbox).

You can browse this item here: VOXEL.TXT

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Swift 3D 3D Graphic (poly/swift3D3DGraphic) ext Unsupported
1% dexvert Boost Text serialization (other/boostTextSerialization) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From rc1.vub.ac.be!ub4b!EU.net!uknet!pipex!howland.reston.ans.net!news.intercon.com!digex.net!digex.net!not-for-mail Thu Mar 10", ISO-8859 text, with CRLF line terminators default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% gt2 Textdatei (DOS) default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 72 63 31 | 2e 76 75 62 2e 61 63 2e |From rc1|.vub.ac.|
|00000010| 62 65 21 75 62 34 62 21 | 45 55 2e 6e 65 74 21 75 |be!ub4b!|EU.net!u|
|00000020| 6b 6e 65 74 21 70 69 70 | 65 78 21 68 6f 77 6c 61 |knet!pip|ex!howla|
|00000030| 6e 64 2e 72 65 73 74 6f | 6e 2e 61 6e 73 2e 6e 65 |nd.resto|n.ans.ne|
|00000040| 74 21 6e 65 77 73 2e 69 | 6e 74 65 72 63 6f 6e 2e |t!news.i|ntercon.|
|00000050| 63 6f 6d 21 64 69 67 65 | 78 2e 6e 65 74 21 64 69 |com!dige|x.net!di|
|00000060| 67 65 78 2e 6e 65 74 21 | 6e 6f 74 2d 66 6f 72 2d |gex.net!|not-for-|
|00000070| 6d 61 69 6c 20 54 68 75 | 20 4d 61 72 20 31 30 20 |mail Thu| Mar 10 |
|00000080| 31 30 3a 30 37 3a 30 34 | 20 31 39 39 34 0d 0a 50 |10:07:04| 1994..P|
|00000090| 61 74 68 3a 20 72 63 31 | 2e 76 75 62 2e 61 63 2e |ath: rc1|.vub.ac.|
|000000a0| 62 65 21 75 62 34 62 21 | 45 55 2e 6e 65 74 21 75 |be!ub4b!|EU.net!u|
|000000b0| 6b 6e 65 74 21 70 69 70 | 65 78 21 68 6f 77 6c 61 |knet!pip|ex!howla|
|000000c0| 6e 64 2e 72 65 73 74 6f | 6e 2e 61 6e 73 2e 6e 65 |nd.resto|n.ans.ne|
|000000d0| 74 21 6e 65 77 73 2e 69 | 6e 74 65 72 63 6f 6e 2e |t!news.i|ntercon.|
|000000e0| 63 6f 6d 21 64 69 67 65 | 78 2e 6e 65 74 21 64 69 |com!dige|x.net!di|
|000000f0| 67 65 78 2e 6e 65 74 21 | 6e 6f 74 2d 66 6f 72 2d |gex.net!|not-for-|
|00000100| 6d 61 69 6c 0d 0a 46 72 | 6f 6d 3a 20 6b 6d 63 63 |mail..Fr|om: kmcc|
|00000110| 6f 72 6d 40 61 63 63 65 | 73 73 31 2e 64 69 67 65 |orm@acce|ss1.dige|
|00000120| 78 2e 6e 65 74 20 28 4b | 65 76 69 6e 20 4d 63 43 |x.net (K|evin McC|
|00000130| 6f 72 6d 69 63 6b 29 0d | 0a 4e 65 77 73 67 72 6f |ormick).|.Newsgro|
|00000140| 75 70 73 3a 20 63 6f 6d | 70 2e 73 79 73 2e 69 62 |ups: com|p.sys.ib|
|00000150| 6d 2e 70 63 2e 64 65 6d | 6f 73 0d 0a 53 75 62 6a |m.pc.dem|os..Subj|
|00000160| 65 63 74 3a 20 48 6f 77 | 20 69 6e 20 74 68 65 20 |ect: How| in the |
|00000170| 77 6f 72 6c 64 20 64 69 | 64 20 74 68 65 79 20 64 |world di|d they d|
|00000180| 6f 20 4d 41 52 53 2e 45 | 58 45 3f 0d 0a 44 61 74 |o MARS.E|XE?..Dat|
|00000190| 65 3a 20 32 38 20 46 65 | 62 20 31 39 39 34 20 32 |e: 28 Fe|b 1994 2|
|000001a0| 30 3a 31 36 3a 30 35 20 | 2d 30 35 30 30 0d 0a 4f |0:16:05 |-0500..O|
|000001b0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 45 78 70 |rganizat|ion: Exp|
|000001c0| 72 65 73 73 20 41 63 63 | 65 73 73 20 4f 6e 6c 69 |ress Acc|ess Onli|
|000001d0| 6e 65 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |ne Commu|nication|
|000001e0| 73 2c 20 47 72 65 65 6e | 62 65 6c 74 2c 20 4d 44 |s, Green|belt, MD|
|000001f0| 20 55 53 41 0d 0a 4c 69 | 6e 65 73 3a 20 33 35 0d | USA..Li|nes: 35.|
|00000200| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 32 6b |.Message|-ID: <2k|
|00000210| 75 35 30 6c 24 39 6c 6f | 40 61 63 63 65 73 73 31 |u50l$9lo|@access1|
|00000220| 2e 64 69 67 65 78 2e 6e | 65 74 3e 0d 0a 4e 4e 54 |.digex.n|et>..NNT|
|00000230| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000240| 61 63 63 65 73 73 31 2e | 64 69 67 65 78 2e 6e 65 |access1.|digex.ne|
|00000250| 74 0d 0a 0d 0a 57 68 65 | 77 21 20 20 41 66 74 65 |t....Whe|w! Afte|
|00000260| 72 20 64 6f 77 6e 6c 6f | 61 64 69 6e 67 20 61 6e |r downlo|ading an|
|00000270| 64 20 72 75 6e 6e 69 6e | 67 20 4d 41 52 53 2e 45 |d runnin|g MARS.E|
|00000280| 58 45 2c 20 49 20 66 69 | 6e 64 20 6d 79 73 65 6c |XE, I fi|nd mysel|
|00000290| 66 20 73 74 75 6e 6e 65 | 64 20 62 79 20 68 6f 77 |f stunne|d by how|
|000002a0| 0d 0a 66 61 73 74 20 69 | 74 20 77 6f 72 6b 65 64 |..fast i|t worked|
|000002b0| 20 61 6e 64 20 68 6f 77 | 20 72 65 61 6c 69 73 74 | and how| realist|
|000002c0| 69 63 20 69 74 20 6c 6f | 6f 6b 65 64 2e 2e 2e 2e |ic it lo|oked....|
|000002d0| 0d 0a 0d 0a 49 27 6d 20 | 69 6e 74 6f 20 70 72 6f |....I'm |into pro|
|000002e0| 67 72 61 6d 6d 69 6e 67 | 20 6d 79 20 6f 77 6e 20 |gramming| my own |
|000002f0| 64 65 6d 6f 20 6e 6f 77 | 20 77 69 74 68 20 61 20 |demo now| with a |
|00000300| 63 6f 75 70 6c 65 20 6f | 66 20 66 72 69 65 6e 64 |couple o|f friend|
|00000310| 73 2e 20 20 4f 75 72 20 | 6e 65 77 20 67 72 6f 75 |s. Our |new grou|
|00000320| 70 0d 0a 69 73 20 63 61 | 6c 6c 65 64 20 4d 69 6e |p..is ca|lled Min|
|00000330| 64 77 61 72 65 2c 20 61 | 6e 64 20 6f 75 72 20 64 |dware, a|nd our d|
|00000340| 65 6d 6f 20 73 68 6f 75 | 6c 64 20 62 65 20 66 69 |emo shou|ld be fi|
|00000350| 6e 69 73 68 65 64 20 77 | 69 74 68 69 6e 20 74 68 |nished w|ithin th|
|00000360| 65 20 6e 65 78 74 20 6d | 6f 6e 74 68 20 6f 72 0d |e next m|onth or.|
|00000370| 0a 73 6f 2e 20 20 28 4e | 6f 20 6e 61 6d 65 20 79 |.so. (N|o name y|
|00000380| 65 74 29 20 20 49 27 6d | 20 6e 6f 77 20 66 61 69 |et) I'm| now fai|
|00000390| 72 6c 79 20 65 78 70 65 | 72 69 65 6e 63 65 64 20 |rly expe|rienced |
|000003a0| 77 69 74 68 20 67 72 61 | 70 68 69 63 73 20 6d 61 |with gra|phics ma|
|000003b0| 6e 69 70 75 6c 61 74 69 | 6f 6e 20 28 33 64 2c 0d |nipulati|on (3d,.|
|000003c0| 0a 58 2d 6d 6f 64 65 2c | 20 56 47 41 20 72 65 67 |.X-mode,| VGA reg|
|000003d0| 69 73 74 65 72 73 2c 20 | 65 74 63 2e 29 2c 20 62 |isters, |etc.), b|
|000003e0| 75 74 20 49 20 73 74 69 | 6c 6c 20 61 6d 20 61 6d |ut I sti|ll am am|
|000003f0| 61 7a 65 64 20 68 6f 77 | 20 73 6d 6f 6f 74 68 20 |azed how| smooth |
|00000400| 4d 41 52 53 20 69 73 2e | 0d 0a 0d 0a 4e 6f 77 20 |MARS is.|....Now |
|00000410| 49 27 76 65 20 70 6f 6e | 64 65 72 65 64 20 71 75 |I've pon|dered qu|
|00000420| 69 74 65 20 61 20 62 69 | 74 20 68 6f 77 20 69 74 |ite a bi|t how it|
|00000430| 27 73 20 64 6f 6e 65 2e | 20 20 4d 79 20 66 69 72 |'s done.| My fir|
|00000440| 73 74 20 69 6d 70 72 65 | 73 73 69 6f 6e 20 77 6f |st impre|ssion wo|
|00000450| 75 6c 64 20 62 65 20 61 | 0d 0a 72 61 79 2d 74 72 |uld be a|..ray-tr|
|00000460| 61 63 69 6e 67 20 6c 69 | 6b 65 20 61 6c 67 6f 72 |acing li|ke algor|
|00000470| 69 74 68 6d 2c 20 77 68 | 65 72 65 20 61 20 72 61 |ithm, wh|ere a ra|
|00000480| 79 20 69 73 20 74 72 61 | 63 65 64 20 28 71 75 69 |y is tra|ced (qui|
|00000490| 63 6b 6c 79 2c 20 6f 66 | 20 63 6f 75 72 73 65 29 |ckly, of| course)|
|000004a0| 20 66 72 6f 6d 20 74 68 | 65 0d 0a 76 69 65 77 70 | from th|e..viewp|
|000004b0| 6f 69 6e 74 2c 20 74 68 | 72 6f 75 67 68 20 74 68 |oint, th|rough th|
|000004c0| 65 20 73 63 72 65 65 6e | 2c 20 61 6e 64 20 6f 76 |e screen|, and ov|
|000004d0| 65 72 20 74 68 65 20 68 | 65 69 67 68 74 66 69 65 |er the h|eightfie|
|000004e0| 6c 64 2c 20 74 65 73 74 | 69 6e 67 20 66 6f 72 0d |ld, test|ing for.|
|000004f0| 0a 69 6e 74 65 72 73 65 | 63 74 69 6f 6e 73 20 61 |.interse|ctions a|
|00000500| 6c 6f 6e 67 20 74 68 65 | 20 77 61 79 2e 20 20 42 |long the| way. B|
|00000510| 75 74 20 74 68 69 73 20 | 73 65 65 6d 73 20 6c 69 |ut this |seems li|
|00000520| 6b 65 20 69 74 20 77 6f | 75 6c 64 20 62 65 20 66 |ke it wo|uld be f|
|00000530| 61 72 20 74 6f 6f 20 73 | 6c 6f 77 20 66 6f 72 0d |ar too s|low for.|
|00000540| 0a 70 72 61 63 74 69 63 | 61 6c 20 75 73 65 20 28 |.practic|al use (|
|00000550| 62 75 74 20 69 74 20 77 | 6f 75 6c 64 20 63 65 72 |but it w|ould cer|
|00000560| 74 61 69 6e 6c 79 20 64 | 65 61 6c 20 77 69 74 68 |tainly d|eal with|
|00000570| 20 74 68 65 20 73 6d 6f | 6f 74 68 6e 65 73 73 20 | the smo|othness |
|00000580| 6f 66 20 74 68 65 20 6c | 61 6e 64 73 63 61 70 65 |of the l|andscape|
|00000590| 0d 0a 61 6e 64 20 74 68 | 65 20 6f 72 64 65 72 20 |..and th|e order |
|000005a0| 6f 66 20 6d 6f 75 6e 74 | 61 69 6e 73 29 2e 0d 0a |of mount|ains)...|
|000005b0| 0d 0a 4d 79 20 6e 65 78 | 74 20 69 6d 70 72 65 73 |..My nex|t impres|
|000005c0| 73 69 6f 6e 20 77 61 73 | 20 61 20 70 6f 6c 79 67 |sion was| a polyg|
|000005d0| 6f 6e 20 73 75 62 64 69 | 76 69 73 69 6f 6e 20 61 |on subdi|vision a|
|000005e0| 6c 67 6f 72 69 74 68 6d | 2e 20 20 54 61 6b 65 20 |lgorithm|. Take |
|000005f0| 66 6f 75 72 20 70 6f 69 | 6e 74 73 20 66 72 6f 6d |four poi|nts from|
|00000600| 0d 0a 74 68 65 20 68 65 | 69 67 68 74 66 69 65 6c |..the he|ightfiel|
|00000610| 64 20 74 68 61 74 20 66 | 6f 72 6d 20 61 20 73 71 |d that f|orm a sq|
|00000620| 75 61 72 65 2c 20 61 6e | 64 20 64 72 61 77 20 74 |uare, an|d draw t|
|00000630| 68 61 74 20 70 6f 6c 79 | 67 6f 6e 2e 20 20 47 6f |hat poly|gon. Go|
|00000640| 20 66 72 6f 6d 20 66 72 | 6f 6e 74 20 74 6f 0d 0a | from fr|ont to..|
|00000650| 62 61 63 6b 20 6f 6e 20 | 74 68 65 20 68 65 69 67 |back on |the heig|
|00000660| 68 74 66 69 65 6c 64 2c | 20 64 72 61 77 69 6e 67 |htfield,| drawing|
|00000670| 20 6f 6e 6c 79 20 69 66 | 20 74 68 61 74 20 61 72 | only if| that ar|
|00000680| 65 61 20 68 61 73 6e 27 | 74 20 62 65 65 6e 20 64 |ea hasn'|t been d|
|00000690| 72 61 77 6e 20 6f 6e 20 | 62 65 66 6f 72 65 2e 0d |rawn on |before..|
|000006a0| 0a 42 75 74 20 74 68 69 | 73 20 73 65 65 6d 73 20 |.But thi|s seems |
|000006b0| 6c 69 6b 65 20 74 6f 6f | 20 6d 75 63 68 20 74 69 |like too| much ti|
|000006c0| 6d 65 20 77 6f 75 6c 64 | 20 62 65 20 73 70 65 6e |me would| be spen|
|000006d0| 74 20 6f 6e 20 63 61 6c | 63 75 6c 61 74 69 6e 67 |t on cal|culating|
|000006e0| 20 74 68 65 20 65 64 67 | 65 73 20 6f 66 0d 0a 74 | the edg|es of..t|
|000006f0| 68 65 20 70 6f 6c 79 67 | 6f 6e 20 61 6e 64 20 66 |he polyg|on and f|
|00000700| 69 6c 6c 69 6e 67 20 69 | 74 2e 0d 0a 0d 0a 4d 79 |illing i|t.....My|
|00000710| 20 66 69 6e 61 6c 20 69 | 64 65 61 20 61 67 61 69 | final i|dea agai|
|00000720| 6e 20 69 6e 76 6f 6c 76 | 65 73 20 67 6f 69 6e 67 |n involv|es going|
|00000730| 20 66 72 6f 6d 20 66 72 | 6f 6e 74 20 74 6f 20 62 | from fr|ont to b|
|00000740| 61 63 6b 20 6f 6e 20 74 | 68 65 20 68 65 69 67 68 |ack on t|he heigh|
|00000750| 74 66 69 65 6c 64 2c 20 | 62 75 74 0d 0a 69 6e 73 |tfield, |but..ins|
|00000760| 74 65 61 64 20 6f 66 20 | 64 72 61 77 69 6e 67 20 |tead of |drawing |
|00000770| 61 63 63 75 72 61 74 65 | 20 70 6f 6c 79 67 6f 6e |accurate| polygon|
|00000780| 73 2c 20 6a 75 73 74 20 | 64 72 61 77 20 61 20 72 |s, just |draw a r|
|00000790| 65 63 74 61 6e 67 75 6c | 61 72 20 72 65 67 69 6f |ectangul|ar regio|
|000007a0| 6e 20 66 72 6f 6d 20 74 | 68 65 0d 0a 63 75 72 72 |n from t|he..curr|
|000007b0| 65 6e 74 20 70 6f 69 6e | 74 20 74 6f 20 74 68 65 |ent poin|t to the|
|000007c0| 20 6e 65 78 74 20 70 6f | 69 6e 74 2c 20 77 69 74 | next po|int, wit|
|000007d0| 68 20 61 20 66 6c 61 74 | 20 74 6f 70 2c 20 64 65 |h a flat| top, de|
|000007e0| 73 63 65 6e 64 69 6e 67 | 20 64 6f 77 6e 20 75 6e |scending| down un|
|000007f0| 74 69 6c 20 74 68 65 0d | 0a 6e 6f 6e 2d 66 69 6c |til the.|.non-fil|
|00000800| 6c 65 64 20 61 72 65 61 | 20 65 6e 64 73 2e 20 20 |led area| ends. |
|00000810| 28 54 68 69 73 20 69 73 | 20 70 72 6f 62 61 62 6c |(This is| probabl|
|00000820| 79 20 6e 6f 74 20 61 20 | 76 65 72 79 20 67 6f 6f |y not a |very goo|
|00000830| 64 20 65 78 70 6c 61 6e | 61 74 69 6f 6e 2e 20 3a |d explan|ation. :|
|00000840| 29 0d 0a 0d 0a 53 6f 2e | 2e 2e 20 61 6e 79 20 69 |)....So.|.. any i|
|00000850| 64 65 61 73 20 61 6e 79 | 6f 6e 65 3f 20 20 54 65 |deas any|one? Te|
|00000860| 6c 6c 20 6d 65 20 69 66 | 20 6d 79 20 69 64 65 61 |ll me if| my idea|
|00000870| 73 20 61 72 65 20 72 65 | 61 6c 6c 79 20 6e 61 69 |s are re|ally nai|
|00000880| 76 65 20 3a 29 20 20 49 | 20 6d 69 67 68 74 20 74 |ve :) I| might t|
|00000890| 72 79 0d 0a 63 6f 64 69 | 6e 67 20 73 6f 6d 65 20 |ry..codi|ng some |
|000008a0| 6f 66 20 74 68 65 73 65 | 20 74 68 69 6e 67 73 20 |of these| things |
|000008b0| 74 6f 20 73 65 65 20 69 | 66 20 74 68 65 79 20 77 |to see i|f they w|
|000008c0| 6f 72 6b 2e 0d 0a 0d 0a | 54 68 61 6e 6b 73 20 69 |ork.....|Thanks i|
|000008d0| 6e 20 61 64 76 61 6e 63 | 65 2c 20 61 6e 64 20 77 |n advanc|e, and w|
|000008e0| 61 74 63 68 20 66 6f 72 | 20 6f 75 72 20 66 6f 72 |atch for| our for|
|000008f0| 74 68 63 6f 6d 69 6e 67 | 20 64 65 6d 6f 21 0d 0a |thcoming| demo!..|
|00000900| 2d 2d 20 0d 0a 4b 65 76 | 69 6e 20 4d 63 43 6f 72 |-- ..Kev|in McCor|
|00000910| 6d 69 63 6b 20 20 20 20 | 20 20 20 20 20 20 20 20 |mick | |
|00000920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00000930| 20 22 54 68 65 20 6d 6f | 72 65 20 77 65 20 74 72 | "The mo|re we tr|
|00000940| 79 20 74 6f 20 63 6f 6e | 74 72 6f 6c 2c 20 74 68 |y to con|trol, th|
|00000950| 65 0d 0a 6b 6d 63 63 6f | 72 6d 40 61 63 63 65 73 |e..kmcco|rm@acces|
|00000960| 73 2e 64 69 67 65 78 2e | 6e 65 74 20 20 20 20 20 |s.digex.|net |
|00000970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | |
|00000980| 6c 65 73 73 20 77 65 20 | 61 72 65 20 72 65 61 6c |less we |are real|
|00000990| 6c 79 20 69 6e 20 63 6f | 6e 74 72 6f 6c 2e 22 0d |ly in co|ntrol.".|
|000009a0| 0a 49 52 43 3a 20 58 65 | 6e 6f 70 68 6f 6e 20 20 |.IRC: Xe|nophon |
|000009b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000009c0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 20 20 20 20 | | | |
|000009d0| 20 20 20 20 2d 20 52 6f | 62 65 72 74 20 4a 2e 20 | - Ro|bert J. |
|000009e0| 4f 70 70 65 6e 68 65 69 | 6d 65 72 0d 0a 54 68 69 |Oppenhei|mer..Thi|
|000009f0| 73 20 6d 65 73 73 61 67 | 65 20 69 73 20 63 6f 73 |s messag|e is cos|
|00000a00| 74 69 6e 67 20 74 68 65 | 20 6e 65 74 20 68 75 6e |ting the| net hun|
|00000a10| 64 72 65 64 73 20 69 66 | 20 6e 6f 74 20 74 68 6f |dreds if| not tho|
|00000a20| 75 73 61 6e 64 73 20 6f | 66 20 64 6f 6c 6c 61 72 |usands o|f dollar|
|00000a30| 73 20 74 6f 20 73 65 6e | 64 2e 0d 0a 0d 0a 46 72 |s to sen|d.....Fr|
|00000a40| 6f 6d 20 72 63 31 2e 76 | 75 62 2e 61 63 2e 62 65 |om rc1.v|ub.ac.be|
|00000a50| 21 75 62 34 62 21 45 55 | 2e 6e 65 74 21 73 75 6e |!ub4b!EU|.net!sun|
|00000a60| 34 6e 6c 21 77 74 72 6c | 6e 64 21 74 65 73 73 21 |4nl!wtrl|nd!tess!|
|00000a70| 70 6f 73 74 6d 61 73 74 | 65 72 20 54 75 65 20 4d |postmast|er Tue M|
|00000a80| 61 72 20 31 35 20 31 31 | 3a 32 33 3a 35 34 20 31 |ar 15 11|:23:54 1|
|00000a90| 39 39 34 0d 0a 50 61 74 | 68 3a 20 72 63 31 2e 76 |994..Pat|h: rc1.v|
|00000aa0| 75 62 2e 61 63 2e 62 65 | 21 75 62 34 62 21 45 55 |ub.ac.be|!ub4b!EU|
|00000ab0| 2e 6e 65 74 21 73 75 6e | 34 6e 6c 21 77 74 72 6c |.net!sun|4nl!wtrl|
|00000ac0| 6e 64 21 74 65 73 73 21 | 70 6f 73 74 6d 61 73 74 |nd!tess!|postmast|
|00000ad0| 65 72 0d 0a 46 72 6f 6d | 3a 20 6d 69 63 68 69 65 |er..From|: michie|
|00000ae0| 6c 40 74 65 73 73 2e 77 | 6c 69 6e 6b 2e 6e 6c 20 |l@tess.w|link.nl |
|00000af0| 28 4d 69 63 68 69 65 6c | 20 4f 75 77 65 68 61 6e |(Michiel| Ouwehan|
|00000b00| 64 29 0d 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |d)..News|groups: |
|00000b10| 63 6f 6d 70 2e 73 79 73 | 2e 69 62 6d 2e 70 63 2e |comp.sys|.ibm.pc.|
|00000b20| 64 65 6d 6f 73 0d 0a 53 | 75 62 6a 65 63 74 3a 20 |demos..S|ubject: |
|00000b30| 4d 61 72 73 2e 75 75 65 | 20 28 31 2f 31 29 0d 0a |Mars.uue| (1/1)..|
|00000b40| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 37 36 32 |Message-|ID: <762|
|00000b50| 37 36 30 38 32 39 2e 41 | 41 30 33 34 37 31 40 74 |760829.A|A03471@t|
|00000b60| 65 73 73 2e 77 6c 69 6e | 6b 2e 6e 6c 3e 0d 0a 44 |ess.wlin|k.nl>..D|
|00000b70| 61 74 65 3a 20 57 65 64 | 2c 20 30 32 20 4d 61 72 |ate: Wed|, 02 Mar|
|00000b80| 20 31 39 39 34 20 30 39 | 3a 31 32 3a 30 31 0d 0a | 1994 09|:12:01..|
|00000b90| 53 65 6e 64 65 72 3a 20 | 70 6f 73 74 6d 61 73 74 |Sender: |postmast|
|00000ba0| 65 72 40 74 65 73 73 2e | 77 6c 69 6e 6b 2e 6e 6c |er@tess.|wlink.nl|
|00000bb0| 0d 0a 4c 69 6e 65 73 3a | 20 31 39 0d 0a 0d 0a 48 |..Lines:| 19....H|
|00000bc0| 65 6c 6c 6f 20 4d 2e 44 | 2e 47 72 69 66 66 69 74 |ello M.D|.Griffit|
|00000bd0| 68 73 21 0d 0a 0d 0a 5b | c4 f9 fa 20 32 38 20 46 |hs!....[|... 28 F|
|00000be0| 65 62 20 39 34 2c 20 4d | 2e 44 2e 47 72 69 66 66 |eb 94, M|.D.Griff|
|00000bf0| 69 74 68 73 20 77 72 6f | 74 65 20 74 6f 20 41 6c |iths wro|te to Al|
|00000c00| 6c 3a 20 fa f9 c4 5d 0d | 0a 0d 0a 20 4d 44 47 3e |l: ...].|... MDG>|
|00000c10| 20 59 65 73 20 69 74 20 | 69 73 20 61 20 6d 75 63 | Yes it |is a muc|
|00000c20| 68 20 6d 6f 72 65 20 64 | 69 66 66 69 63 75 6c 74 |h more d|ifficult|
|00000c30| 20 70 72 6f 70 6f 73 69 | 74 69 6f 6e 2c 20 73 69 | proposi|tion, si|
|00000c40| 6e 63 65 20 61 73 20 69 | 74 20 73 74 61 6e 64 73 |nce as i|t stands|
|00000c50| 2c 0d 0a 20 4d 44 47 3e | 20 6e 6f 20 72 6f 74 61 |,.. MDG>| no rota|
|00000c60| 74 69 6f 6e 20 69 73 20 | 64 6f 6e 65 2c 20 79 6f |tion is |done, yo|
|00000c70| 75 20 73 69 6d 70 6c 79 | 20 6d 6f 76 65 20 6c 65 |u simply| move le|
|00000c80| 66 74 20 6f 72 20 72 69 | 67 68 74 2e 20 49 20 77 |ft or ri|ght. I w|
|00000c90| 6f 75 6c 64 0d 0a 20 4d | 44 47 3e 20 69 6d 61 67 |ould.. M|DG> imag|
|00000ca0| 69 6e 65 20 74 68 61 74 | 20 72 6f 74 61 74 69 6f |ine that| rotatio|
|00000cb0| 6e 20 77 6f 75 6c 64 20 | 63 6f 6d 70 6c 69 63 61 |n would |complica|
|00000cc0| 74 65 20 74 68 69 6e 67 | 73 20 73 6f 6d 65 77 68 |te thing|s somewh|
|00000cd0| 61 74 2c 20 70 65 72 68 | 61 70 73 0d 0a 20 4d 44 |at, perh|aps.. MD|
|00000ce0| 47 3e 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |G> the o|riginal |
|00000cf0| 61 6c 67 6f 72 69 74 68 | 6d 20 6d 69 67 68 74 20 |algorith|m might |
|00000d00| 6e 6f 74 20 62 65 20 61 | 70 70 6c 69 63 61 62 6c |not be a|pplicabl|
|00000d10| 65 3f 20 49 74 20 6d 61 | 6b 65 73 20 61 20 6e 69 |e? It ma|kes a ni|
|00000d20| 63 65 0d 0a 20 4d 44 47 | 3e 20 64 65 6d 6f 20 74 |ce.. MDG|> demo t|
|00000d30| 68 6f 75 67 68 20 3a 2d | 29 2e 20 57 6f 75 6c 64 |hough :-|). Would|
|00000d40| 20 74 68 65 20 61 75 74 | 68 6f 72 20 6c 69 6b 65 | the aut|hor like|
|00000d50| 20 74 6f 20 63 6f 6d 6d | 65 6e 74 3f 0d 0a 0d 0a | to comm|ent?....|
|00000d60| 49 20 61 6d 20 6e 6f 74 | 20 68 74 65 20 61 75 74 |I am not| hte aut|
|00000d70| 68 6f 72 2c 20 62 75 74 | 20 49 20 77 6f 75 6c 64 |hor, but| I would|
|00000d80| 20 6c 69 6b 65 20 74 6f | 20 63 6f 6d 6d 65 6e 74 | like to| comment|
|00000d90| 2e 20 57 68 61 74 20 74 | 68 65 20 61 75 74 68 6f |. What t|he autho|
|00000da0| 72 20 69 73 20 64 6f 69 | 6e 67 20 28 61 73 20 49 |r is doi|ng (as I|
|00000db0| 0d 0a 73 65 65 20 69 74 | 29 20 69 73 20 63 61 6c |..see it|) is cal|
|00000dc0| 63 75 6c 61 74 65 20 61 | 20 66 72 61 63 74 61 6c |culate a| fractal|
|00000dd0| 20 28 74 68 69 73 20 77 | 69 6c 6c 20 62 65 20 74 | (this w|ill be t|
|00000de0| 68 65 20 68 65 69 67 68 | 74 20 6d 61 70 29 20 61 |he heigh|t map) a|
|00000df0| 6e 64 20 63 61 6c 63 75 | 6c 61 74 65 0d 0a 6c 69 |nd calcu|late..li|
|00000e00| 67 68 74 2d 72 61 79 73 | 20 6f 76 65 72 20 69 74 |ght-rays| over it|
|00000e10| 20 28 74 68 69 73 20 77 | 69 6c 6c 20 62 65 20 74 | (this w|ill be t|
|00000e20| 68 65 20 63 6f 6c 6f 75 | 72 20 6d 61 70 29 2e 20 |he colou|r map). |
|00000e30| 54 68 65 6e 2c 20 77 68 | 65 6e 20 64 72 61 77 69 |Then, wh|en drawi|
|00000e40| 6e 67 2c 20 65 61 63 68 | 20 70 6f 69 6e 74 0d 0a |ng, each| point..|
|00000e50| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 20 69 73 |on the s|creen is|
|00000e60| 20 61 6e 20 69 6e 74 65 | 72 70 6f 6c 6c 61 74 65 | an inte|rpollate|
|00000e70| 64 20 76 65 72 73 69 6f | 6e 20 6f 66 6d 6f 72 65 |d versio|n ofmore|
|00000e80| 20 6f 66 20 74 68 65 20 | 68 65 69 67 68 74 73 20 | of the |heights |
|00000e90| 61 6e 64 20 63 6f 6c 6f | 75 72 73 20 69 6e 0d 0a |and colo|urs in..|
|00000ea0| 74 68 65 20 6d 61 70 2e | 20 52 6f 74 61 74 69 6e |the map.| Rotatin|
|00000eb0| 67 20 77 69 6c 6c 20 74 | 61 6b 65 20 73 6f 6d 65 |g will t|ake some|
|00000ec0| 20 74 69 6d 65 2c 20 62 | 75 74 20 69 73 6e 27 74 | time, b|ut isn't|
|00000ed0| 20 69 6d 70 6f 73 73 69 | 62 6c 65 20 61 73 20 49 | impossi|ble as I|
|00000ee0| 20 73 65 65 20 69 74 2e | 0d 0a 0d 0a 47 72 6f 65 | see it.|....Groe|
|00000ef0| 74 6a 65 73 2c 20 20 20 | 5f 20 20 20 20 28 49 63 |tjes, |_ (Ic|
|00000f00| 61 72 75 73 20 2f 20 54 | f9 52 f9 49 f9 41 f9 4c |arus / T|.R.I.A.L|
|00000f10| 29 20 20 20 49 6e 74 65 | 72 4e 65 74 3a 20 6d 69 |) Inte|rNet: mi|
|00000f20| 63 68 69 65 6c 40 74 65 | 73 73 2e 77 6c 69 6e 6b |chiel@te|ss.wlink|
|00000f30| 2e 6e 6c 0d 0a 29 5c 2f | 28 69 63 68 69 65 6c 20 |.nl..)\/|(ichiel |
|00000f40| 28 5f 29 75 77 65 68 61 | 6e 64 20 20 20 20 20 20 |(_)uweha|nd |
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 46 72 | | Fr|
|00000f60| 65 65 4e 65 74 3a 20 32 | 3a 32 38 30 32 2f 31 30 |eeNet: 2|:2802/10|
|00000f70| 38 2e 31 31 0d 0a 0d 0a | 0d 0a 46 72 6f 6d 20 72 |8.11....|..From r|
|00000f80| 63 31 2e 76 75 62 2e 61 | 63 2e 62 65 21 75 62 34 |c1.vub.a|c.be!ub4|
|00000f90| 62 21 45 55 2e 6e 65 74 | 21 73 75 6e 69 63 21 6e |b!EU.net|!sunic!n|
|00000fa0| 65 77 73 2e 66 75 6e 65 | 74 2e 66 69 21 6e 65 74 |ews.fune|t.fi!net|
|00000fb0| 77 6f 72 6b 2e 63 63 2e | 6a 79 75 2e 66 69 21 6e |work.cc.|jyu.fi!n|
|00000fc0| 65 74 77 6f 72 6b 2e 63 | 63 2e 6a 79 75 2e 66 69 |etwork.c|c.jyu.fi|
|00000fd0| 21 6e 6f 74 2d 66 6f 72 | 2d 6d 61 69 6c 20 54 68 |!not-for|-mail Th|
|00000fe0| 75 20 4d 61 72 20 31 30 | 20 31 30 3a 30 37 3a 32 |u Mar 10| 10:07:2|
|00000ff0| 39 20 31 39 39 34 0d 0a | 50 61 74 68 3a 20 72 63 |9 1994..|Path: rc|
|00001000| 31 2e 76 75 62 2e 61 63 | 2e 62 65 21 75 62 34 62 |1.vub.ac|.be!ub4b|
|00001010| 21 45 55 2e 6e 65 74 21 | 73 75 6e 69 63 21 6e 65 |!EU.net!|sunic!ne|
|00001020| 77 73 2e 66 75 6e 65 74 | 2e 66 69 21 6e 65 74 77 |ws.funet|.fi!netw|
|00001030| 6f 72 6b 2e 63 63 2e 6a | 79 75 2e 66 69 21 6e 65 |ork.cc.j|yu.fi!ne|
|00001040| 74 77 6f 72 6b 2e 63 63 | 2e 6a 79 75 2e 66 69 21 |twork.cc|.jyu.fi!|
|00001050| 6e 6f 74 2d 66 6f 72 2d | 6d 61 69 6c 0d 0a 46 72 |not-for-|mail..Fr|
|00001060| 6f 6d 3a 20 61 70 40 6e | 65 74 77 6f 72 6b 2e 63 |om: ap@n|etwork.c|
|00001070| 63 2e 6a 79 75 2e 66 69 | 20 28 50 61 74 72 69 63 |c.jyu.fi| (Patric|
|00001080| 6b 20 41 61 6c 74 6f 29 | 0d 0a 4e 65 77 73 67 72 |k Aalto)|..Newsgr|
|00001090| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 73 79 73 2e 69 |oups: co|mp.sys.i|
|000010a0| 62 6d 2e 70 63 2e 64 65 | 6d 6f 73 0d 0a 53 75 62 |bm.pc.de|mos..Sub|
|000010b0| 6a 65 63 74 3a 20 52 65 | 3a 20 48 6f 77 20 69 6e |ject: Re|: How in|
|000010c0| 20 74 68 65 20 77 6f 72 | 6c 64 20 64 69 64 20 74 | the wor|ld did t|
|000010d0| 68 65 79 20 64 6f 20 4d | 41 52 53 2e 45 58 45 3f |hey do M|ARS.EXE?|
|000010e0| 0d 0a 44 61 74 65 3a 20 | 31 20 4d 61 72 20 31 39 |..Date: |1 Mar 19|
|000010f0| 39 34 20 31 34 3a 32 38 | 3a 35 39 20 2b 30 32 30 |94 14:28|:59 +020|
|00001100| 30 0d 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |0..Organ|ization:|
|00001110| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 4a | Univers|ity of J|
|00001120| 79 76 61 73 6b 79 6c 61 | 2c 20 46 69 6e 6c 61 6e |yvaskyla|, Finlan|
|00001130| 64 0d 0a 4c 69 6e 65 73 | 3a 20 31 37 31 0d 0a 4d |d..Lines|: 171..M|
|00001140| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 32 6b 76 63 |essage-I|D: <2kvc|
|00001150| 65 62 24 72 6a 72 40 74 | 75 6b 6b 69 2e 63 63 2e |eb$rjr@t|ukki.cc.|
|00001160| 6a 79 75 2e 66 69 3e 0d | 0a 52 65 66 65 72 65 6e |jyu.fi>.|.Referen|
|00001170| 63 65 73 3a 20 3c 32 6b | 75 35 30 6c 24 39 6c 6f |ces: <2k|u50l$9lo|
|00001180| 40 61 63 63 65 73 73 31 | 2e 64 69 67 65 78 2e 6e |@access1|.digex.n|
|00001190| 65 74 3e 0d 0a 4e 4e 54 | 50 2d 50 6f 73 74 69 6e |et>..NNT|P-Postin|
|000011a0| 67 2d 48 6f 73 74 3a 20 | 74 75 6b 6b 69 2e 63 63 |g-Host: |tukki.cc|
|000011b0| 2e 6a 79 75 2e 66 69 0d | 0a 0d 0a 49 6e 20 61 72 |.jyu.fi.|...In ar|
|000011c0| 74 69 63 6c 65 20 3c 32 | 6b 75 35 30 6c 24 39 6c |ticle <2|ku50l$9l|
|000011d0| 6f 40 61 63 63 65 73 73 | 31 2e 64 69 67 65 78 2e |o@access|1.digex.|
|000011e0| 6e 65 74 3e 20 6b 6d 63 | 63 6f 72 6d 40 61 63 63 |net> kmc|corm@acc|
|000011f0| 65 73 73 31 2e 64 69 67 | 65 78 2e 6e 65 74 20 28 |ess1.dig|ex.net (|
|00001200| 4b 65 76 69 6e 20 4d 63 | 43 6f 72 6d 69 63 6b 29 |Kevin Mc|Cormick)|
|00001210| 20 77 72 69 74 65 73 3a | 0d 0a 3e 4e 6f 77 20 49 | writes:|..>Now I|
|00001220| 27 76 65 20 70 6f 6e 64 | 65 72 65 64 20 71 75 69 |'ve pond|ered qui|
|00001230| 74 65 20 61 20 62 69 74 | 20 68 6f 77 20 69 74 27 |te a bit| how it'|
|00001240| 73 20 64 6f 6e 65 2e 0d | 0a 0d 0a 09 57 68 79 20 |s done..|....Why |
|00001250| 62 6f 74 68 65 72 20 70 | 6f 6e 64 65 72 69 6e 67 |bother p|ondering|
|00001260| 2c 20 73 69 6e 63 65 20 | 74 68 65 20 70 65 72 73 |, since |the pers|
|00001270| 6f 6e 20 77 68 6f 20 63 | 72 65 61 74 65 64 20 74 |on who c|reated t|
|00001280| 68 65 20 64 65 6d 6f 20 | 77 61 73 0d 0a 09 6b 69 |he demo |was...ki|
|00001290| 6e 64 20 65 6e 6f 75 67 | 68 20 74 6f 20 70 6f 73 |nd enoug|h to pos|
|000012a0| 74 20 61 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |t a desc|ription |
|000012b0| 6f 66 20 74 68 65 20 6d | 6f 74 68 6f 64 2c 20 74 |of the m|othod, t|
|000012c0| 6f 6f 2e 20 48 65 20 64 | 69 64 0d 0a 09 74 68 69 |oo. He d|id...thi|
|000012d0| 73 20 61 74 20 6c 65 61 | 73 74 20 69 6e 20 74 68 |s at lea|st in th|
|000012e0| 65 20 27 72 65 63 2e 67 | 61 6d 65 73 2e 70 72 6f |e 'rec.g|ames.pro|
|000012f0| 67 72 61 6d 6d 69 6e 67 | 27 20 61 6e 64 20 27 63 |gramming|' and 'c|
|00001300| 6f 6d 70 2e 67 72 61 70 | 68 69 63 73 2e 0d 0a 09 |omp.grap|hics....|
|00001310| 61 6c 67 6f 72 69 74 68 | 6d 73 27 20 6e 65 77 73 |algorith|ms' news|
|00001320| 67 72 6f 75 70 73 2e 20 | 49 20 74 68 69 6e 6b 20 |groups. |I think |
|00001330| 69 74 20 6d 69 67 68 74 | 20 62 65 20 61 20 67 6f |it might| be a go|
|00001340| 6f 64 20 69 64 65 61 20 | 66 6f 72 20 61 6c 6c 0d |od idea |for all.|
|00001350| 0a 09 74 68 65 20 72 65 | 61 64 65 72 73 20 6f 66 |..the re|aders of|
|00001360| 20 74 68 69 73 20 63 6f | 6e 66 65 72 65 6e 63 65 | this co|nference|
|00001370| 20 74 6f 20 76 69 73 69 | 74 20 74 68 6f 73 65 20 | to visi|t those |
|00001380| 74 77 6f 2c 20 74 6f 6f | 20 28 61 74 20 6c 65 61 |two, too| (at lea|
|00001390| 73 74 0d 0a 09 49 20 64 | 6f 20 74 68 61 74 29 2e |st...I d|o that).|
|000013a0| 0d 0a 0d 0a 09 49 6e 20 | 61 6e 79 20 63 61 73 65 |.....In |any case|
|000013b0| 2c 20 68 65 72 65 27 73 | 20 74 68 65 20 64 65 73 |, here's| the des|
|000013c0| 63 72 69 70 74 69 6f 6e | 2e 20 49 20 68 6f 70 65 |cription|. I hope|
|000013d0| 20 54 69 6d 20 43 6c 61 | 72 6b 65 20 64 6f 6e 27 | Tim Cla|rke don'|
|000013e0| 74 20 6d 69 6e 64 2e 2e | 2e 0d 0a 0d 0a 09 50 61 |t mind..|......Pa|
|000013f0| 74 72 69 63 6b 20 41 61 | 6c 74 6f 0d 0a 09 61 70 |trick Aa|lto...ap|
|00001400| 40 6a 79 75 2e 66 69 0d | 0a 0d 0a 2d 2d 2d 2d 2d |@jyu.fi.|...-----|
|00001410| 2d 2d 2d 0d 0a 0d 0a 09 | 09 56 6f 78 65 6c 20 6c |---.....|.Voxel l|
|00001420| 61 6e 64 73 63 61 70 65 | 73 20 61 6e 64 20 48 6f |andscape|s and Ho|
|00001430| 77 20 49 20 64 69 64 20 | 69 74 0d 0a 09 09 2d 2d |w I did |it....--|
|00001440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00001460| 0a 0d 0a 20 54 68 69 73 | 20 64 6f 63 75 6d 65 6e |... This| documen|
|00001470| 74 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |t descri|bes the |
|00001480| 6d 65 74 68 6f 64 20 49 | 20 75 73 65 64 20 69 6e |method I| used in|
|00001490| 20 6d 79 20 64 65 6d 6f | 20 6f 66 20 61 20 4d 61 | my demo| of a Ma|
|000014a0| 72 74 69 61 6e 20 74 65 | 72 72 61 69 6e 2c 0d 0a |rtian te|rrain,..|
|000014b0| 77 68 69 63 68 20 63 61 | 6e 20 62 65 20 66 6f 75 |which ca|n be fou|
|000014c0| 6e 64 20 61 74 20 67 61 | 72 62 6f 2e 75 77 61 73 |nd at ga|rbo.uwas|
|000014d0| 61 2e 66 69 3a 2f 70 63 | 2f 64 65 6d 6f 2f 6d 61 |a.fi:/pc|/demo/ma|
|000014e0| 72 73 31 30 2e 7a 69 70 | 2e 0d 0a 20 49 74 27 73 |rs10.zip|... It's|
|000014f0| 20 73 69 6d 69 6c 61 72 | 20 74 6f 20 61 20 66 6c | similar| to a fl|
|00001500| 6f 61 74 69 6e 67 20 68 | 6f 72 69 7a 6f 6e 20 68 |oating h|orizon h|
|00001510| 69 64 64 65 6e 20 6c 69 | 6e 65 20 72 65 6d 6f 76 |idden li|ne remov|
|00001520| 61 6c 20 61 6c 67 6f 72 | 69 74 68 6d 2c 20 73 6f |al algor|ithm, so|
|00001530| 20 79 6f 75 27 6c 6c 0d | 0a 66 69 6e 64 20 64 69 | you'll.|.find di|
|00001540| 73 63 75 73 73 69 6f 6e | 20 6f 66 20 74 68 65 20 |scussion| of the |
|00001550| 73 61 6c 69 65 6e 74 20 | 70 6f 69 6e 74 73 20 69 |salient |points i|
|00001560| 6e 20 6d 61 6e 79 20 63 | 6f 6d 70 75 74 65 72 20 |n many c|omputer |
|00001570| 67 72 61 70 68 69 63 73 | 20 62 6f 6f 6b 73 2e 20 |graphics| books. |
|00001580| 54 68 65 0d 0a 64 69 66 | 66 65 72 65 6e 63 65 20 |The..dif|ference |
|00001590| 69 73 20 74 68 65 20 76 | 65 72 74 69 63 61 6c 20 |is the v|ertical |
|000015a0| 6c 69 6e 65 20 69 6e 74 | 65 72 70 6f 6c 61 74 69 |line int|erpolati|
|000015b0| 6f 6e 2e 0d 0a 0d 0a 0d | 0a 46 69 72 73 74 2c 20 |on......|.First, |
|000015c0| 73 6f 6d 65 20 67 65 6e | 65 72 61 6c 20 70 6f 69 |some gen|eral poi|
|000015d0| 6e 74 73 3a 0d 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nts:..--|--------|
|000015e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015f0| 2d 0d 0a 0d 0a 20 54 68 | 65 20 6d 61 70 20 69 73 |-.... Th|e map is|
|00001600| 20 61 20 32 35 36 78 32 | 35 36 20 67 72 69 64 20 | a 256x2|56 grid |
|00001610| 6f 66 20 70 6f 69 6e 74 | 73 2c 20 65 61 63 68 20 |of point|s, each |
|00001620| 68 61 76 69 6e 67 20 61 | 6e 64 20 38 2d 62 69 74 |having a|nd 8-bit|
|00001630| 20 69 6e 74 65 67 65 72 | 20 68 65 69 67 68 74 0d | integer| height.|
|00001640| 0a 61 6e 64 20 61 20 63 | 6f 6c 6f 75 72 2e 20 54 |.and a c|olour. T|
|00001650| 68 65 20 6d 61 70 20 77 | 72 61 70 73 20 72 6f 75 |he map w|raps rou|
|00001660| 6e 64 20 73 75 63 68 20 | 74 68 61 74 2c 20 63 61 |nd such |that, ca|
|00001670| 6c 6c 69 6e 67 20 77 28 | 75 2c 76 29 20 74 68 65 |lling w(|u,v) the|
|00001680| 20 68 65 69 67 68 74 20 | 61 74 0d 0a 28 75 2c 76 | height |at..(u,v|
|00001690| 29 2c 20 74 68 65 6e 20 | 77 28 30 2c 30 29 3d 77 |), then |w(0,0)=w|
|000016a0| 28 32 35 36 2c 30 29 3d | 77 28 30 2c 32 35 36 29 |(256,0)=|w(0,256)|
|000016b0| 3d 77 28 32 35 36 2c 32 | 35 36 29 2e 20 77 28 31 |=w(256,2|56). w(1|
|000016c0| 2c 31 29 3d 77 28 32 35 | 37 2c 32 35 37 29 2c 20 |,1)=w(25|7,257), |
|000016d0| 65 74 63 2e 0d 0a 0d 0a | 20 4d 61 70 20 63 6f 2d |etc.....| Map co-|
|000016e0| 6f 72 64 73 3a 20 28 75 | 2c 76 29 20 63 6f 2d 6f |ords: (u|,v) co-o|
|000016f0| 72 64 69 6e 61 74 65 73 | 20 74 68 61 74 20 64 65 |rdinates| that de|
|00001700| 73 63 72 69 62 65 20 61 | 20 70 6f 73 69 74 69 6f |scribe a| positio|
|00001710| 6e 20 6f 6e 20 74 68 65 | 20 6d 61 70 2e 20 54 68 |n on the| map. Th|
|00001720| 65 0d 0a 6d 61 70 20 63 | 61 6e 20 62 65 20 74 68 |e..map c|an be th|
|00001730| 6f 75 67 68 74 20 6f 66 | 20 61 73 20 61 20 68 65 |ought of| as a he|
|00001740| 69 67 68 74 20 66 75 6e | 63 74 69 6f 6e 20 77 3d |ight fun|ction w=|
|00001750| 66 28 75 2c 76 29 20 73 | 61 6d 70 6c 65 64 20 64 |f(u,v) s|ampled d|
|00001760| 69 73 63 72 65 74 65 6c | 79 2e 0d 0a 0d 0a 20 53 |iscretel|y..... S|
|00001770| 63 72 65 65 6e 20 63 6f | 2d 6f 72 64 73 3a 20 28 |creen co|-ords: (|
|00001780| 78 2c 79 29 20 63 6f 2d | 6f 72 64 69 6e 61 74 65 |x,y) co-|ordinate|
|00001790| 73 20 66 6f 72 20 61 20 | 70 69 78 65 6c 20 6f 6e |s for a |pixel on|
|000017a0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 0d 0a 0d 0a | the scr|een.....|
|000017b0| 0d 0a 54 6f 20 67 65 6e | 65 72 61 74 65 20 74 68 |..To gen|erate th|
|000017c0| 65 20 6d 61 70 3a 0d 0a | 2d 2d 2d 2d 2d 2d 2d 2d |e map:..|--------|
|000017d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 0d 0a |--------|----....|
|000017e0| 20 54 68 69 73 20 69 73 | 20 61 20 72 65 63 75 72 | This is| a recur|
|000017f0| 73 69 76 65 20 73 75 62 | 64 69 76 69 73 69 6f 6e |sive sub|division|
|00001800| 2c 20 6f 72 20 70 6c 61 | 73 6d 61 2c 20 66 72 61 |, or pla|sma, fra|
|00001810| 63 74 61 6c 2e 20 59 6f | 75 20 73 74 61 72 74 20 |ctal. Yo|u start |
|00001820| 6f 66 20 77 69 74 68 0d | 0a 61 20 72 61 6e 64 6f |of with.|.a rando|
|00001830| 6d 20 68 65 69 67 68 74 | 20 61 74 20 28 30 2c 30 |m height| at (0,0|
|00001840| 29 20 61 6e 64 20 74 68 | 65 72 65 66 6f 72 65 20 |) and th|erefore |
|00001850| 61 6c 73 6f 20 61 74 20 | 28 32 35 36 2c 30 29 2c |also at |(256,0),|
|00001860| 20 28 30 2c 32 35 36 29 | 2c 20 28 32 35 36 2c 32 | (0,256)|, (256,2|
|00001870| 35 36 29 2e 0d 0a 43 61 | 6c 6c 20 61 20 72 6f 75 |56)...Ca|ll a rou|
|00001880| 74 69 6e 65 20 74 68 61 | 74 20 74 61 6b 65 73 20 |tine tha|t takes |
|00001890| 61 73 20 69 6e 70 75 74 | 20 74 68 65 20 73 69 7a |as input| the siz|
|000018a0| 65 20 61 6e 64 20 70 6f | 73 69 74 69 6f 6e 20 6f |e and po|sition o|
|000018b0| 66 20 61 20 73 71 75 61 | 72 65 2c 20 69 6e 20 74 |f a squa|re, in t|
|000018c0| 68 65 0d 0a 66 69 72 73 | 74 20 63 61 73 65 20 74 |he..firs|t case t|
|000018d0| 68 65 20 65 6e 74 69 72 | 65 20 6d 61 70 2e 0d 0a |he entir|e map...|
|000018e0| 20 54 68 69 73 20 72 6f | 75 74 69 6e 65 20 67 65 | This ro|utine ge|
|000018f0| 74 20 74 68 65 20 68 65 | 69 67 68 74 73 20 66 72 |t the he|ights fr|
|00001900| 6f 6d 20 74 68 65 20 63 | 6f 72 6e 65 72 73 20 6f |om the c|orners o|
|00001910| 66 20 74 68 65 20 73 71 | 75 61 72 65 20 69 74 20 |f the sq|uare it |
|00001920| 67 65 74 73 20 67 69 76 | 65 6e 2e 0d 0a 41 63 72 |gets giv|en...Acr|
|00001930| 6f 73 73 20 65 61 63 68 | 20 65 64 67 65 20 28 69 |oss each| edge (i|
|00001940| 66 20 74 68 65 20 6d 61 | 70 20 68 61 73 20 6e 6f |f the ma|p has no|
|00001950| 74 20 62 65 65 6e 20 77 | 72 69 74 74 65 6e 20 74 |t been w|ritten t|
|00001960| 6f 20 61 74 20 74 68 65 | 20 70 6f 69 6e 74 20 68 |o at the| point h|
|00001970| 61 6c 66 77 61 79 0d 0a | 61 6c 6f 6e 67 20 74 68 |alfway..|along th|
|00001980| 61 74 20 65 64 67 65 29 | 2c 20 69 74 20 74 61 6b |at edge)|, it tak|
|00001990| 65 73 20 74 68 65 20 61 | 76 65 72 61 67 65 20 6f |es the a|verage o|
|000019a0| 66 20 74 68 65 20 68 65 | 69 67 68 74 73 20 6f 66 |f the he|ights of|
|000019b0| 20 74 68 65 20 32 20 63 | 6f 72 6e 65 72 73 20 6f | the 2 c|orners o|
|000019c0| 6e 20 74 68 61 74 0d 0a | 65 64 67 65 2c 20 61 70 |n that..|edge, ap|
|000019d0| 70 6c 69 65 73 20 73 6f | 6d 65 20 6e 6f 69 73 65 |plies so|me noise|
|000019e0| 20 70 72 6f 70 6f 72 74 | 69 6f 6e 61 6c 20 74 6f | proport|ional to|
|000019f0| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 74 | the len|gth of t|
|00001a00| 68 65 20 65 64 67 65 2c | 20 61 6e 64 20 77 72 69 |he edge,| and wri|
|00001a10| 74 65 73 0d 0a 74 68 65 | 20 72 65 73 75 6c 74 20 |tes..the| result |
|00001a20| 69 6e 74 6f 20 74 68 65 | 20 6d 61 70 20 61 74 20 |into the| map at |
|00001a30| 61 20 70 6f 73 69 74 69 | 6f 6e 20 68 61 6c 66 77 |a positi|on halfw|
|00001a40| 61 79 20 61 6c 6f 6e 67 | 20 74 68 65 20 65 64 67 |ay along| the edg|
|00001a50| 65 2e 20 54 68 65 20 63 | 65 6e 74 72 65 20 6f 66 |e. The c|entre of|
|00001a60| 0d 0a 74 68 65 20 73 71 | 75 61 72 65 20 69 73 20 |..the sq|uare is |
|00001a70| 74 68 65 20 61 76 65 72 | 61 67 65 20 6f 66 20 74 |the aver|age of t|
|00001a80| 68 65 20 66 6f 75 72 20 | 63 6f 72 6e 65 72 73 2b |he four |corners+|
|00001a90| 6e 6f 69 73 65 2e 0d 0a | 20 54 68 65 20 72 6f 75 |noise...| The rou|
|00001aa0| 74 69 6e 65 20 74 68 65 | 6e 20 63 61 6c 6c 73 20 |tine the|n calls |
|00001ab0| 69 74 73 65 6c 66 20 72 | 65 63 75 72 73 69 76 65 |itself r|ecursive|
|00001ac0| 6c 79 2c 20 73 70 6c 69 | 74 74 69 6e 67 20 65 61 |ly, spli|tting ea|
|00001ad0| 63 68 20 73 71 75 61 72 | 65 20 69 6e 74 6f 20 66 |ch squar|e into f|
|00001ae0| 6f 75 72 0d 0a 71 75 61 | 64 72 61 6e 74 73 2c 20 |our..qua|drants, |
|00001af0| 63 61 6c 6c 69 6e 67 20 | 69 74 73 65 6c 66 20 66 |calling |itself f|
|00001b00| 6f 72 20 65 61 63 68 20 | 71 75 61 64 72 61 6e 74 |or each |quadrant|
|00001b10| 20 75 6e 74 69 6c 20 74 | 68 65 20 6c 65 6e 67 74 | until t|he lengt|
|00001b20| 68 20 6f 66 20 74 68 65 | 20 73 69 64 65 20 69 73 |h of the| side is|
|00001b30| 0d 0a 32 20 70 69 78 65 | 6c 73 2e 0d 0a 20 54 68 |..2 pixe|ls... Th|
|00001b40| 69 73 20 69 73 20 70 72 | 6f 62 61 62 6c 79 20 6f |is is pr|obably o|
|00001b50| 6c 64 2d 68 61 74 20 74 | 6f 20 6d 61 6e 79 20 70 |ld-hat t|o many p|
|00001b60| 65 6f 70 6c 65 2c 20 62 | 75 74 20 74 68 65 20 6d |eople, b|ut the m|
|00001b70| 61 70 20 69 73 20 6d 61 | 64 65 20 6d 6f 72 65 20 |ap is ma|de more |
|00001b80| 72 65 61 6c 69 73 74 69 | 63 0d 0a 62 79 20 62 6c |realisti|c..by bl|
|00001b90| 75 72 72 69 6e 67 3a 0d | 0a 0d 0a 20 20 20 20 20 |urring:.|... |
|00001ba0| 77 28 75 2c 76 29 3d 6b | 31 2a 77 28 75 2c 76 29 |w(u,v)=k|1*w(u,v)|
|00001bb0| 2b 6b 32 2a 77 28 75 2b | 33 2c 76 2d 32 29 2b 6b |+k2*w(u+|3,v-2)+k|
|00001bc0| 33 2a 77 28 75 2d 32 2c | 76 2b 34 29 20 6f 72 20 |3*w(u-2,|v+4) or |
|00001bd0| 73 6f 6d 65 74 68 69 6e | 67 2e 0d 0a 0d 0a 20 43 |somethin|g..... C|
|00001be0| 68 6f 6f 73 65 20 6b 31 | 2c 6b 32 2c 6b 33 20 73 |hoose k1|,k2,k3 s|
|00001bf0| 75 63 68 20 74 68 61 74 | 20 6b 31 2b 6b 32 2b 6b |uch that| k1+k2+k|
|00001c00| 33 3d 31 2e 20 54 68 65 | 20 70 6f 69 6e 74 73 20 |3=1. The| points |
|00001c10| 61 74 20 77 68 69 63 68 | 20 74 68 65 20 6d 61 70 |at which| the map|
|00001c20| 20 69 73 20 73 61 6d 70 | 6c 65 64 0d 0a 66 6f 72 | is samp|led..for|
|00001c30| 20 74 68 65 20 62 6c 75 | 72 72 69 6e 67 20 66 69 | the blu|rring fi|
|00001c40| 6c 74 65 72 20 64 6f 20 | 6e 6f 74 20 72 65 61 6c |lter do |not real|
|00001c50| 6c 79 20 6d 61 74 74 65 | 72 20 2d 20 74 68 65 79 |ly matte|r - they|
|00001c60| 20 67 69 76 65 20 64 69 | 66 66 65 72 65 6e 74 20 | give di|fferent |
|00001c70| 65 66 66 65 63 74 73 2c | 0d 0a 61 6e 64 20 79 6f |effects,|..and yo|
|00001c80| 75 20 64 6f 6e 27 74 20 | 6e 65 65 64 20 61 6e 79 |u don't |need any|
|00001c90| 20 74 68 65 6f 72 65 74 | 69 63 61 6c 20 72 65 61 | theoret|ical rea|
|00001ca0| 73 6f 6e 20 74 6f 20 63 | 68 6f 6f 73 65 20 6f 6e |son to c|hoose on|
|00001cb0| 65 20 6c 6f 74 20 61 73 | 20 6c 6f 6e 67 20 61 73 |e lot as| long as|
|00001cc0| 20 69 74 0d 0a 6c 6f 6f | 6b 73 20 67 6f 6f 64 2e | it..loo|ks good.|
|00001cd0| 20 4f 66 20 63 6f 75 72 | 73 65 20 64 6f 20 65 76 | Of cour|se do ev|
|00001ce0| 65 72 79 74 68 69 6e 67 | 20 69 6e 20 66 69 78 65 |erything| in fixe|
|00001cf0| 64 20 70 6f 69 6e 74 20 | 69 6e 74 65 67 65 72 20 |d point |integer |
|00001d00| 61 72 69 74 68 6d 65 74 | 69 63 2e 0d 0a 20 54 68 |arithmet|ic... Th|
|00001d10| 65 20 63 6f 6c 6f 75 72 | 73 20 61 72 65 20 64 6f |e colour|s are do|
|00001d20| 6e 65 20 73 6f 20 74 68 | 61 74 20 74 68 65 20 73 |ne so th|at the s|
|00001d30| 75 6e 20 69 73 20 6f 6e | 20 74 68 65 20 68 6f 72 |un is on| the hor|
|00001d40| 69 7a 6f 6e 20 74 6f 20 | 74 68 65 20 45 61 73 74 |izon to |the East|
|00001d50| 3a 0d 0a 0d 0a 20 20 20 | 20 20 43 6f 6c 6f 75 72 |:.... | Colour|
|00001d60| 3d 41 2a 5b 20 77 28 75 | 2b 31 2c 76 29 2d 77 28 |=A*[ w(u|+1,v)-w(|
|00001d70| 75 2c 76 29 20 5d 2b 42 | 0d 0a 0d 0a 77 69 74 68 |u,v) ]+B|....with|
|00001d80| 20 41 20 61 6e 64 20 42 | 20 63 68 6f 73 65 6e 20 | A and B| chosen |
|00001d90| 73 6f 20 74 68 61 74 20 | 74 68 65 20 66 75 6c 6c |so that |the full|
|00001da0| 20 72 61 6e 67 65 20 6f | 66 20 74 68 65 20 70 61 | range o|f the pa|
|00001db0| 6c 65 74 74 65 20 69 73 | 20 75 73 65 64 2e 0d 0a |lette is| used...|
|00001dc0| 20 54 68 65 20 73 6b 79 | 20 69 73 20 61 20 73 69 | The sky| is a si|
|00001dd0| 6d 69 6c 61 72 20 66 72 | 61 63 74 61 6c 20 62 75 |milar fr|actal bu|
|00001de0| 74 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 63 6f |t withou|t the co|
|00001df0| 6c 6f 75 72 20 74 72 61 | 6e 73 66 6f 72 6d 61 74 |lour tra|nsformat|
|00001e00| 69 6f 6e 2e 0d 0a 0d 0a | 0d 0a 48 6f 77 20 74 6f |ion.....|..How to|
|00001e10| 20 64 72 61 77 20 65 61 | 63 68 20 66 72 61 6d 65 | draw ea|ch frame|
|00001e20| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00001e30| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 0d 0a 20 46 69 72 |--------|.... Fir|
|00001e40| 73 74 2c 20 64 72 61 77 | 20 74 68 65 20 73 6b 79 |st, draw| the sky|
|00001e50| 2c 20 61 6e 64 20 62 6c | 61 6e 6b 20 6f 66 66 20 |, and bl|ank off |
|00001e60| 61 62 6f 75 74 20 35 30 | 20 6f 72 20 73 6f 20 73 |about 50| or so s|
|00001e70| 63 61 6e 20 6c 69 6e 65 | 73 20 62 65 6c 6f 77 20 |can line|s below |
|00001e80| 74 68 65 0d 0a 68 6f 72 | 69 7a 6f 6e 20 73 69 6e |the..hor|izon sin|
|00001e90| 63 65 20 74 68 65 20 72 | 6f 75 74 69 6e 65 20 6d |ce the r|outine m|
|00001ea0| 61 79 20 6e 6f 74 20 77 | 72 69 74 65 20 74 6f 20 |ay not w|rite to |
|00001eb0| 61 6c 6c 20 6f 66 20 74 | 68 65 6d 20 28 65 67 2e |all of t|hem (eg.|
|00001ec0| 20 69 66 20 79 6f 75 20 | 61 72 65 20 6f 6e 20 74 | if you |are on t|
|00001ed0| 6f 70 0d 0a 6f 66 20 61 | 20 68 69 67 68 20 6d 6f |op..of a| high mo|
|00001ee0| 75 6e 74 61 69 6e 20 6c | 6f 6f 6b 69 6e 67 20 6f |untain l|ooking o|
|00001ef0| 6e 74 6f 20 61 20 66 6c | 61 74 20 70 6c 61 6e 65 |nto a fl|at plane|
|00001f00| 2c 20 74 68 65 20 70 6c | 61 6e 65 20 77 69 6c 6c |, the pl|ane will|
|00001f10| 20 6e 6f 74 20 67 6f 20 | 74 6f 20 74 68 65 0d 0a | not go |to the..|
|00001f20| 68 6f 72 69 7a 6f 6e 29 | 2e 0d 0a 20 4e 6f 77 2c |horizon)|... Now,|
|00001f30| 20 64 6f 77 6e 20 74 6f | 20 62 75 73 69 6e 65 73 | down to| busines|
|00001f40| 73 2e 20 54 68 65 20 73 | 63 72 65 65 6e 20 69 73 |s. The s|creen is|
|00001f50| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 0a 0d 0a | as foll|ows:....|
|00001f60| 20 20 20 20 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ---|--------|
|00001f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f80| 0d 0a 20 20 20 20 20 7c | 20 20 20 20 20 20 20 20 |.. || |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fa0| 20 7c 0d 0a 20 20 20 20 | 20 7c 20 20 20 20 20 20 | |.. | | |
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fc0| 20 20 20 7c 0d 0a 20 20 | 20 20 20 7c 20 20 20 20 | |.. | | |
|00001fd0| 20 20 20 20 20 20 20 53 | 6b 79 20 20 20 20 20 20 | S|ky |
|00001fe0| 20 20 20 20 20 7c 0d 0a | 20 20 20 20 20 7c 20 20 | |..| | |
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002000| 20 20 20 20 20 20 20 7c | 0d 0a 20 20 20 20 20 7c | ||.. ||
|00002010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002020| 20 20 20 20 20 20 20 20 | 20 7c 0d 0a 20 20 20 20 | | |.. |
|00002030| 20 7c 61 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | |a-----|--------|
|00002040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 7c 20 48 6f 72 |--------|---| Hor|
|00002050| 69 7a 6f 6e 0d 0a 20 20 | 20 20 20 7c 20 20 20 20 |izon.. | | |
|00002060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002070| 20 20 20 20 20 7c 0d 0a | 20 20 20 20 20 7c 20 20 | |..| | |
|00002080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002090| 20 20 20 20 20 20 20 7c | 20 20 20 20 50 6f 69 6e | || Poin|
|000020a0| 74 20 28 61 29 3d 73 63 | 72 65 65 6e 20 63 6f 2d |t (a)=sc|reen co-|
|000020b0| 6f 72 64 73 20 28 30 2c | 30 29 0d 0a 20 20 20 20 |ords (0,|0).. |
|000020c0| 20 7c 20 20 20 20 20 20 | 20 20 20 20 47 72 6f 75 | | | Grou|
|000020d0| 6e 64 20 20 20 20 20 20 | 20 20 20 7c 20 20 20 20 |nd | | |
|000020e0| 20 78 20 69 6e 63 72 65 | 61 73 65 73 20 68 6f 72 | x incre|ases hor|
|000020f0| 69 7a 6f 6e 74 61 6c 6c | 79 0d 0a 20 20 20 20 20 |izontall|y.. |
|00002100| 7c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 || | |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 7c 20 20 20 20 20 | | | |
|00002120| 79 20 69 6e 63 72 65 61 | 73 65 73 20 64 6f 77 6e |y increa|ses down|
|00002130| 77 61 72 64 73 0d 0a 20 | 20 20 20 20 7c 20 20 20 |wards.. | | |
|00002140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002150| 20 20 20 20 20 20 7c 0d | 0a 20 20 20 20 20 2d 2d | |.|. --|
|00002160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0a 0d 0a 20 49 6d |--------|-.... Im|
|00002180| 61 67 69 6e 65 20 74 68 | 65 20 76 69 65 77 70 6f |agine th|e viewpo|
|00002190| 69 6e 74 20 69 73 20 61 | 74 20 61 20 70 6f 73 69 |int is a|t a posi|
|000021a0| 74 69 6f 6e 20 28 70 2c | 71 2c 72 29 20 77 68 65 |tion (p,|q,r) whe|
|000021b0| 72 65 20 28 70 2c 71 29 | 20 61 72 65 20 74 68 65 |re (p,q)| are the|
|000021c0| 20 28 75 2c 76 29 0d 0a | 6d 61 70 20 63 6f 2d 6f | (u,v)..|map co-o|
|000021d0| 72 64 69 6e 61 74 65 73 | 20 61 6e 64 20 72 20 69 |rdinates| and r i|
|000021e0| 73 20 74 68 65 20 61 6c | 74 69 74 75 64 65 2e 20 |s the al|titude. |
|000021f0| 4e 6f 77 2c 20 66 6f 72 | 20 65 61 63 68 20 68 6f |Now, for| each ho|
|00002200| 72 69 7a 6f 6e 74 61 6c | 20 28 63 6f 6e 73 74 61 |rizontal| (consta|
|00002210| 6e 74 20 76 29 0d 0a 6c | 69 6e 65 20 6f 66 20 6d |nt v)..l|ine of m|
|00002220| 61 70 20 66 72 6f 6d 20 | 76 3d 72 2b 31 30 30 20 |ap from |v=r+100 |
|00002230| 28 73 61 79 29 20 64 6f | 77 6e 20 74 6f 20 76 3d |(say) do|wn to v=|
|00002240| 72 2c 20 64 6f 20 74 68 | 69 73 3a 0d 0a 0d 0a 09 |r, do th|is:.....|
|00002250| 31 2e 20 43 61 6c 63 75 | 6c 61 74 65 20 74 68 65 |1. Calcu|late the|
|00002260| 20 79 20 63 6f 2d 6f 72 | 64 69 6e 61 74 65 20 6f | y co-or|dinate o|
|00002270| 66 20 6d 61 70 20 63 6f | 2d 6f 72 64 20 28 70 2c |f map co|-ord (p,|
|00002280| 76 2c 30 29 20 28 70 65 | 72 73 70 65 63 74 69 76 |v,0) (pe|rspectiv|
|00002290| 65 20 74 72 61 6e 73 66 | 6f 72 6d 29 0d 0a 0d 0a |e transf|orm)....|
|000022a0| 09 32 2e 20 43 61 6c 63 | 75 6c 61 74 65 20 73 63 |.2. Calc|ulate sc|
|000022b0| 61 6c 65 20 66 61 63 74 | 6f 72 20 66 20 77 68 69 |ale fact|or f whi|
|000022c0| 63 68 20 69 73 20 68 6f | 77 20 6d 61 6e 79 20 73 |ch is ho|w many s|
|000022d0| 63 72 65 65 6e 20 70 69 | 78 65 6c 73 20 68 69 67 |creen pi|xels hig|
|000022e0| 68 20 61 20 6d 6f 75 6e | 74 61 69 6e 0d 0a 6f 66 |h a moun|tain..of|
|000022f0| 20 63 6f 6e 73 74 61 6e | 74 20 68 65 69 67 68 74 | constan|t height|
|00002300| 20 77 6f 75 6c 64 20 62 | 65 20 69 66 20 61 74 20 | would b|e if at |
|00002310| 64 69 73 74 61 6e 63 65 | 20 76 20 66 72 6f 6d 20 |distance| v from |
|00002320| 71 2e 20 54 68 65 72 65 | 66 6f 72 65 2c 20 66 20 |q. There|fore, f |
|00002330| 69 73 20 73 6d 61 6c 6c | 0d 0a 66 6f 72 20 6d 61 |is small|..for ma|
|00002340| 70 20 63 6f 2d 6f 72 64 | 73 20 66 61 72 20 61 77 |p co-ord|s far aw|
|00002350| 61 79 20 28 76 3e 3e 72 | 29 20 61 6e 64 20 67 65 |ay (v>>r|) and ge|
|00002360| 74 73 20 62 69 67 67 65 | 72 20 61 73 20 76 20 63 |ts bigge|r as v c|
|00002370| 6f 6d 65 73 20 64 6f 77 | 6e 20 74 6f 77 61 72 64 |omes dow|n toward|
|00002380| 73 20 72 2e 0d 0a 0d 0a | 09 33 2e 20 57 6f 72 6b |s r.....|.3. Work|
|00002390| 20 6f 75 74 20 74 68 65 | 20 6d 61 70 20 75 20 63 | out the| map u c|
|000023a0| 6f 2d 6f 72 64 20 63 6f | 72 72 65 73 70 6f 6e 64 |o-ord co|rrespond|
|000023b0| 69 6e 67 20 74 6f 20 28 | 30 2c 79 29 2e 20 76 20 |ing to (|0,y). v |
|000023c0| 69 73 20 63 6f 6e 73 74 | 61 6e 74 20 61 6c 6f 6e |is const|ant alon|
|000023d0| 67 0d 0a 65 61 63 68 20 | 6c 69 6e 65 2e 0d 0a 0d |g..each |line....|
|000023e0| 0a 09 34 2e 20 53 74 61 | 72 74 69 6e 67 20 61 74 |..4. Sta|rting at|
|000023f0| 20 74 68 65 20 63 61 6c | 63 75 6c 61 74 65 64 20 | the cal|culated |
|00002400| 28 75 2c 76 29 2c 20 74 | 72 61 76 65 72 73 65 20 |(u,v), t|raverse |
|00002410| 74 68 65 20 73 63 72 65 | 65 6e 2c 20 69 6e 63 72 |the scre|en, incr|
|00002420| 65 6d 65 6e 74 69 6e 67 | 20 74 68 65 0d 0a 78 20 |ementing| the..x |
|00002430| 63 6f 2d 6f 72 64 69 6e | 61 74 65 20 61 6e 64 20 |co-ordin|ate and |
|00002440| 61 64 64 69 6e 67 20 6f | 6e 20 61 20 63 6f 6e 73 |adding o|n a cons|
|00002450| 74 61 6e 74 2c 20 63 2c | 20 74 6f 20 75 20 73 75 |tant, c,| to u su|
|00002460| 63 68 20 74 68 61 74 20 | 28 75 2b 63 2c 76 29 20 |ch that |(u+c,v) |
|00002470| 61 72 65 20 74 68 65 20 | 6d 61 70 0d 0a 63 6f 2d |are the |map..co-|
|00002480| 6f 72 64 73 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 |ords cor|respondi|
|00002490| 6e 67 20 74 6f 20 74 68 | 65 20 73 63 72 65 65 6e |ng to th|e screen|
|000024a0| 20 63 6f 2d 6f 72 64 73 | 20 28 31 2c 79 29 2e 20 | co-ords| (1,y). |
|000024b0| 59 6f 75 20 74 68 65 6e | 20 68 61 76 65 20 32 35 |You then| have 25|
|000024c0| 36 20 6d 61 70 0d 0a 63 | 6f 2d 6f 72 64 73 20 61 |6 map..c|o-ords a|
|000024d0| 6c 6f 6e 67 20 61 20 6c | 69 6e 65 20 6f 66 20 63 |long a l|ine of c|
|000024e0| 6f 6e 73 74 61 6e 74 20 | 76 2e 20 47 65 74 20 74 |onstant |v. Get t|
|000024f0| 68 65 20 68 65 69 67 68 | 74 2c 20 77 2c 20 61 74 |he heigh|t, w, at|
|00002500| 20 65 61 63 68 20 6d 61 | 70 20 63 6f 2d 6f 72 64 | each ma|p co-ord|
|00002510| 20 61 6e 64 0d 0a 64 72 | 61 77 20 61 20 73 70 6f | and..dr|aw a spo|
|00002520| 74 20 61 74 20 28 78 2c | 79 2d 77 2a 66 29 20 66 |t at (x,|y-w*f) f|
|00002530| 6f 72 20 61 6c 6c 20 78 | 2e 0d 0a 0d 0a 20 53 6f |or all x|..... So|
|00002540| 72 72 79 2c 20 62 75 74 | 20 74 68 61 74 20 70 72 |rry, but| that pr|
|00002550| 6f 62 61 62 6c 79 20 64 | 6f 65 73 6e 27 74 20 6d |obably d|oesn't m|
|00002560| 61 6b 65 20 6d 75 63 68 | 20 73 65 6e 73 65 2e 20 |ake much| sense. |
|00002570| 48 65 72 65 27 73 20 61 | 6e 20 65 78 61 6d 70 6c |Here's a|n exampl|
|00002580| 65 3a 0d 0a 49 6d 61 67 | 69 6e 65 20 73 6f 6d 65 |e:..Imag|ine some|
|00002590| 74 69 6d 65 20 69 6e 20 | 74 68 65 20 6d 69 64 64 |time in |the midd|
|000025a0| 6c 65 20 6f 66 20 64 72 | 61 77 69 6e 67 20 74 68 |le of dr|awing th|
|000025b0| 65 20 66 72 61 6d 65 2c | 20 65 76 65 72 79 74 68 |e frame,| everyth|
|000025c0| 69 6e 67 20 62 65 68 69 | 6e 64 20 61 0d 0a 70 6f |ing behi|nd a..po|
|000025d0| 69 6e 74 20 28 73 61 79 | 20 76 3d 71 2b 35 30 29 |int (say| v=q+50)|
|000025e0| 20 77 69 6c 6c 20 68 61 | 76 65 20 62 65 65 6e 20 | will ha|ve been |
|000025f0| 64 72 61 77 6e 3a 0d 0a | 0d 0a 09 09 20 2d 2d 2d |drawn:..|.... ---|
|00002600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002610| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 09 09 20 7c 20 20 |--------|.... | |
|00002620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002630| 20 20 20 20 20 20 20 7c | 0d 0a 09 09 20 7c 20 20 | ||.... | |
|00002640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002650| 20 20 20 20 20 20 20 7c | 0d 0a 09 09 20 7c 20 20 | ||.... | |
|00002660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002670| 20 20 20 20 20 20 20 7c | 0d 0a 09 09 20 7c 20 20 | ||.... | |
|00002680| 20 20 20 20 20 20 20 20 | 20 2a 2a 2a 2a 20 20 20 | | **** |
|00002690| 20 20 20 20 20 20 20 7c | 0d 0a 09 09 20 7c 20 20 | ||.... | |
|000026a0| 20 20 20 20 20 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 20 | **|******* |
|000026b0| 20 20 20 20 20 20 20 7c | 20 3c 2d 20 41 20 6d 6f | || <- A mo|
|000026c0| 75 6e 74 61 69 6e 20 68 | 61 6c 66 2d 64 72 61 77 |untain h|alf-draw|
|000026d0| 6e 2e 0d 0a 09 09 20 7c | 2d 2d 2d 2d 2d 2a 2a 2a |n..... ||-----***|
|000026e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2d 2d 2d 2d 2d |********|***-----|
|000026f0| 2d 7c 0d 0a 09 09 20 7c | 2a 2a 2a 2a 2a 2a 2a 2a |-|.... ||********|
|00002700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002710| 2a 7c 0d 0a 09 09 20 7c | 2a 2a 2a 2a 2a 2a 2a 2a |*|.... ||********|
|00002720| 2a 20 20 20 20 20 20 20 | 2a 2a 2a 2a 2a 2a 2a 2a |* |********|
|00002730| 2a 7c 0d 0a 09 09 20 7c | 2a 2a 2a 2a 2a 2a 20 20 |*|.... ||****** |
|00002740| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2a 2a 2a 2a | | *****|
|00002750| 2a 7c 0d 0a 09 09 20 7c | 2e 2e 2e 2e 2e 2e 2e 2e |*|.... ||........|
|00002760| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00002770| 2e 7c 20 3c 2d 20 54 68 | 65 20 72 6f 77 20 6f 66 |.| <- Th|e row of|
|00002780| 20 64 6f 74 73 20 69 73 | 20 61 74 20 73 63 72 65 | dots is| at scre|
|00002790| 65 6e 20 63 6f 2d 6f 72 | 64 20 79 0d 0a 09 09 20 |en co-or|d y.... |
|000027a0| 7c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 || | |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 7c 20 20 20 63 6f | | | co|
|000027c0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 74 6f 20 61 |rrespond|ing to a|
|000027d0| 6e 20 61 6c 74 69 74 75 | 64 65 20 6f 66 20 30 20 |n altitu|de of 0 |
|000027e0| 66 6f 72 20 74 68 61 74 | 0d 0a 09 09 20 2d 2d 2d |for that|.... ---|
|000027f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002800| 2d 2d 2d 2d 2d 2d 2d 2d | 20 20 20 70 61 72 74 69 |--------| parti|
|00002810| 63 75 6c 61 72 20 64 69 | 73 74 61 6e 63 65 20 76 |cular di|stance v|
|00002820| 2e 0d 0a 0d 0a 20 4e 6f | 77 20 74 68 65 20 73 63 |..... No|w the sc|
|00002830| 72 65 65 6e 2d 73 63 61 | 6e 6e 69 6e 67 20 72 6f |reen-sca|nning ro|
|00002840| 75 74 69 6e 65 20 77 69 | 6c 6c 20 67 65 74 20 63 |utine wi|ll get c|
|00002850| 61 6c 6c 65 64 20 66 6f | 72 20 76 3d 71 2b 35 30 |alled fo|r v=q+50|
|00002860| 2e 20 49 74 20 64 72 61 | 77 73 20 69 6e 20 61 0d |. It dra|ws in a.|
|00002870| 0a 70 6f 69 6e 74 20 66 | 6f 72 20 65 76 65 72 79 |.point f|or every|
|00002880| 20 78 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 | x corre|sponding|
|00002890| 20 74 6f 20 68 65 69 67 | 68 74 73 20 61 74 20 6d | to heig|hts at m|
|000028a0| 61 70 20 70 6f 73 69 74 | 69 6f 6e 73 20 28 75 2c |ap posit|ions (u,|
|000028b0| 76 29 20 77 68 65 72 65 | 20 75 0d 0a 67 6f 65 73 |v) where| u..goes|
|000028c0| 20 66 72 6f 6d 20 70 2d | 73 6f 6d 65 74 68 69 6e | from p-|somethin|
|000028d0| 67 20 74 6f 20 70 2b 73 | 6f 6d 65 74 68 69 6e 67 |g to p+s|omething|
|000028e0| 2c 20 76 20 63 6f 6e 73 | 74 61 6e 74 2e 20 54 68 |, v cons|tant. Th|
|000028f0| 65 20 72 6f 75 74 69 6e | 65 20 77 6f 75 6c 64 20 |e routin|e would |
|00002900| 70 75 74 20 70 6f 69 6e | 74 73 0d 0a 61 74 20 74 |put poin|ts..at t|
|00002910| 68 65 73 65 20 70 6f 73 | 69 74 69 6f 6e 73 3a 20 |hese pos|itions: |
|00002920| 28 69 67 6e 6f 72 69 6e | 67 20 77 68 61 74 20 77 |(ignorin|g what w|
|00002930| 61 73 20 74 68 65 72 65 | 20 62 65 66 6f 72 65 29 |as there| before)|
|00002940| 0d 0a 0d 0a 20 20 20 20 | 20 2d 2d 2d 2d 2d 2d 2d |.... | -------|
|00002950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002960| 2d 2d 2d 2d 0d 0a 20 20 | 20 20 20 7c 20 20 20 20 |----.. | | |
|00002970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002980| 20 20 20 20 20 7c 0d 0a | 20 20 20 20 20 7c 20 20 | |..| | |
|00002990| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029a0| 20 20 20 20 20 20 20 7c | 0d 0a 20 20 20 20 20 7c | ||.. ||
|000029b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029c0| 20 20 20 20 20 20 20 20 | 20 7c 0d 0a 20 20 20 20 | | |.. |
|000029d0| 20 7c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 0d 0a 20 20 | | |.. |
|000029f0| 20 20 20 7c 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0d 0a | | |..|
|00002a10| 20 20 20 20 20 7c 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | |--|--------|
|00002a20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 7c |--------|-------||
|00002a30| 0d 0a 20 20 20 20 20 7c | 20 20 20 20 20 20 20 20 |.. || |
|00002a40| 20 20 2a 2a 2a 2a 2a 20 | 20 20 20 20 20 20 20 20 | ***** | |
|00002a50| 20 7c 0d 0a 20 20 20 20 | 20 7c 20 20 20 20 20 20 | |.. | | |
|00002a60| 20 2a 2a 2a 20 20 20 20 | 20 2a 2a 2a 20 20 20 20 | *** | *** |
|00002a70| 20 20 20 7c 0d 0a 20 20 | 20 20 20 7c 2a 2a 2a 2a | |.. | |****|
|00002a80| 2a 2a 2a 20 20 20 20 20 | 20 20 20 20 20 20 2a 2a |*** | **|
|00002a90| 2a 2a 2a 2a 2a 7c 0d 0a | 20 20 20 20 20 7c 2e 2e |*****|..| |..|
|00002aa0| 2e 2e 2e 2e 2e 2e 2e 2e | 2e 2e 2e 2e 2e 2e 2e 2e |........|........|
|00002ab0| 2e 2e 2e 2e 2e 2e 2e 7c | 0d 0a 20 20 20 20 20 7c |.......||.. ||
|00002ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ad0| 20 20 20 20 20 20 20 20 | 20 7c 0d 0a 20 20 20 20 | | |.. |
|00002ae0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00002af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 0d 0a |--------|----....|
|00002b00| 20 53 6f 2c 20 79 6f 75 | 20 63 61 6e 20 73 65 65 | So, you| can see|
|00002b10| 20 74 68 61 74 20 74 68 | 65 20 73 63 72 65 65 6e | that th|e screen|
|00002b20| 20 67 65 74 73 20 64 72 | 61 77 6e 20 66 72 6f 6d | gets dr|awn from|
|00002b30| 20 74 68 65 20 62 61 63 | 6b 2c 20 6f 6e 65 20 76 | the bac|k, one v|
|00002b40| 65 72 74 69 63 61 6c 0d | 0a 73 65 63 74 69 6f 6e |ertical.|.section|
|00002b50| 20 61 66 74 65 72 20 61 | 6e 6f 74 68 65 72 2e 20 | after a|nother. |
|00002b60| 49 6e 20 66 61 63 74 2c | 20 74 68 65 72 65 27 73 |In fact,| there's|
|00002b70| 20 6d 6f 72 65 20 74 6f | 20 69 74 20 74 68 61 6e | more to| it than|
|00002b80| 20 64 72 61 77 69 6e 67 | 20 6f 6e 65 20 70 69 78 | drawing| one pix|
|00002b90| 65 6c 0d 0a 61 74 20 65 | 76 65 72 79 20 78 20 64 |el..at e|very x d|
|00002ba0| 75 72 69 6e 67 20 74 68 | 65 20 73 63 61 6e 20 2d |uring th|e scan -|
|00002bb0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 64 72 61 | you nee|d to dra|
|00002bc0| 77 20 61 20 76 65 72 74 | 69 63 61 6c 20 6c 69 6e |w a vert|ical lin|
|00002bd0| 65 20 62 65 74 77 65 65 | 6e 0d 0a 28 78 2c 79 20 |e betwee|n..(x,y |
|00002be0| 6f 6c 64 29 20 74 6f 20 | 28 78 2c 79 20 6e 65 77 |old) to |(x,y new|
|00002bf0| 29 2c 20 73 6f 20 79 6f | 75 20 68 61 76 65 20 74 |), so yo|u have t|
|00002c00| 6f 20 68 61 76 65 20 61 | 20 62 75 66 66 65 72 20 |o have a| buffer |
|00002c10| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 79 |containi|ng the y|
|00002c20| 20 76 61 6c 75 65 73 0d | 0a 66 6f 72 20 65 76 65 | values.|.for eve|
|00002c30| 72 79 20 78 20 74 68 61 | 74 20 77 65 72 65 20 63 |ry x tha|t were c|
|00002c40| 61 6c 63 75 6c 61 74 65 | 64 20 69 6e 20 74 68 65 |alculate|d in the|
|00002c50| 20 70 72 65 76 69 6f 75 | 73 20 70 61 73 73 2e 20 | previou|s pass. |
|00002c60| 59 6f 75 20 69 6e 74 65 | 72 70 6f 6c 61 74 65 0d |You inte|rpolate.|
|00002c70| 0a 61 6c 6f 6e 67 20 74 | 68 69 73 20 6c 69 6e 65 |.along t|his line|
|00002c80| 20 28 47 6f 75 72 61 75 | 64 20 73 74 79 6c 65 29 | (Gourau|d style)|
|00002c90| 20 66 72 6f 6d 20 74 68 | 65 20 6f 6c 64 20 63 6f | from th|e old co|
|00002ca0| 6c 6f 75 72 20 74 6f 20 | 74 68 65 20 6e 65 77 20 |lour to |the new |
|00002cb0| 63 6f 6c 6f 75 72 20 61 | 6c 73 6f 2c 0d 0a 73 6f |colour a|lso,..so|
|00002cc0| 20 79 6f 75 20 68 61 76 | 65 20 74 6f 20 6b 65 65 | you hav|e to kee|
|00002cd0| 70 20 61 20 62 75 66 66 | 65 72 20 6f 66 20 74 68 |p a buff|er of th|
|00002ce0| 65 20 63 6f 6c 6f 75 72 | 73 20 64 6f 6e 65 20 69 |e colour|s done i|
|00002cf0| 6e 20 74 68 65 20 6c 61 | 73 74 20 70 61 73 73 2e |n the la|st pass.|
|00002d00| 0d 0a 20 4f 6e 6c 79 20 | 64 72 61 77 20 74 68 65 |.. Only |draw the|
|00002d10| 20 76 65 72 74 69 63 61 | 6c 20 6c 69 6e 65 73 20 | vertica|l lines |
|00002d20| 69 66 20 74 68 65 79 20 | 61 72 65 20 76 69 73 69 |if they |are visi|
|00002d30| 62 6c 65 20 28 69 65 2e | 20 67 6f 69 6e 67 20 64 |ble (ie.| going d|
|00002d40| 6f 77 6e 2c 0d 0a 79 20 | 6e 65 77 3e 79 20 6f 6c |own,..y |new>y ol|
|00002d50| 64 29 2e 20 54 68 65 20 | 73 63 72 65 65 6e 20 69 |d). The |screen i|
|00002d60| 73 20 64 72 61 77 6e 20 | 66 72 6f 6d 20 74 68 65 |s drawn |from the|
|00002d70| 20 62 61 63 6b 20 73 6f | 20 74 68 61 74 20 6f 62 | back so| that ob|
|00002d80| 6a 65 63 74 73 20 63 61 | 6e 20 62 65 20 64 72 61 |jects ca|n be dra|
|00002d90| 77 6e 0d 0a 69 6e 62 65 | 74 77 65 65 6e 20 64 72 |wn..inbe|tween dr|
|00002da0| 61 77 69 6e 67 20 65 61 | 63 68 20 76 65 72 74 69 |awing ea|ch verti|
|00002db0| 63 61 6c 20 73 65 63 74 | 69 6f 6e 20 61 74 20 74 |cal sect|ion at t|
|00002dc0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 74 |he appro|priate t|
|00002dd0| 69 6d 65 2e 0d 0a 0d 0a | 20 49 66 20 79 6f 75 20 |ime.....| If you |
|00002de0| 6e 65 65 64 20 66 75 72 | 74 68 65 72 20 69 6e 66 |need fur|ther inf|
|00002df0| 6f 72 6d 61 74 69 6f 6e | 20 6f 72 20 64 65 74 61 |ormation| or deta|
|00002e00| 69 6c 73 2c 20 6d 61 69 | 6c 20 6d 65 20 6f 72 20 |ils, mai|l me or |
|00002e10| 70 6f 73 74 20 68 65 72 | 65 2e 2e 2e 20 50 6f 73 |post her|e... Pos|
|00002e20| 74 69 6e 67 0d 0a 77 69 | 6c 6c 20 61 6c 6c 6f 77 |ting..wi|ll allow|
|00002e30| 20 6f 74 68 65 72 73 20 | 74 6f 20 62 65 6e 65 66 | others |to benef|
|00002e40| 69 74 20 66 72 6f 6d 20 | 79 6f 75 72 20 70 6f 69 |it from |your poi|
|00002e50| 6e 74 73 20 61 6e 64 20 | 6d 79 20 72 65 70 6c 69 |nts and |my repli|
|00002e60| 65 73 2c 20 74 68 6f 75 | 67 68 2e 0d 0a 0d 0a 20 |es, thou|gh..... |
|00002e70| 54 68 61 6e 6b 20 79 6f | 75 20 66 6f 72 20 74 68 |Thank yo|u for th|
|00002e80| 65 20 72 65 73 70 6f 6e | 73 65 20 49 20 68 61 76 |e respon|se I hav|
|00002e90| 65 20 72 65 63 65 69 76 | 65 64 20 73 69 6e 63 65 |e receiv|ed since|
|00002ea0| 20 75 70 6c 6f 61 64 69 | 6e 67 20 74 68 69 73 20 | uploadi|ng this |
|00002eb0| 70 72 6f 67 72 61 6d 2e | 0d 0a 0d 0a 20 54 69 6d |program.|.... Tim|
|00002ec0| 20 43 6c 61 72 6b 65 2c | 20 74 6a 63 31 30 30 35 | Clarke,| tjc1005|
|00002ed0| 40 68 65 72 6d 65 73 2e | 63 61 6d 2e 61 63 2e 75 |@hermes.|cam.ac.u|
|00002ee0| 6b 0d 0a 0d 0a 0d 0a 0d | 0a |k.......|. |
+--------+-------------------------+-------------------------+--------+--------+