Home » Archimedes archive » Archimedes World » AW-1991-09.adf » AWSept91 » !AWSep91/Goodies/PD/QRTinfo/Intro
!AWSep91/Goodies/PD/QRTinfo/Intro
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1991-09.adf » AWSept91 |
Filename: | !AWSep91/Goodies/PD/QRTinfo/Intro |
Read OK: | ✔ |
File size: | 063E bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Introduction to the QRT Ray Tracer QRT is a ray tracing image rendering system that runs under a variety of operating systems. It has a free format input language with extensive error detection and reporting capabilities. This manual is divided into several sections as follows: QRT Language Reference: This is a quick reference guide to the QRT command anguage. It can suffice as a tutorial for those familiar with ray tracing programs, or function as a guide to QRT features not described in the User Manual. QRT User Manual: The User Manual is a more complete tutorial to the QRT system. It describes the basic commands and features of QRT, without listing every possible command or option. It would be a good starting place for beginners. QRT bugs and desired enhancements are listed at the end of this section. QRT Error Codes The error code section explains QRT error messages in detail, and lists solutions or suggestions where appropriate. Context Free Grammar This is a BNF style context free grammar description of the QRT input language. It may be used as a quick reference for people familiar with compiler terminology. QRT Sample Programs These are actual QRT input files; they show suggested QRT indenting style and give examples of various features. References Howard Anton, Elementary Linear Algebra, Anton Textbooks, Inc., 1987 David F. Rogers, Procedural Elements for Computer Graphics, McGraw Hill, Inc., 1985 Eric Graham, Graphic Scene Simulations, Amiga World, CW Communications/Peterborough, Inc., May/June 1987
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000010 20 20 20 20 20 20 49 6e 74 72 6f 64 75 63 74 69 | Introducti| 00000020 6f 6e 20 74 6f 20 74 68 65 20 51 52 54 20 52 61 |on to the QRT Ra| 00000030 79 20 54 72 61 63 65 72 0a 20 0a 20 0a 51 52 54 |y Tracer. . .QRT| 00000040 20 69 73 20 61 20 72 61 79 20 74 72 61 63 69 6e | is a ray tracin| 00000050 67 20 69 6d 61 67 65 20 72 65 6e 64 65 72 69 6e |g image renderin| 00000060 67 20 73 79 73 74 65 6d 20 74 68 61 74 20 72 75 |g system that ru| 00000070 6e 73 20 75 6e 64 65 72 20 61 20 76 61 72 69 65 |ns under a varie| 00000080 74 79 20 6f 66 0a 6f 70 65 72 61 74 69 6e 67 20 |ty of.operating | 00000090 73 79 73 74 65 6d 73 2e 20 49 74 20 68 61 73 20 |systems. It has | 000000a0 61 20 66 72 65 65 20 66 6f 72 6d 61 74 20 69 6e |a free format in| 000000b0 70 75 74 20 6c 61 6e 67 75 61 67 65 20 77 69 74 |put language wit| 000000c0 68 20 65 78 74 65 6e 73 69 76 65 20 65 72 72 6f |h extensive erro| 000000d0 72 0a 64 65 74 65 63 74 69 6f 6e 20 61 6e 64 20 |r.detection and | 000000e0 72 65 70 6f 72 74 69 6e 67 20 63 61 70 61 62 69 |reporting capabi| 000000f0 6c 69 74 69 65 73 2e 0a 20 0a 54 68 69 73 20 6d |lities.. .This m| 00000100 61 6e 75 61 6c 20 69 73 20 64 69 76 69 64 65 64 |anual is divided| 00000110 20 69 6e 74 6f 20 73 65 76 65 72 61 6c 20 73 65 | into several se| 00000120 63 74 69 6f 6e 73 20 61 73 20 66 6f 6c 6c 6f 77 |ctions as follow| 00000130 73 3a 0a 20 0a 51 52 54 20 4c 61 6e 67 75 61 67 |s:. .QRT Languag| 00000140 65 20 52 65 66 65 72 65 6e 63 65 3a 0a 20 0a 20 |e Reference:. . | 00000150 54 68 69 73 20 69 73 20 61 20 71 75 69 63 6b 20 |This is a quick | 00000160 72 65 66 65 72 65 6e 63 65 20 67 75 69 64 65 20 |reference guide | 00000170 74 6f 20 74 68 65 20 51 52 54 20 63 6f 6d 6d 61 |to the QRT comma| 00000180 6e 64 20 61 6e 67 75 61 67 65 2e 20 49 74 20 63 |nd anguage. It c| 00000190 61 6e 20 73 75 66 66 69 63 65 0a 61 73 20 61 20 |an suffice.as a | 000001a0 74 75 74 6f 72 69 61 6c 20 66 6f 72 20 74 68 6f |tutorial for tho| 000001b0 73 65 20 66 61 6d 69 6c 69 61 72 20 77 69 74 68 |se familiar with| 000001c0 20 72 61 79 20 74 72 61 63 69 6e 67 20 70 72 6f | ray tracing pro| 000001d0 67 72 61 6d 73 2c 20 6f 72 20 66 75 6e 63 74 69 |grams, or functi| 000001e0 6f 6e 20 61 73 20 61 0a 67 75 69 64 65 20 74 6f |on as a.guide to| 000001f0 20 51 52 54 20 66 65 61 74 75 72 65 73 20 6e 6f | QRT features no| 00000200 74 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 |t described in t| 00000210 68 65 20 55 73 65 72 20 4d 61 6e 75 61 6c 2e 0a |he User Manual..| 00000220 20 0a 51 52 54 20 55 73 65 72 20 4d 61 6e 75 61 | .QRT User Manua| 00000230 6c 3a 0a 20 0a 20 54 68 65 20 55 73 65 72 20 4d |l:. . The User M| 00000240 61 6e 75 61 6c 20 69 73 20 61 20 6d 6f 72 65 20 |anual is a more | 00000250 63 6f 6d 70 6c 65 74 65 20 74 75 74 6f 72 69 61 |complete tutoria| 00000260 6c 20 74 6f 20 74 68 65 20 51 52 54 20 73 79 73 |l to the QRT sys| 00000270 74 65 6d 2e 20 49 74 20 64 65 73 63 72 69 62 65 |tem. It describe| 00000280 73 0a 74 68 65 20 62 61 73 69 63 20 63 6f 6d 6d |s.the basic comm| 00000290 61 6e 64 73 20 61 6e 64 20 66 65 61 74 75 72 65 |ands and feature| 000002a0 73 20 6f 66 20 51 52 54 2c 20 77 69 74 68 6f 75 |s of QRT, withou| 000002b0 74 20 6c 69 73 74 69 6e 67 20 65 76 65 72 79 20 |t listing every | 000002c0 70 6f 73 73 69 62 6c 65 0a 63 6f 6d 6d 61 6e 64 |possible.command| 000002d0 20 6f 72 20 6f 70 74 69 6f 6e 2e 20 49 74 20 77 | or option. It w| 000002e0 6f 75 6c 64 20 62 65 20 61 20 67 6f 6f 64 20 73 |ould be a good s| 000002f0 74 61 72 74 69 6e 67 20 70 6c 61 63 65 20 66 6f |tarting place fo| 00000300 72 20 62 65 67 69 6e 6e 65 72 73 2e 20 51 52 54 |r beginners. QRT| 00000310 20 62 75 67 73 0a 61 6e 64 20 64 65 73 69 72 65 | bugs.and desire| 00000320 64 20 65 6e 68 61 6e 63 65 6d 65 6e 74 73 20 61 |d enhancements a| 00000330 72 65 20 6c 69 73 74 65 64 20 61 74 20 74 68 65 |re listed at the| 00000340 20 65 6e 64 20 6f 66 20 74 68 69 73 20 73 65 63 | end of this sec| 00000350 74 69 6f 6e 2e 0a 20 0a 51 52 54 20 45 72 72 6f |tion.. .QRT Erro| 00000360 72 20 43 6f 64 65 73 0a 20 0a 20 54 68 65 20 65 |r Codes. . The e| 00000370 72 72 6f 72 20 63 6f 64 65 20 73 65 63 74 69 6f |rror code sectio| 00000380 6e 20 65 78 70 6c 61 69 6e 73 20 51 52 54 20 65 |n explains QRT e| 00000390 72 72 6f 72 20 6d 65 73 73 61 67 65 73 20 69 6e |rror messages in| 000003a0 20 64 65 74 61 69 6c 2c 20 61 6e 64 20 6c 69 73 | detail, and lis| 000003b0 74 73 0a 73 6f 6c 75 74 69 6f 6e 73 20 6f 72 20 |ts.solutions or | 000003c0 73 75 67 67 65 73 74 69 6f 6e 73 20 77 68 65 72 |suggestions wher| 000003d0 65 20 61 70 70 72 6f 70 72 69 61 74 65 2e 0a 20 |e appropriate.. | 000003e0 0a 43 6f 6e 74 65 78 74 20 46 72 65 65 20 47 72 |.Context Free Gr| 000003f0 61 6d 6d 61 72 0a 20 0a 20 54 68 69 73 20 69 73 |ammar. . This is| 00000400 20 61 20 42 4e 46 20 73 74 79 6c 65 20 63 6f 6e | a BNF style con| 00000410 74 65 78 74 20 66 72 65 65 20 67 72 61 6d 6d 61 |text free gramma| 00000420 72 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 |r description of| 00000430 20 74 68 65 20 51 52 54 20 69 6e 70 75 74 0a 6c | the QRT input.l| 00000440 61 6e 67 75 61 67 65 2e 20 49 74 20 6d 61 79 20 |anguage. It may | 00000450 62 65 20 75 73 65 64 20 61 73 20 61 20 71 75 69 |be used as a qui| 00000460 63 6b 20 72 65 66 65 72 65 6e 63 65 20 66 6f 72 |ck reference for| 00000470 20 70 65 6f 70 6c 65 20 66 61 6d 69 6c 69 61 72 | people familiar| 00000480 20 77 69 74 68 0a 63 6f 6d 70 69 6c 65 72 20 74 | with.compiler t| 00000490 65 72 6d 69 6e 6f 6c 6f 67 79 2e 0a 20 0a 51 52 |erminology.. .QR| 000004a0 54 20 53 61 6d 70 6c 65 20 50 72 6f 67 72 61 6d |T Sample Program| 000004b0 73 0a 20 0a 20 54 68 65 73 65 20 61 72 65 20 61 |s. . These are a| 000004c0 63 74 75 61 6c 20 51 52 54 20 69 6e 70 75 74 20 |ctual QRT input | 000004d0 66 69 6c 65 73 3b 20 74 68 65 79 20 73 68 6f 77 |files; they show| 000004e0 20 73 75 67 67 65 73 74 65 64 20 51 52 54 20 69 | suggested QRT i| 000004f0 6e 64 65 6e 74 69 6e 67 20 73 74 79 6c 65 0a 61 |ndenting style.a| 00000500 6e 64 20 67 69 76 65 20 65 78 61 6d 70 6c 65 73 |nd give examples| 00000510 20 6f 66 20 76 61 72 69 6f 75 73 20 66 65 61 74 | of various feat| 00000520 75 72 65 73 2e 0a 20 0a 52 65 66 65 72 65 6e 63 |ures.. .Referenc| 00000530 65 73 0a 20 0a 20 48 6f 77 61 72 64 20 41 6e 74 |es. . Howard Ant| 00000540 6f 6e 2c 20 45 6c 65 6d 65 6e 74 61 72 79 20 4c |on, Elementary L| 00000550 69 6e 65 61 72 20 41 6c 67 65 62 72 61 2c 20 41 |inear Algebra, A| 00000560 6e 74 6f 6e 20 54 65 78 74 62 6f 6f 6b 73 2c 20 |nton Textbooks, | 00000570 49 6e 63 2e 2c 20 31 39 38 37 0a 20 0a 20 44 61 |Inc., 1987. . Da| 00000580 76 69 64 20 46 2e 20 52 6f 67 65 72 73 2c 20 50 |vid F. Rogers, P| 00000590 72 6f 63 65 64 75 72 61 6c 20 45 6c 65 6d 65 6e |rocedural Elemen| 000005a0 74 73 20 66 6f 72 20 43 6f 6d 70 75 74 65 72 20 |ts for Computer | 000005b0 47 72 61 70 68 69 63 73 2c 20 4d 63 47 72 61 77 |Graphics, McGraw| 000005c0 20 48 69 6c 6c 2c 0a 49 6e 63 2e 2c 20 31 39 38 | Hill,.Inc., 198| 000005d0 35 0a 20 0a 20 45 72 69 63 20 47 72 61 68 61 6d |5. . Eric Graham| 000005e0 2c 20 47 72 61 70 68 69 63 20 53 63 65 6e 65 20 |, Graphic Scene | 000005f0 53 69 6d 75 6c 61 74 69 6f 6e 73 2c 20 41 6d 69 |Simulations, Ami| 00000600 67 61 20 57 6f 72 6c 64 2c 20 43 57 0a 43 6f 6d |ga World, CW.Com| 00000610 6d 75 6e 69 63 61 74 69 6f 6e 73 2f 50 65 74 65 |munications/Pete| 00000620 72 62 6f 72 6f 75 67 68 2c 20 49 6e 63 2e 2c 20 |rborough, Inc., | 00000630 4d 61 79 2f 4a 75 6e 65 20 31 39 38 37 0a |May/June 1987.| 0000063e