Home » Archimedes archive » Archimedes World » AW-1994-09-Disc1.adf » Disk1Sep94 » !AWSept94/Goodies/Ray3D/!Ray3D/!Run

!AWSept94/Goodies/Ray3D/!Ray3D/!Run

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-1994-09-Disc1.adf » Disk1Sep94
Filename: !AWSept94/Goodies/Ray3D/!Ray3D/!Run
Read OK:
File size: 052B bytes
Load address: 0000
Exec address: 0000
File contents
|                     Ray3d - RayTracer Editor
|                           !Run File
|                      (C) Robert Taylor 1992
|
|  These two variables change the number of objects and surfaces
|  by !Ray3d. If these values are set too high, you will get an error.
|  This table gives maximum values for amounts of free memory.
|
|       free Memory    |   max_surfaces  |   max_objects
|      --------------------------------------------------
|           512 k      |       100       |       950
|          1O24 k      |       100       |      2700
|          2048 k      |       100       |      6250
|          4096 k      |       100       |     13300
|           512 k      |       500       |       850
|          1O24 k      |       500       |      2650
|          2048 k      |       500       |      6150
|          4096 k      |       500       |     13200


Set max_objects    800
Set max_surfaces   100


| The lines below run !Ray3d, They should NOT be altered
| ------------------------------------------------------

Set File$Type_0fc Ray3d
Set Ray$Dir <Obey$Dir>
IconSprites <Ray$Dir>.!Sprites
RMEnsure UtilityModule  3 IF "<System$Path>"="" then ERROR 0 System resources cannot be found
RMEnsure ColourTrans    1 RMLoad System:Modules.Colours

