Home » Archimedes archive » Acorn User » AU 1993-09.adf » !3DGraphic/!Help

!3DGraphic/!Help

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 » Acorn User » AU 1993-09.adf
Filename: !3DGraphic/!Help
Read OK:
File size: 03EF bytes
Load address: FFFFFF44
Exec address: B9434D5D
File contents
3D Graphics: A New Dimension (Part 4) 
By Dave Acton

Run this application to open a directory containing the programs from the fourth part of the series on 3D graphics.

Note 1: Before running any of the example programs, double-click on the BAU3D module to load it, and double-click on the Obey file ThisDir to set the CSD properly.

Note 2: If you have Risc OS 2, you must load the ColourTrans module before running any of these programs. This module can be found in the !System.Modules directory on Applications Disc One.

Double-click on 3DDemo3+ to see a rotating cathedral inside a contracting and expanding clipping window. Press ESCAPE twice to return to the desktop. NOTE: If you have a slow machine, then the image may flicker quite a lot.

The source code for the BAU3D module is contained in BAU3DSrce and inside the Source directory. The cathedral object definition can be found inside the Objects directory.

For more information, see the article on page 89.

� Copyright BBC Acorn User 1993
00000000  33 44 20 47 72 61 70 68  69 63 73 3a 20 41 20 4e  |3D Graphics: A N|
00000010  65 77 20 44 69 6d 65 6e  73 69 6f 6e 20 28 50 61  |ew Dimension (Pa|
00000020  72 74 20 34 29 20 0a 42  79 20 44 61 76 65 20 41  |rt 4) .By Dave A|
00000030  63 74 6f 6e 0a 0a 52 75  6e 20 74 68 69 73 20 61  |cton..Run this a|
00000040  70 70 6c 69 63 61 74 69  6f 6e 20 74 6f 20 6f 70  |pplication to op|
00000050  65 6e 20 61 20 64 69 72  65 63 74 6f 72 79 20 63  |en a directory c|
00000060  6f 6e 74 61 69 6e 69 6e  67 20 74 68 65 20 70 72  |ontaining the pr|
00000070  6f 67 72 61 6d 73 20 66  72 6f 6d 20 74 68 65 20  |ograms from the |
00000080  66 6f 75 72 74 68 20 70  61 72 74 20 6f 66 20 74  |fourth part of t|
00000090  68 65 20 73 65 72 69 65  73 20 6f 6e 20 33 44 20  |he series on 3D |
000000a0  67 72 61 70 68 69 63 73  2e 0a 0a 4e 6f 74 65 20  |graphics...Note |
000000b0  31 3a 20 42 65 66 6f 72  65 20 72 75 6e 6e 69 6e  |1: Before runnin|
000000c0  67 20 61 6e 79 20 6f 66  20 74 68 65 20 65 78 61  |g any of the exa|
000000d0  6d 70 6c 65 20 70 72 6f  67 72 61 6d 73 2c 20 64  |mple programs, d|
000000e0  6f 75 62 6c 65 2d 63 6c  69 63 6b 20 6f 6e 20 74  |ouble-click on t|
000000f0  68 65 20 42 41 55 33 44  20 6d 6f 64 75 6c 65 20  |he BAU3D module |
00000100  74 6f 20 6c 6f 61 64 20  69 74 2c 20 61 6e 64 20  |to load it, and |
00000110  64 6f 75 62 6c 65 2d 63  6c 69 63 6b 20 6f 6e 20  |double-click on |
00000120  74 68 65 20 4f 62 65 79  20 66 69 6c 65 20 54 68  |the Obey file Th|
00000130  69 73 44 69 72 20 74 6f  20 73 65 74 20 74 68 65  |isDir to set the|
00000140  20 43 53 44 20 70 72 6f  70 65 72 6c 79 2e 0a 0a  | CSD properly...|
00000150  4e 6f 74 65 20 32 3a 20  49 66 20 79 6f 75 20 68  |Note 2: If you h|
00000160  61 76 65 20 52 69 73 63  20 4f 53 20 32 2c 20 79  |ave Risc OS 2, y|
00000170  6f 75 20 6d 75 73 74 20  6c 6f 61 64 20 74 68 65  |ou must load the|
00000180  20 43 6f 6c 6f 75 72 54  72 61 6e 73 20 6d 6f 64  | ColourTrans mod|
00000190  75 6c 65 20 62 65 66 6f  72 65 20 72 75 6e 6e 69  |ule before runni|
000001a0  6e 67 20 61 6e 79 20 6f  66 20 74 68 65 73 65 20  |ng any of these |
000001b0  70 72 6f 67 72 61 6d 73  2e 20 54 68 69 73 20 6d  |programs. This m|
000001c0  6f 64 75 6c 65 20 63 61  6e 20 62 65 20 66 6f 75  |odule can be fou|
000001d0  6e 64 20 69 6e 20 74 68  65 20 21 53 79 73 74 65  |nd in the !Syste|
000001e0  6d 2e 4d 6f 64 75 6c 65  73 20 64 69 72 65 63 74  |m.Modules direct|
000001f0  6f 72 79 20 6f 6e 20 41  70 70 6c 69 63 61 74 69  |ory on Applicati|
00000200  6f 6e 73 20 44 69 73 63  20 4f 6e 65 2e 0a 0a 44  |ons Disc One...D|
00000210  6f 75 62 6c 65 2d 63 6c  69 63 6b 20 6f 6e 20 33  |ouble-click on 3|
00000220  44 44 65 6d 6f 33 2b 20  74 6f 20 73 65 65 20 61  |DDemo3+ to see a|
00000230  20 72 6f 74 61 74 69 6e  67 20 63 61 74 68 65 64  | rotating cathed|
00000240  72 61 6c 20 69 6e 73 69  64 65 20 61 20 63 6f 6e  |ral inside a con|
00000250  74 72 61 63 74 69 6e 67  20 61 6e 64 20 65 78 70  |tracting and exp|
00000260  61 6e 64 69 6e 67 20 63  6c 69 70 70 69 6e 67 20  |anding clipping |
00000270  77 69 6e 64 6f 77 2e 20  50 72 65 73 73 20 45 53  |window. Press ES|
00000280  43 41 50 45 20 74 77 69  63 65 20 74 6f 20 72 65  |CAPE twice to re|
00000290  74 75 72 6e 20 74 6f 20  74 68 65 20 64 65 73 6b  |turn to the desk|
000002a0  74 6f 70 2e 20 4e 4f 54  45 3a 20 49 66 20 79 6f  |top. NOTE: If yo|
000002b0  75 20 68 61 76 65 20 61  20 73 6c 6f 77 20 6d 61  |u have a slow ma|
000002c0  63 68 69 6e 65 2c 20 74  68 65 6e 20 74 68 65 20  |chine, then the |
000002d0  69 6d 61 67 65 20 6d 61  79 20 66 6c 69 63 6b 65  |image may flicke|
000002e0  72 20 71 75 69 74 65 20  61 20 6c 6f 74 2e 0a 0a  |r quite a lot...|
000002f0  54 68 65 20 73 6f 75 72  63 65 20 63 6f 64 65 20  |The source code |
00000300  66 6f 72 20 74 68 65 20  42 41 55 33 44 20 6d 6f  |for the BAU3D mo|
00000310  64 75 6c 65 20 69 73 20  63 6f 6e 74 61 69 6e 65  |dule is containe|
00000320  64 20 69 6e 20 42 41 55  33 44 53 72 63 65 20 61  |d in BAU3DSrce a|
00000330  6e 64 20 69 6e 73 69 64  65 20 74 68 65 20 53 6f  |nd inside the So|
00000340  75 72 63 65 20 64 69 72  65 63 74 6f 72 79 2e 20  |urce directory. |
00000350  54 68 65 20 63 61 74 68  65 64 72 61 6c 20 6f 62  |The cathedral ob|
00000360  6a 65 63 74 20 64 65 66  69 6e 69 74 69 6f 6e 20  |ject definition |
00000370  63 61 6e 20 62 65 20 66  6f 75 6e 64 20 69 6e 73  |can be found ins|
00000380  69 64 65 20 74 68 65 20  4f 62 6a 65 63 74 73 20  |ide the Objects |
00000390  64 69 72 65 63 74 6f 72  79 2e 0a 0a 46 6f 72 20  |directory...For |
000003a0  6d 6f 72 65 20 69 6e 66  6f 72 6d 61 74 69 6f 6e  |more information|
000003b0  2c 20 73 65 65 20 74 68  65 20 61 72 74 69 63 6c  |, see the articl|
000003c0  65 20 6f 6e 20 70 61 67  65 20 38 39 2e 0a 0a a9  |e on page 89....|
000003d0  20 43 6f 70 79 72 69 67  68 74 20 42 42 43 20 41  | Copyright BBC A|
000003e0  63 6f 72 6e 20 55 73 65  72 20 31 39 39 33 0a     |corn User 1993.|
000003ef