Home » Archimedes archive » Acorn User » AU 1993-06.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-06.adf
Filename: !3DGraphic/!Help
Read OK:
File size: 038F bytes
Load address: FFFFFF44
Exec address: 8D915BD0
File contents
3D Graphics: A New Dimension
By Dave Acton

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

Before running any of these programs, double-click on ThisDir to set the CSD correctly.

3Ddemo1 and 3Ddemo2 show two different views of the virtual world created by the series. When the programs are run, they create 36 frames before displaying rotating views of three houses in a landscape. Both programs access the files in the Objects directory, as well as the routines in the program 3Dprocs; running 3Dprocs itself will produce an error as it is a library program.

PerspDemo demonstrates perspective. A rotating box is displayed; moving the mouse up and down will alter the distance to the box, and moving the mouse left and right will alter the scale of the box.

For more details, see page 90 in the magazine.

� 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 0a 42 79 20  |ew Dimension.By |
00000020  44 61 76 65 20 41 63 74  6f 6e 0a 0a 52 75 6e 20  |Dave Acton..Run |
00000030  74 68 69 73 20 61 70 70  6c 69 63 61 74 69 6f 6e  |this application|
00000040  20 74 6f 20 6f 70 65 6e  20 61 20 64 69 72 65 63  | to open a direc|
00000050  74 6f 72 79 20 63 6f 6e  74 61 69 6e 69 6e 67 20  |tory containing |
00000060  74 68 65 20 70 72 6f 67  72 61 6d 73 20 66 72 6f  |the programs fro|
00000070  6d 20 74 68 65 20 66 69  72 73 74 20 70 61 72 74  |m the first part|
00000080  20 6f 66 20 74 68 65 20  73 65 72 69 65 73 20 6f  | of the series o|
00000090  6e 20 33 44 20 67 72 61  70 68 69 63 73 2e 0a 0a  |n 3D graphics...|
000000a0  42 65 66 6f 72 65 20 72  75 6e 6e 69 6e 67 20 61  |Before running a|
000000b0  6e 79 20 6f 66 20 74 68  65 73 65 20 70 72 6f 67  |ny of these prog|
000000c0  72 61 6d 73 2c 20 64 6f  75 62 6c 65 2d 63 6c 69  |rams, double-cli|
000000d0  63 6b 20 6f 6e 20 54 68  69 73 44 69 72 20 74 6f  |ck on ThisDir to|
000000e0  20 73 65 74 20 74 68 65  20 43 53 44 20 63 6f 72  | set the CSD cor|
000000f0  72 65 63 74 6c 79 2e 0a  0a 33 44 64 65 6d 6f 31  |rectly...3Ddemo1|
00000100  20 61 6e 64 20 33 44 64  65 6d 6f 32 20 73 68 6f  | and 3Ddemo2 sho|
00000110  77 20 74 77 6f 20 64 69  66 66 65 72 65 6e 74 20  |w two different |
00000120  76 69 65 77 73 20 6f 66  20 74 68 65 20 76 69 72  |views of the vir|
00000130  74 75 61 6c 20 77 6f 72  6c 64 20 63 72 65 61 74  |tual world creat|
00000140  65 64 20 62 79 20 74 68  65 20 73 65 72 69 65 73  |ed by the series|
00000150  2e 20 57 68 65 6e 20 74  68 65 20 70 72 6f 67 72  |. When the progr|
00000160  61 6d 73 20 61 72 65 20  72 75 6e 2c 20 74 68 65  |ams are run, the|
00000170  79 20 63 72 65 61 74 65  20 33 36 20 66 72 61 6d  |y create 36 fram|
00000180  65 73 20 62 65 66 6f 72  65 20 64 69 73 70 6c 61  |es before displa|
00000190  79 69 6e 67 20 72 6f 74  61 74 69 6e 67 20 76 69  |ying rotating vi|
000001a0  65 77 73 20 6f 66 20 74  68 72 65 65 20 68 6f 75  |ews of three hou|
000001b0  73 65 73 20 69 6e 20 61  20 6c 61 6e 64 73 63 61  |ses in a landsca|
000001c0  70 65 2e 20 42 6f 74 68  20 70 72 6f 67 72 61 6d  |pe. Both program|
000001d0  73 20 61 63 63 65 73 73  20 74 68 65 20 66 69 6c  |s access the fil|
000001e0  65 73 20 69 6e 20 74 68  65 20 4f 62 6a 65 63 74  |es in the Object|
000001f0  73 20 64 69 72 65 63 74  6f 72 79 2c 20 61 73 20  |s directory, as |
00000200  77 65 6c 6c 20 61 73 20  74 68 65 20 72 6f 75 74  |well as the rout|
00000210  69 6e 65 73 20 69 6e 20  74 68 65 20 70 72 6f 67  |ines in the prog|
00000220  72 61 6d 20 33 44 70 72  6f 63 73 3b 20 72 75 6e  |ram 3Dprocs; run|
00000230  6e 69 6e 67 20 33 44 70  72 6f 63 73 20 69 74 73  |ning 3Dprocs its|
00000240  65 6c 66 20 77 69 6c 6c  20 70 72 6f 64 75 63 65  |elf will produce|
00000250  20 61 6e 20 65 72 72 6f  72 20 61 73 20 69 74 20  | an error as it |
00000260  69 73 20 61 20 6c 69 62  72 61 72 79 20 70 72 6f  |is a library pro|
00000270  67 72 61 6d 2e 0a 0a 50  65 72 73 70 44 65 6d 6f  |gram...PerspDemo|
00000280  20 64 65 6d 6f 6e 73 74  72 61 74 65 73 20 70 65  | demonstrates pe|
00000290  72 73 70 65 63 74 69 76  65 2e 20 41 20 72 6f 74  |rspective. A rot|
000002a0  61 74 69 6e 67 20 62 6f  78 20 69 73 20 64 69 73  |ating box is dis|
000002b0  70 6c 61 79 65 64 3b 20  6d 6f 76 69 6e 67 20 74  |played; moving t|
000002c0  68 65 20 6d 6f 75 73 65  20 75 70 20 61 6e 64 20  |he mouse up and |
000002d0  64 6f 77 6e 20 77 69 6c  6c 20 61 6c 74 65 72 20  |down will alter |
000002e0  74 68 65 20 64 69 73 74  61 6e 63 65 20 74 6f 20  |the distance to |
000002f0  74 68 65 20 62 6f 78 2c  20 61 6e 64 20 6d 6f 76  |the box, and mov|
00000300  69 6e 67 20 74 68 65 20  6d 6f 75 73 65 20 6c 65  |ing the mouse le|
00000310  66 74 20 61 6e 64 20 72  69 67 68 74 20 77 69 6c  |ft and right wil|
00000320  6c 20 61 6c 74 65 72 20  74 68 65 20 73 63 61 6c  |l alter the scal|
00000330  65 20 6f 66 20 74 68 65  20 62 6f 78 2e 0a 0a 46  |e of the box...F|
00000340  6f 72 20 6d 6f 72 65 20  64 65 74 61 69 6c 73 2c  |or more details,|
00000350  20 73 65 65 20 70 61 67  65 20 39 30 20 69 6e 20  | see page 90 in |
00000360  74 68 65 20 6d 61 67 61  7a 69 6e 65 2e 0a 0a a9  |the magazine....|
00000370  20 43 6f 70 79 72 69 67  68 74 20 42 42 43 20 41  | Copyright BBC A|
00000380  63 6f 72 6e 20 55 73 65  72 20 31 39 39 33 0a     |corn User 1993.|
0000038f