WimpSlot -min 224k -max 224k
Run <ray$Dir>.!Runimage %*0
00000000  7c 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  ||               |
00000010  20 20 20 20 20 20 52 61  79 33 64 20 2d 20 52 61  |      Ray3d - Ra|
00000020  79 54 72 61 63 65 72 20  45 64 69 74 6f 72 0a 7c  |yTracer Editor.||
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 20  20 20 20 21 52 75 6e 20  |           !Run |
00000050  46 69 6c 65 0a 7c 20 20  20 20 20 20 20 20 20 20  |File.|          |
00000060  20 20 20 20 20 20 20 20  20 20 20 20 28 43 29 20  |            (C) |
00000070  52 6f 62 65 72 74 20 54  61 79 6c 6f 72 20 31 39  |Robert Taylor 19|
00000080  39 32 0a 7c 0a 7c 20 20  54 68 65 73 65 20 74 77  |92.|.|  These tw|
00000090  6f 20 76 61 72 69 61 62  6c 65 73 20 63 68 61 6e  |o variables chan|
000000a0  67 65 20 74 68 65 20 6e  75 6d 62 65 72 20 6f 66  |ge the number of|
000000b0  20 6f 62 6a 65 63 74 73  20 61 6e 64 20 73 75 72  | objects and sur|
000000c0  66 61 63 65 73 0a 7c 20  20 62 79 20 21 52 61 79  |faces.|  by !Ray|
000000d0  33 64 2e 20 49 66 20 74  68 65 73 65 20 76 61 6c  |3d. If these val|
000000e0  75 65 73 20 61 72 65 20  73 65 74 20 74 6f 6f 20  |ues are set too |
000000f0  68 69 67 68 2c 20 79 6f  75 20 77 69 6c 6c 20 67  |high, you will g|
00000100  65 74 20 61 6e 20 65 72  72 6f 72 2e 0a 7c 20 20  |et an error..|  |
00000110  54 68 69 73 20 74 61 62  6c 65 20 67 69 76 65 73  |This table gives|
00000120  20 6d 61 78 69 6d 75 6d  20 76 61 6c 75 65 73 20  | maximum values |
00000130  66 6f 72 20 61 6d 6f 75  6e 74 73 20 6f 66 20 66  |for amounts of f|
00000140  72 65 65 20 6d 65 6d 6f  72 79 2e 0a 7c 0a 7c 20  |ree memory..|.| |
00000150  20 20 20 20 20 20 66 72  65 65 20 4d 65 6d 6f 72  |      free Memor|
00000160  79 20 20 20 20 7c 20 20  20 6d 61 78 5f 73 75 72  |y    |   max_sur|
00000170  66 61 63 65 73 20 20 7c  20 20 20 6d 61 78 5f 6f  |faces  |   max_o|
00000180  62 6a 65 63 74 73 0a 7c  20 20 20 20 20 20 2d 2d  |bjects.|      --|
00000190  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000001c0  0a 7c 20 20 20 20 20 20  20 20 20 20 20 35 31 32  |.|           512|
000001d0  20 6b 20 20 20 20 20 20  7c 20 20 20 20 20 20 20  | k      |       |
000001e0  31 30 30 20 20 20 20 20  20 20 7c 20 20 20 20 20  |100       |     |
000001f0  20 20 39 35 30 0a 7c 20  20 20 20 20 20 20 20 20  |  950.|         |
00000200  20 31 4f 32 34 20 6b 20  20 20 20 20 20 7c 20 20  | 1O24 k      |  |
00000210  20 20 20 20 20 31 30 30  20 20 20 20 20 20 20 7c  |     100       ||
00000220  20 20 20 20 20 20 32 37  30 30 0a 7c 20 20 20 20  |      2700.|    |
00000230  20 20 20 20 20 20 32 30  34 38 20 6b 20 20 20 20  |      2048 k    |
00000240  20 20 7c 20 20 20 20 20  20 20 31 30 30 20 20 20  |  |       100   |
00000250  20 20 20 20 7c 20 20 20  20 20 20 36 32 35 30 0a  |    |      6250.|
00000260  7c 20 20 20 20 20 20 20  20 20 20 34 30 39 36 20  ||          4096 |
00000270  6b 20 20 20 20 20 20 7c  20 20 20 20 20 20 20 31  |k      |       1|
00000280  30 30 20 20 20 20 20 20  20 7c 20 20 20 20 20 31  |00       |     1|
00000290  33 33 30 30 0a 7c 20 20  20 20 20 20 20 20 20 20  |3300.|          |
000002a0  20 35 31 32 20 6b 20 20  20 20 20 20 7c 20 20 20  | 512 k      |   |
000002b0  20 20 20 20 35 30 30 20  20 20 20 20 20 20 7c 20  |    500       | |
000002c0  20 20 20 20 20 20 38 35  30 0a 7c 20 20 20 20 20  |      850.|     |
000002d0  20 20 20 20 20 31 4f 32  34 20 6b 20 20 20 20 20  |     1O24 k     |
000002e0  20 7c 20 20 20 20 20 20  20 35 30 30 20 20 20 20  | |       500    |
000002f0  20 20 20 7c 20 20 20 20  20 20 32 36 35 30 0a 7c  |   |      2650.||
00000300  20 20 20 20 20 20 20 20  20 20 32 30 34 38 20 6b  |          2048 k|
00000310  20 20 20 20 20 20 7c 20  20 20 20 20 20 20 35 30  |      |       50|
00000320  30 20 20 20 20 20 20 20  7c 20 20 20 20 20 20 36  |0       |      6|
00000330  31 35 30 0a 7c 20 20 20  20 20 20 20 20 20 20 34  |150.|          4|
00000340  30 39 36 20 6b 20 20 20  20 20 20 7c 20 20 20 20  |096 k      |    |
00000350  20 20 20 35 30 30 20 20  20 20 20 20 20 7c 20 20  |   500       |  |
00000360  20 20 20 31 33 32 30 30  0a 0a 0a 53 65 74 20 6d  |   13200...Set m|
00000370  61 78 5f 6f 62 6a 65 63  74 73 20 20 20 20 38 30  |ax_objects    80|
00000380  30 0a 53 65 74 20 6d 61  78 5f 73 75 72 66 61 63  |0.Set max_surfac|
00000390  65 73 20 20 20 31 30 30  0a 0a 0a 7c 20 54 68 65  |es   100...| The|
000003a0  20 6c 69 6e 65 73 20 62  65 6c 6f 77 20 72 75 6e  | lines below run|
000003b0  20 21 52 61 79 33 64 2c  20 54 68 65 79 20 73 68  | !Ray3d, They sh|
000003c0  6f 75 6c 64 20 4e 4f 54  20 62 65 20 61 6c 74 65  |ould NOT be alte|
000003d0  72 65 64 0a 7c 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |red.| ----------|
000003e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000400  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 53 65  |------------..Se|
00000410  74 20 46 69 6c 65 24 54  79 70 65 5f 30 66 63 20  |t File$Type_0fc |
00000420  52 61 79 33 64 0a 53 65  74 20 52 61 79 24 44 69  |Ray3d.Set Ray$Di|
00000430  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 49 63 6f  |r <Obey$Dir>.Ico|
00000440  6e 53 70 72 69 74 65 73  20 3c 52 61 79 24 44 69  |nSprites <Ray$Di|
00000450  72 3e 2e 21 53 70 72 69  74 65 73 0a 52 4d 45 6e  |r>.!Sprites.RMEn|
00000460  73 75 72 65 20 55 74 69  6c 69 74 79 4d 6f 64 75  |sure UtilityModu|
00000470  6c 65 20 20 33 20 49 46  20 22 3c 53 79 73 74 65  |le  3 IF "<Syste|
00000480  6d 24 50 61 74 68 3e 22  3d 22 22 20 74 68 65 6e  |m$Path>"="" then|
00000490  20 45 52 52 4f 52 20 30  20 53 79 73 74 65 6d 20  | ERROR 0 System |
000004a0  72 65 73 6f 75 72 63 65  73 20 63 61 6e 6e 6f 74  |resources cannot|
000004b0  20 62 65 20 66 6f 75 6e  64 0a 52 4d 45 6e 73 75  | be found.RMEnsu|
000004c0  72 65 20 43 6f 6c 6f 75  72 54 72 61 6e 73 20 20  |re ColourTrans  |
000004d0  20 20 31 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |  1 RMLoad Syste|
000004e0  6d 3a 4d 6f 64 75 6c 65  73 2e 43 6f 6c 6f 75 72  |m:Modules.Colour|
000004f0  73 0a 0a 57 69 6d 70 53  6c 6f 74 20 2d 6d 69 6e  |s..WimpSlot -min|
00000500  20 32 32 34 6b 20 2d 6d  61 78 20 32 32 34 6b 0a  | 224k -max 224k.|
00000510  52 75 6e 20 3c 72 61 79  24 44 69 72 3e 2e 21 52  |Run <ray$Dir>.!R|
00000520  75 6e 69 6d 61 67 65 20  25 2a 30                 |unimage %*0|
0000052b