Home » Archimedes archive » Archimedes World » AW-1996-11.adf » !VRMLeyes_AspexDem » Models/VRMLfiles/MakeMods/MakeMods

Models/VRMLfiles/MakeMods/MakeMods

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-1996-11.adf » !VRMLeyes_AspexDem
Filename: Models/VRMLfiles/MakeMods/MakeMods
Read OK:
File size: 1B11 bytes
Load address: 0000
Exec address: 0000
File contents
VRMLEyes demonstration version will load the VRML files supplied with the program, other VRML files will not be recognised.

However, the demo version will allow users to create their own shapes in the form of 
simple textfiles. The program will respond to commands for the following basic shapes:

Sphere / Cube / Cone / Cylinder 

These shapes are just a taster of VRML, and tiny part of what VRML has to offer. VRML is designed to
create entire 3D immersive and interactive worlds. As VRMLEyes develops it will support the richer behaviours of VRML 2 which include animation, Java scripting, 3D sound, collisions and more.


A SIMPLE VRML FILE
~~~~~~~~~~~~~~~~~~
All VRML files consist of a header followed by some information about the model, a Sphere for
example is represented by the follwing text:

NOTE: VRMLEyes is case sensitive. 

EXAMPLE 1.   Sphere
~~~~~~~~~~~~~~~~~~~~

#VRML V1.0 ascii       # this is the header, it says
                       # to VRMLEyes; " get your pen out
                       # and get ready to start drawing" 

Sphere {
    radius 2.0
}                      # this is the first complete instruction
                       # it is telling VRML to draw a Sphere
                       # with a radius of 2 units

EXAMPLE 2.  Shading a shape using 'Materials' (add a bit of colour!).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can colour your shape how you like by including values (between 0 and 1) for each of the
colours Red, Green and Blue. 

There are several nodes (commands) used to colour an object diffuse, emmisive, specular, shininess, ambient and transparency. VRMLEyes recognises these nodes.

diffuseColor simply 'colours' the shape.

A red Sphere
~~~~~~~~~~~~

#VRML V1.0 ascii           # header

Material {                 # get ready to do something like colour the object)

diffuseColor 1.0 0.0 0.0
}                          # get ready with max red, no green and no blue
                           # watch out for spelling and case!
Sphere {
    radius 2.0
}                          # now draw the sphere, all in red


Experiment with different colours:

Red     Green     Blue
1.0      0.0      0.0          (Pure red)
0.5      0.0      0.0          (dark red)
1.0      1.0      0.0          (Yellow)
1.0      0.0      1.0          (Magenta)

etc. 

The demo version also supports 'shininess'

Try amending the above example:
            
#VRML V1.0 ascii         
Material {               
diffuseColor 1.0 0.0 0.0
shininess    0.1            # make the object shiny, value between 0 and 0.5
}                        
Sphere {
    radius 2.0
}                           # now draw the sphere, in shiny red


Cube, Cylinder and Cone?
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Try writing new VRML textfiles to draw these other shapes on the screen.  

VRMLEyes demo version regognises the following style of commands:
Don't forget the headers etc.

To make a cube
~~~~~~~~~~~~~~
Cube {
   height 2.0
   width  4.0
   depth  6.0
}                           (make a cuboid 2x4x6 units)

To make a Cylinder
~~~~~~~~~~~~~~~~~~
Cylinder {
   height 4.0
   radius 2.0
}                           (make a cylinder 4 units high and 4 wide)

To make a Cone
~~~~~~~~~~~~~~

Cone {
    height       6.0
    bottomRadius 2.0
}                           (make a cone which is 6 units high with a base 4 units wide)

NB.  The units can be of any desired measurement. If you chose centimeters as your base then all other measurements in the complete model should be centimeters as well. VRMLEyes can place your
object accurately wherever desired.

PLACING A SHAPE
~~~~~~~~~~~~~~~
VRMLEyes can be told to move a shape using the 'Translation' node.

The Translation node can be used to place an object accurately anywhere in 3D space relative 
to the previous origin. This is achieved by defining a new position in the X, Y and Z planes.

First choose a scale, centimeters for example.

The following example draws one cube in the centre of the screen then draws as second cube to sit on top of it.

#VRML V1.0 ascii                 # header

Cube {
  height 2.0                     # draw a cube 2x2x2 metres
  width  2.0
  depth  2.0
}
Translation {
    translation 0.0 2.0 0.0      # translate, or move, the point of origin 2  in the Y plane.
                                 # if the number was -2 then the origin would be moved downward
}
Cube {
  height 2.0                     # Draw a second cube at the new origin
  width  2.0
  depth  2.0
}

ROTATING A SHAPE
~~~~~~~~~~~~~~~~
Each shape can be rotated in any direction by a specific amount in any direction. This function 
is controlled by the Rotation Node. Its OK to think in degrees but you will need to convert all 
your angles to radians before using them with VRML.



The following example describes a 'Cross' shape made from two cylinders. see example file 3.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#VRML V1.0 ascii   
Cylinder {
  height 30.0
  radius 2.0                          # draw a cylinder
}
Rotation {
    rotation  0.0 0.0 1.0 1.0472      # rotate the cylinder in the Z axis by 1.0472
                                      # radians (60 degrees). The figure 0.0 0.0 1.0
                                      # represent the X, Y and Z axix. The Z axis is 
                                      # set with a '1' followed by the angle in radians.
                                      # 0.0 1.0 0.0 1.0472 would rotate the cylinder
                                      # in the Y axis 
                                                                        
}
Cylinder {
  height 30.0
  radius 2.0
} 
      
                            
 ***This example produces intersecting shapes, so the Z Buffer will need to be used.                   

RADIANS
~~~~~~~
for those who can't remember school:

rad = (deg / 180) x 3.142

                       Common angles:
                                       Degrees      Radians
                                       30 deg       0.524 rad
                                       60 deg       1.0472
                                       90 deg       1.571
                                       180 deg      3.142
                                       270 deg      4.172

The products VRMLEyes an DaVinci90 will render raw VRML files as data or text files, which how they normally arrive. If the filetype is set to VRML then a VRML model can be loaded by double-clicking.

                                       
With VRMLEyes demonstration one can can create quite complex shapes, colour them, move 
and rotate them. Why not buy the complete version and join in at the start of the rapidly
growing world of 3D.           


VRMLEyes will also load and render any DaVinci90 3D model. DaVinci is a 3D modeller which could be refarded as a VRML editor.










 























00000000  0a 56 52 4d 4c 45 79 65  73 20 64 65 6d 6f 6e 73  |.VRMLEyes demons|
00000010  74 72 61 74 69 6f 6e 20  76 65 72 73 69 6f 6e 20  |tration version |
00000020  77 69 6c 6c 20 6c 6f 61  64 20 74 68 65 20 56 52  |will load the VR|
00000030  4d 4c 20 66 69 6c 65 73  20 73 75 70 70 6c 69 65  |ML files supplie|
00000040  64 20 77 69 74 68 20 74  68 65 20 70 72 6f 67 72  |d with the progr|
00000050  61 6d 2c 20 6f 74 68 65  72 20 56 52 4d 4c 20 66  |am, other VRML f|
00000060  69 6c 65 73 20 77 69 6c  6c 20 6e 6f 74 20 62 65  |iles will not be|
00000070  20 72 65 63 6f 67 6e 69  73 65 64 2e 0a 0a 48 6f  | recognised...Ho|
00000080  77 65 76 65 72 2c 20 74  68 65 20 64 65 6d 6f 20  |wever, the demo |
00000090  76 65 72 73 69 6f 6e 20  77 69 6c 6c 20 61 6c 6c  |version will all|
000000a0  6f 77 20 75 73 65 72 73  20 74 6f 20 63 72 65 61  |ow users to crea|
000000b0  74 65 20 74 68 65 69 72  20 6f 77 6e 20 73 68 61  |te their own sha|
000000c0  70 65 73 20 69 6e 20 74  68 65 20 66 6f 72 6d 20  |pes in the form |
000000d0  6f 66 20 0a 73 69 6d 70  6c 65 20 74 65 78 74 66  |of .simple textf|
000000e0  69 6c 65 73 2e 20 54 68  65 20 70 72 6f 67 72 61  |iles. The progra|
000000f0  6d 20 77 69 6c 6c 20 72  65 73 70 6f 6e 64 20 74  |m will respond t|
00000100  6f 20 63 6f 6d 6d 61 6e  64 73 20 66 6f 72 20 74  |o commands for t|
00000110  68 65 20 66 6f 6c 6c 6f  77 69 6e 67 20 62 61 73  |he following bas|
00000120  69 63 20 73 68 61 70 65  73 3a 0a 0a 53 70 68 65  |ic shapes:..Sphe|
00000130  72 65 20 2f 20 43 75 62  65 20 2f 20 43 6f 6e 65  |re / Cube / Cone|
00000140  20 2f 20 43 79 6c 69 6e  64 65 72 20 0a 0a 54 68  | / Cylinder ..Th|
00000150  65 73 65 20 73 68 61 70  65 73 20 61 72 65 20 6a  |ese shapes are j|
00000160  75 73 74 20 61 20 74 61  73 74 65 72 20 6f 66 20  |ust a taster of |
00000170  56 52 4d 4c 2c 20 61 6e  64 20 74 69 6e 79 20 70  |VRML, and tiny p|
00000180  61 72 74 20 6f 66 20 77  68 61 74 20 56 52 4d 4c  |art of what VRML|
00000190  20 68 61 73 20 74 6f 20  6f 66 66 65 72 2e 20 56  | has to offer. V|
000001a0  52 4d 4c 20 69 73 20 64  65 73 69 67 6e 65 64 20  |RML is designed |
000001b0  74 6f 0a 63 72 65 61 74  65 20 65 6e 74 69 72 65  |to.create entire|
000001c0  20 33 44 20 69 6d 6d 65  72 73 69 76 65 20 61 6e  | 3D immersive an|
000001d0  64 20 69 6e 74 65 72 61  63 74 69 76 65 20 77 6f  |d interactive wo|
000001e0  72 6c 64 73 2e 20 41 73  20 56 52 4d 4c 45 79 65  |rlds. As VRMLEye|
000001f0  73 20 64 65 76 65 6c 6f  70 73 20 69 74 20 77 69  |s develops it wi|
00000200  6c 6c 20 73 75 70 70 6f  72 74 20 74 68 65 20 72  |ll support the r|
00000210  69 63 68 65 72 20 62 65  68 61 76 69 6f 75 72 73  |icher behaviours|
00000220  20 6f 66 20 56 52 4d 4c  20 32 20 77 68 69 63 68  | of VRML 2 which|
00000230  20 69 6e 63 6c 75 64 65  20 61 6e 69 6d 61 74 69  | include animati|
00000240  6f 6e 2c 20 4a 61 76 61  20 73 63 72 69 70 74 69  |on, Java scripti|
00000250  6e 67 2c 20 33 44 20 73  6f 75 6e 64 2c 20 63 6f  |ng, 3D sound, co|
00000260  6c 6c 69 73 69 6f 6e 73  20 61 6e 64 20 6d 6f 72  |llisions and mor|
00000270  65 2e 0a 0a 0a 41 20 53  49 4d 50 4c 45 20 56 52  |e....A SIMPLE VR|
00000280  4d 4c 20 46 49 4c 45 0a  7e 7e 7e 7e 7e 7e 7e 7e  |ML FILE.~~~~~~~~|
00000290  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 0a 41 6c 6c 20 56  |~~~~~~~~~~.All V|
000002a0  52 4d 4c 20 66 69 6c 65  73 20 63 6f 6e 73 69 73  |RML files consis|
000002b0  74 20 6f 66 20 61 20 68  65 61 64 65 72 20 66 6f  |t of a header fo|
000002c0  6c 6c 6f 77 65 64 20 62  79 20 73 6f 6d 65 20 69  |llowed by some i|
000002d0  6e 66 6f 72 6d 61 74 69  6f 6e 20 61 62 6f 75 74  |nformation about|
000002e0  20 74 68 65 20 6d 6f 64  65 6c 2c 20 61 20 53 70  | the model, a Sp|
000002f0  68 65 72 65 20 66 6f 72  0a 65 78 61 6d 70 6c 65  |here for.example|
00000300  20 69 73 20 72 65 70 72  65 73 65 6e 74 65 64 20  | is represented |
00000310  62 79 20 74 68 65 20 66  6f 6c 6c 77 69 6e 67 20  |by the follwing |
00000320  74 65 78 74 3a 0a 0a 4e  4f 54 45 3a 20 56 52 4d  |text:..NOTE: VRM|
00000330  4c 45 79 65 73 20 69 73  20 63 61 73 65 20 73 65  |LEyes is case se|
00000340  6e 73 69 74 69 76 65 2e  20 0a 0a 45 58 41 4d 50  |nsitive. ..EXAMP|
00000350  4c 45 20 31 2e 20 20 20  53 70 68 65 72 65 0a 7e  |LE 1.   Sphere.~|
00000360  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
00000370  7e 7e 7e 0a 0a 23 56 52  4d 4c 20 56 31 2e 30 20  |~~~..#VRML V1.0 |
00000380  61 73 63 69 69 20 20 20  20 20 20 20 23 20 74 68  |ascii       # th|
00000390  69 73 20 69 73 20 74 68  65 20 68 65 61 64 65 72  |is is the header|
000003a0  2c 20 69 74 20 73 61 79  73 0a 20 20 20 20 20 20  |, it says.      |
000003b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000003c0  20 23 20 74 6f 20 56 52  4d 4c 45 79 65 73 3b 20  | # to VRMLEyes; |
000003d0  22 20 67 65 74 20 79 6f  75 72 20 70 65 6e 20 6f  |" get your pen o|
000003e0  75 74 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ut.             |
000003f0  20 20 20 20 20 20 20 20  20 20 23 20 61 6e 64 20  |          # and |
00000400  67 65 74 20 72 65 61 64  79 20 74 6f 20 73 74 61  |get ready to sta|
00000410  72 74 20 64 72 61 77 69  6e 67 22 20 0a 0a 53 70  |rt drawing" ..Sp|
00000420  68 65 72 65 20 7b 0a 20  20 20 20 72 61 64 69 75  |here {.    radiu|
00000430  73 20 32 2e 30 0a 7d 20  20 20 20 20 20 20 20 20  |s 2.0.}         |
00000440  20 20 20 20 20 20 20 20  20 20 20 20 20 23 20 74  |             # t|
00000450  68 69 73 20 69 73 20 74  68 65 20 66 69 72 73 74  |his is the first|
00000460  20 63 6f 6d 70 6c 65 74  65 20 69 6e 73 74 72 75  | complete instru|
00000470  63 74 69 6f 6e 0a 20 20  20 20 20 20 20 20 20 20  |ction.          |
00000480  20 20 20 20 20 20 20 20  20 20 20 20 20 23 20 69  |             # i|
00000490  74 20 69 73 20 74 65 6c  6c 69 6e 67 20 56 52 4d  |t is telling VRM|
000004a0  4c 20 74 6f 20 64 72 61  77 20 61 20 53 70 68 65  |L to draw a Sphe|
000004b0  72 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |re.             |
000004c0  20 20 20 20 20 20 20 20  20 20 23 20 77 69 74 68  |          # with|
000004d0  20 61 20 72 61 64 69 75  73 20 6f 66 20 32 20 75  | a radius of 2 u|
000004e0  6e 69 74 73 0a 0a 45 58  41 4d 50 4c 45 20 32 2e  |nits..EXAMPLE 2.|
000004f0  20 20 53 68 61 64 69 6e  67 20 61 20 73 68 61 70  |  Shading a shap|
00000500  65 20 75 73 69 6e 67 20  27 4d 61 74 65 72 69 61  |e using 'Materia|
00000510  6c 73 27 20 28 61 64 64  20 61 20 62 69 74 20 6f  |ls' (add a bit o|
00000520  66 20 63 6f 6c 6f 75 72  21 29 2e 0a 7e 7e 7e 7e  |f colour!)..~~~~|
00000530  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
*
00000570  0a 0a 59 6f 75 20 63 61  6e 20 63 6f 6c 6f 75 72  |..You can colour|
00000580  20 79 6f 75 72 20 73 68  61 70 65 20 68 6f 77 20  | your shape how |
00000590  79 6f 75 20 6c 69 6b 65  20 62 79 20 69 6e 63 6c  |you like by incl|
000005a0  75 64 69 6e 67 20 76 61  6c 75 65 73 20 28 62 65  |uding values (be|
000005b0  74 77 65 65 6e 20 30 20  61 6e 64 20 31 29 20 66  |tween 0 and 1) f|
000005c0  6f 72 20 65 61 63 68 20  6f 66 20 74 68 65 0a 63  |or each of the.c|
000005d0  6f 6c 6f 75 72 73 20 52  65 64 2c 20 47 72 65 65  |olours Red, Gree|
000005e0  6e 20 61 6e 64 20 42 6c  75 65 2e 20 0a 0a 54 68  |n and Blue. ..Th|
000005f0  65 72 65 20 61 72 65 20  73 65 76 65 72 61 6c 20  |ere are several |
00000600  6e 6f 64 65 73 20 28 63  6f 6d 6d 61 6e 64 73 29  |nodes (commands)|
00000610  20 75 73 65 64 20 74 6f  20 63 6f 6c 6f 75 72 20  | used to colour |
00000620  61 6e 20 6f 62 6a 65 63  74 20 64 69 66 66 75 73  |an object diffus|
00000630  65 2c 20 65 6d 6d 69 73  69 76 65 2c 20 73 70 65  |e, emmisive, spe|
00000640  63 75 6c 61 72 2c 20 73  68 69 6e 69 6e 65 73 73  |cular, shininess|
00000650  2c 20 61 6d 62 69 65 6e  74 20 61 6e 64 20 74 72  |, ambient and tr|
00000660  61 6e 73 70 61 72 65 6e  63 79 2e 20 56 52 4d 4c  |ansparency. VRML|
00000670  45 79 65 73 20 72 65 63  6f 67 6e 69 73 65 73 20  |Eyes recognises |
00000680  74 68 65 73 65 20 6e 6f  64 65 73 2e 0a 0a 64 69  |these nodes...di|
00000690  66 66 75 73 65 43 6f 6c  6f 72 20 73 69 6d 70 6c  |ffuseColor simpl|
000006a0  79 20 27 63 6f 6c 6f 75  72 73 27 20 74 68 65 20  |y 'colours' the |
000006b0  73 68 61 70 65 2e 0a 0a  41 20 72 65 64 20 53 70  |shape...A red Sp|
000006c0  68 65 72 65 0a 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |here.~~~~~~~~~~~|
000006d0  7e 0a 0a 23 56 52 4d 4c  20 56 31 2e 30 20 61 73  |~..#VRML V1.0 as|
000006e0  63 69 69 20 20 20 20 20  20 20 20 20 20 20 23 20  |cii           # |
000006f0  68 65 61 64 65 72 0a 0a  4d 61 74 65 72 69 61 6c  |header..Material|
00000700  20 7b 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | {              |
00000710  20 20 20 23 20 67 65 74  20 72 65 61 64 79 20 74  |   # get ready t|
00000720  6f 20 64 6f 20 73 6f 6d  65 74 68 69 6e 67 20 6c  |o do something l|
00000730  69 6b 65 20 63 6f 6c 6f  75 72 20 74 68 65 20 6f  |ike colour the o|
00000740  62 6a 65 63 74 29 0a 0a  64 69 66 66 75 73 65 43  |bject)..diffuseC|
00000750  6f 6c 6f 72 20 31 2e 30  20 30 2e 30 20 30 2e 30  |olor 1.0 0.0 0.0|
00000760  0a 7d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.}              |
00000770  20 20 20 20 20 20 20 20  20 20 20 20 23 20 67 65  |            # ge|
00000780  74 20 72 65 61 64 79 20  77 69 74 68 20 6d 61 78  |t ready with max|
00000790  20 72 65 64 2c 20 6e 6f  20 67 72 65 65 6e 20 61  | red, no green a|
000007a0  6e 64 20 6e 6f 20 62 6c  75 65 0a 20 20 20 20 20  |nd no blue.     |
000007b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007c0  20 20 20 20 20 20 23 20  77 61 74 63 68 20 6f 75  |      # watch ou|
000007d0  74 20 66 6f 72 20 73 70  65 6c 6c 69 6e 67 20 61  |t for spelling a|
000007e0  6e 64 20 63 61 73 65 21  0a 53 70 68 65 72 65 20  |nd case!.Sphere |
000007f0  7b 0a 20 20 20 20 72 61  64 69 75 73 20 32 2e 30  |{.    radius 2.0|
00000800  0a 7d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.}              |
00000810  20 20 20 20 20 20 20 20  20 20 20 20 23 20 6e 6f  |            # no|
00000820  77 20 64 72 61 77 20 74  68 65 20 73 70 68 65 72  |w draw the spher|
00000830  65 2c 20 61 6c 6c 20 69  6e 20 72 65 64 0a 0a 0a  |e, all in red...|
00000840  45 78 70 65 72 69 6d 65  6e 74 20 77 69 74 68 20  |Experiment with |
00000850  64 69 66 66 65 72 65 6e  74 20 63 6f 6c 6f 75 72  |different colour|
00000860  73 3a 0a 0a 52 65 64 20  20 20 20 20 47 72 65 65  |s:..Red     Gree|
00000870  6e 20 20 20 20 20 42 6c  75 65 0a 31 2e 30 20 20  |n     Blue.1.0  |
00000880  20 20 20 20 30 2e 30 20  20 20 20 20 20 30 2e 30  |    0.0      0.0|
00000890  20 20 20 20 20 20 20 20  20 20 28 50 75 72 65 20  |          (Pure |
000008a0  72 65 64 29 0a 30 2e 35  20 20 20 20 20 20 30 2e  |red).0.5      0.|
000008b0  30 20 20 20 20 20 20 30  2e 30 20 20 20 20 20 20  |0      0.0      |
000008c0  20 20 20 20 28 64 61 72  6b 20 72 65 64 29 0a 31  |    (dark red).1|
000008d0  2e 30 20 20 20 20 20 20  31 2e 30 20 20 20 20 20  |.0      1.0     |
000008e0  20 30 2e 30 20 20 20 20  20 20 20 20 20 20 28 59  | 0.0          (Y|
000008f0  65 6c 6c 6f 77 29 0a 31  2e 30 20 20 20 20 20 20  |ellow).1.0      |
00000900  30 2e 30 20 20 20 20 20  20 31 2e 30 20 20 20 20  |0.0      1.0    |
00000910  20 20 20 20 20 20 28 4d  61 67 65 6e 74 61 29 0a  |      (Magenta).|
00000920  0a 65 74 63 2e 20 0a 0a  54 68 65 20 64 65 6d 6f  |.etc. ..The demo|
00000930  20 76 65 72 73 69 6f 6e  20 61 6c 73 6f 20 73 75  | version also su|
00000940  70 70 6f 72 74 73 20 27  73 68 69 6e 69 6e 65 73  |pports 'shinines|
00000950  73 27 0a 0a 54 72 79 20  61 6d 65 6e 64 69 6e 67  |s'..Try amending|
00000960  20 74 68 65 20 61 62 6f  76 65 20 65 78 61 6d 70  | the above examp|
00000970  6c 65 3a 0a 20 20 20 20  20 20 20 20 20 20 20 20  |le:.            |
00000980  0a 23 56 52 4d 4c 20 56  31 2e 30 20 61 73 63 69  |.#VRML V1.0 asci|
00000990  69 20 20 20 20 20 20 20  20 20 0a 4d 61 74 65 72  |i         .Mater|
000009a0  69 61 6c 20 7b 20 20 20  20 20 20 20 20 20 20 20  |ial {           |
000009b0  20 20 20 20 0a 64 69 66  66 75 73 65 43 6f 6c 6f  |    .diffuseColo|
000009c0  72 20 31 2e 30 20 30 2e  30 20 30 2e 30 0a 73 68  |r 1.0 0.0 0.0.sh|
000009d0  69 6e 69 6e 65 73 73 20  20 20 20 30 2e 31 20 20  |ininess    0.1  |
000009e0  20 20 20 20 20 20 20 20  20 20 23 20 6d 61 6b 65  |          # make|
000009f0  20 74 68 65 20 6f 62 6a  65 63 74 20 73 68 69 6e  | the object shin|
00000a00  79 2c 20 76 61 6c 75 65  20 62 65 74 77 65 65 6e  |y, value between|
00000a10  20 30 20 61 6e 64 20 30  2e 35 0a 7d 20 20 20 20  | 0 and 0.5.}    |
00000a20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000a30  20 20 20 20 0a 53 70 68  65 72 65 20 7b 0a 20 20  |    .Sphere {.  |
00000a40  20 20 72 61 64 69 75 73  20 32 2e 30 0a 7d 20 20  |  radius 2.0.}  |
00000a50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000a60  20 20 20 20 20 20 20 20  20 23 20 6e 6f 77 20 64  |         # now d|
00000a70  72 61 77 20 74 68 65 20  73 70 68 65 72 65 2c 20  |raw the sphere, |
00000a80  69 6e 20 73 68 69 6e 79  20 72 65 64 0a 0a 0a 43  |in shiny red...C|
00000a90  75 62 65 2c 20 43 79 6c  69 6e 64 65 72 20 61 6e  |ube, Cylinder an|
00000aa0  64 20 43 6f 6e 65 3f 0a  7e 7e 7e 7e 7e 7e 7e 7e  |d Cone?.~~~~~~~~|
00000ab0  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
00000ac0  7e 7e 7e 0a 54 72 79 20  77 72 69 74 69 6e 67 20  |~~~.Try writing |
00000ad0  6e 65 77 20 56 52 4d 4c  20 74 65 78 74 66 69 6c  |new VRML textfil|
00000ae0  65 73 20 74 6f 20 64 72  61 77 20 74 68 65 73 65  |es to draw these|
00000af0  20 6f 74 68 65 72 20 73  68 61 70 65 73 20 6f 6e  | other shapes on|
00000b00  20 74 68 65 20 73 63 72  65 65 6e 2e 20 20 0a 0a  | the screen.  ..|
00000b10  56 52 4d 4c 45 79 65 73  20 64 65 6d 6f 20 76 65  |VRMLEyes demo ve|
00000b20  72 73 69 6f 6e 20 72 65  67 6f 67 6e 69 73 65 73  |rsion regognises|
00000b30  20 74 68 65 20 66 6f 6c  6c 6f 77 69 6e 67 20 73  | the following s|
00000b40  74 79 6c 65 20 6f 66 20  63 6f 6d 6d 61 6e 64 73  |tyle of commands|
00000b50  3a 0a 44 6f 6e 27 74 20  66 6f 72 67 65 74 20 74  |:.Don't forget t|
00000b60  68 65 20 68 65 61 64 65  72 73 20 65 74 63 2e 0a  |he headers etc..|
00000b70  0a 54 6f 20 6d 61 6b 65  20 61 20 63 75 62 65 0a  |.To make a cube.|
00000b80  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 0a 43  |~~~~~~~~~~~~~~.C|
00000b90  75 62 65 20 7b 0a 20 20  20 68 65 69 67 68 74 20  |ube {.   height |
00000ba0  32 2e 30 0a 20 20 20 77  69 64 74 68 20 20 34 2e  |2.0.   width  4.|
00000bb0  30 0a 20 20 20 64 65 70  74 68 20 20 36 2e 30 0a  |0.   depth  6.0.|
00000bc0  7d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |}               |
00000bd0  20 20 20 20 20 20 20 20  20 20 20 20 28 6d 61 6b  |            (mak|
00000be0  65 20 61 20 63 75 62 6f  69 64 20 32 78 34 78 36  |e a cuboid 2x4x6|
00000bf0  20 75 6e 69 74 73 29 0a  0a 54 6f 20 6d 61 6b 65  | units)..To make|
00000c00  20 61 20 43 79 6c 69 6e  64 65 72 0a 7e 7e 7e 7e  | a Cylinder.~~~~|
00000c10  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 0a 43  |~~~~~~~~~~~~~~.C|
00000c20  79 6c 69 6e 64 65 72 20  7b 0a 20 20 20 68 65 69  |ylinder {.   hei|
00000c30  67 68 74 20 34 2e 30 0a  20 20 20 72 61 64 69 75  |ght 4.0.   radiu|
00000c40  73 20 32 2e 30 0a 7d 20  20 20 20 20 20 20 20 20  |s 2.0.}         |
00000c50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000c60  20 20 28 6d 61 6b 65 20  61 20 63 79 6c 69 6e 64  |  (make a cylind|
00000c70  65 72 20 34 20 75 6e 69  74 73 20 68 69 67 68 20  |er 4 units high |
00000c80  61 6e 64 20 34 20 77 69  64 65 29 0a 0a 54 6f 20  |and 4 wide)..To |
00000c90  6d 61 6b 65 20 61 20 43  6f 6e 65 0a 7e 7e 7e 7e  |make a Cone.~~~~|
00000ca0  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 0a 0a 43 6f 6e 65  |~~~~~~~~~~..Cone|
00000cb0  20 7b 0a 20 20 20 20 68  65 69 67 68 74 20 20 20  | {.    height   |
00000cc0  20 20 20 20 36 2e 30 0a  20 20 20 20 62 6f 74 74  |    6.0.    bott|
00000cd0  6f 6d 52 61 64 69 75 73  20 32 2e 30 0a 7d 20 20  |omRadius 2.0.}  |
00000ce0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000cf0  20 20 20 20 20 20 20 20  20 28 6d 61 6b 65 20 61  |         (make a|
00000d00  20 63 6f 6e 65 20 77 68  69 63 68 20 69 73 20 36  | cone which is 6|
00000d10  20 75 6e 69 74 73 20 68  69 67 68 20 77 69 74 68  | units high with|
00000d20  20 61 20 62 61 73 65 20  34 20 75 6e 69 74 73 20  | a base 4 units |
00000d30  77 69 64 65 29 0a 0a 4e  42 2e 20 20 54 68 65 20  |wide)..NB.  The |
00000d40  75 6e 69 74 73 20 63 61  6e 20 62 65 20 6f 66 20  |units can be of |
00000d50  61 6e 79 20 64 65 73 69  72 65 64 20 6d 65 61 73  |any desired meas|
00000d60  75 72 65 6d 65 6e 74 2e  20 49 66 20 79 6f 75 20  |urement. If you |
00000d70  63 68 6f 73 65 20 63 65  6e 74 69 6d 65 74 65 72  |chose centimeter|
00000d80  73 20 61 73 20 79 6f 75  72 20 62 61 73 65 20 74  |s as your base t|
00000d90  68 65 6e 20 61 6c 6c 20  6f 74 68 65 72 20 6d 65  |hen all other me|
00000da0  61 73 75 72 65 6d 65 6e  74 73 20 69 6e 20 74 68  |asurements in th|
00000db0  65 20 63 6f 6d 70 6c 65  74 65 20 6d 6f 64 65 6c  |e complete model|
00000dc0  20 73 68 6f 75 6c 64 20  62 65 20 63 65 6e 74 69  | should be centi|
00000dd0  6d 65 74 65 72 73 20 61  73 20 77 65 6c 6c 2e 20  |meters as well. |
00000de0  56 52 4d 4c 45 79 65 73  20 63 61 6e 20 70 6c 61  |VRMLEyes can pla|
00000df0  63 65 20 79 6f 75 72 0a  6f 62 6a 65 63 74 20 61  |ce your.object a|
00000e00  63 63 75 72 61 74 65 6c  79 20 77 68 65 72 65 76  |ccurately wherev|
00000e10  65 72 20 64 65 73 69 72  65 64 2e 0a 0a 50 4c 41  |er desired...PLA|
00000e20  43 49 4e 47 20 41 20 53  48 41 50 45 0a 7e 7e 7e  |CING A SHAPE.~~~|
00000e30  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 0a 56 52 4d  |~~~~~~~~~~~~.VRM|
00000e40  4c 45 79 65 73 20 63 61  6e 20 62 65 20 74 6f 6c  |LEyes can be tol|
00000e50  64 20 74 6f 20 6d 6f 76  65 20 61 20 73 68 61 70  |d to move a shap|
00000e60  65 20 75 73 69 6e 67 20  74 68 65 20 27 54 72 61  |e using the 'Tra|
00000e70  6e 73 6c 61 74 69 6f 6e  27 20 6e 6f 64 65 2e 0a  |nslation' node..|
00000e80  0a 54 68 65 20 54 72 61  6e 73 6c 61 74 69 6f 6e  |.The Translation|
00000e90  20 6e 6f 64 65 20 63 61  6e 20 62 65 20 75 73 65  | node can be use|
00000ea0  64 20 74 6f 20 70 6c 61  63 65 20 61 6e 20 6f 62  |d to place an ob|
00000eb0  6a 65 63 74 20 61 63 63  75 72 61 74 65 6c 79 20  |ject accurately |
00000ec0  61 6e 79 77 68 65 72 65  20 69 6e 20 33 44 20 73  |anywhere in 3D s|
00000ed0  70 61 63 65 20 72 65 6c  61 74 69 76 65 20 0a 74  |pace relative .t|
00000ee0  6f 20 74 68 65 20 70 72  65 76 69 6f 75 73 20 6f  |o the previous o|
00000ef0  72 69 67 69 6e 2e 20 54  68 69 73 20 69 73 20 61  |rigin. This is a|
00000f00  63 68 69 65 76 65 64 20  62 79 20 64 65 66 69 6e  |chieved by defin|
00000f10  69 6e 67 20 61 20 6e 65  77 20 70 6f 73 69 74 69  |ing a new positi|
00000f20  6f 6e 20 69 6e 20 74 68  65 20 58 2c 20 59 20 61  |on in the X, Y a|
00000f30  6e 64 20 5a 20 70 6c 61  6e 65 73 2e 0a 0a 46 69  |nd Z planes...Fi|
00000f40  72 73 74 20 63 68 6f 6f  73 65 20 61 20 73 63 61  |rst choose a sca|
00000f50  6c 65 2c 20 63 65 6e 74  69 6d 65 74 65 72 73 20  |le, centimeters |
00000f60  66 6f 72 20 65 78 61 6d  70 6c 65 2e 0a 0a 54 68  |for example...Th|
00000f70  65 20 66 6f 6c 6c 6f 77  69 6e 67 20 65 78 61 6d  |e following exam|
00000f80  70 6c 65 20 64 72 61 77  73 20 6f 6e 65 20 63 75  |ple draws one cu|
00000f90  62 65 20 69 6e 20 74 68  65 20 63 65 6e 74 72 65  |be in the centre|
00000fa0  20 6f 66 20 74 68 65 20  73 63 72 65 65 6e 20 74  | of the screen t|
00000fb0  68 65 6e 20 64 72 61 77  73 20 61 73 20 73 65 63  |hen draws as sec|
00000fc0  6f 6e 64 20 63 75 62 65  20 74 6f 20 73 69 74 20  |ond cube to sit |
00000fd0  6f 6e 20 74 6f 70 20 6f  66 20 69 74 2e 0a 0a 23  |on top of it...#|
00000fe0  56 52 4d 4c 20 56 31 2e  30 20 61 73 63 69 69 20  |VRML V1.0 ascii |
00000ff0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001000  23 20 68 65 61 64 65 72  0a 0a 43 75 62 65 20 7b  |# header..Cube {|
00001010  0a 20 20 68 65 69 67 68  74 20 32 2e 30 20 20 20  |.  height 2.0   |
00001020  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001030  20 20 23 20 64 72 61 77  20 61 20 63 75 62 65 20  |  # draw a cube |
00001040  32 78 32 78 32 20 6d 65  74 72 65 73 0a 20 20 77  |2x2x2 metres.  w|
00001050  69 64 74 68 20 20 32 2e  30 0a 20 20 64 65 70 74  |idth  2.0.  dept|
00001060  68 20 20 32 2e 30 0a 7d  0a 54 72 61 6e 73 6c 61  |h  2.0.}.Transla|
00001070  74 69 6f 6e 20 7b 0a 20  20 20 20 74 72 61 6e 73  |tion {.    trans|
00001080  6c 61 74 69 6f 6e 20 30  2e 30 20 32 2e 30 20 30  |lation 0.0 2.0 0|
00001090  2e 30 20 20 20 20 20 20  23 20 74 72 61 6e 73 6c  |.0      # transl|
000010a0  61 74 65 2c 20 6f 72 20  6d 6f 76 65 2c 20 74 68  |ate, or move, th|
000010b0  65 20 70 6f 69 6e 74 20  6f 66 20 6f 72 69 67 69  |e point of origi|
000010c0  6e 20 32 20 20 69 6e 20  74 68 65 20 59 20 70 6c  |n 2  in the Y pl|
000010d0  61 6e 65 2e 0a 20 20 20  20 20 20 20 20 20 20 20  |ane..           |
000010e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000010f0  20 20 20 20 20 20 23 20  69 66 20 74 68 65 20 6e  |      # if the n|
00001100  75 6d 62 65 72 20 77 61  73 20 2d 32 20 74 68 65  |umber was -2 the|
00001110  6e 20 74 68 65 20 6f 72  69 67 69 6e 20 77 6f 75  |n the origin wou|
00001120  6c 64 20 62 65 20 6d 6f  76 65 64 20 64 6f 77 6e  |ld be moved down|
00001130  77 61 72 64 0a 7d 0a 43  75 62 65 20 7b 0a 20 20  |ward.}.Cube {.  |
00001140  68 65 69 67 68 74 20 32  2e 30 20 20 20 20 20 20  |height 2.0      |
00001150  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 23  |               #|
00001160  20 44 72 61 77 20 61 20  73 65 63 6f 6e 64 20 63  | Draw a second c|
00001170  75 62 65 20 61 74 20 74  68 65 20 6e 65 77 20 6f  |ube at the new o|
00001180  72 69 67 69 6e 0a 20 20  77 69 64 74 68 20 20 32  |rigin.  width  2|
00001190  2e 30 0a 20 20 64 65 70  74 68 20 20 32 2e 30 0a  |.0.  depth  2.0.|
000011a0  7d 0a 0a 52 4f 54 41 54  49 4e 47 20 41 20 53 48  |}..ROTATING A SH|
000011b0  41 50 45 0a 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |APE.~~~~~~~~~~~~|
000011c0  7e 7e 7e 7e 0a 45 61 63  68 20 73 68 61 70 65 20  |~~~~.Each shape |
000011d0  63 61 6e 20 62 65 20 72  6f 74 61 74 65 64 20 69  |can be rotated i|
000011e0  6e 20 61 6e 79 20 64 69  72 65 63 74 69 6f 6e 20  |n any direction |
000011f0  62 79 20 61 20 73 70 65  63 69 66 69 63 20 61 6d  |by a specific am|
00001200  6f 75 6e 74 20 69 6e 20  61 6e 79 20 64 69 72 65  |ount in any dire|
00001210  63 74 69 6f 6e 2e 20 54  68 69 73 20 66 75 6e 63  |ction. This func|
00001220  74 69 6f 6e 20 0a 69 73  20 63 6f 6e 74 72 6f 6c  |tion .is control|
00001230  6c 65 64 20 62 79 20 74  68 65 20 52 6f 74 61 74  |led by the Rotat|
00001240  69 6f 6e 20 4e 6f 64 65  2e 20 49 74 73 20 4f 4b  |ion Node. Its OK|
00001250  20 74 6f 20 74 68 69 6e  6b 20 69 6e 20 64 65 67  | to think in deg|
00001260  72 65 65 73 20 62 75 74  20 79 6f 75 20 77 69 6c  |rees but you wil|
00001270  6c 20 6e 65 65 64 20 74  6f 20 63 6f 6e 76 65 72  |l need to conver|
00001280  74 20 61 6c 6c 20 0a 79  6f 75 72 20 61 6e 67 6c  |t all .your angl|
00001290  65 73 20 74 6f 20 72 61  64 69 61 6e 73 20 62 65  |es to radians be|
000012a0  66 6f 72 65 20 75 73 69  6e 67 20 74 68 65 6d 20  |fore using them |
000012b0  77 69 74 68 20 56 52 4d  4c 2e 0a 0a 0a 0a 54 68  |with VRML.....Th|
000012c0  65 20 66 6f 6c 6c 6f 77  69 6e 67 20 65 78 61 6d  |e following exam|
000012d0  70 6c 65 20 64 65 73 63  72 69 62 65 73 20 61 20  |ple describes a |
000012e0  27 43 72 6f 73 73 27 20  73 68 61 70 65 20 6d 61  |'Cross' shape ma|
000012f0  64 65 20 66 72 6f 6d 20  74 77 6f 20 63 79 6c 69  |de from two cyli|
00001300  6e 64 65 72 73 2e 20 73  65 65 20 65 78 61 6d 70  |nders. see examp|
00001310  6c 65 20 66 69 6c 65 20  33 2e 0a 7e 7e 7e 7e 7e  |le file 3..~~~~~|
00001320  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
*
00001370  7e 7e 7e 7e 7e 7e 7e 0a  0a 23 56 52 4d 4c 20 56  |~~~~~~~..#VRML V|
00001380  31 2e 30 20 61 73 63 69  69 20 20 20 0a 43 79 6c  |1.0 ascii   .Cyl|
00001390  69 6e 64 65 72 20 7b 0a  20 20 68 65 69 67 68 74  |inder {.  height|
000013a0  20 33 30 2e 30 0a 20 20  72 61 64 69 75 73 20 32  | 30.0.  radius 2|
000013b0  2e 30 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.0              |
000013c0  20 20 20 20 20 20 20 20  20 20 20 20 23 20 64 72  |            # dr|
000013d0  61 77 20 61 20 63 79 6c  69 6e 64 65 72 0a 7d 0a  |aw a cylinder.}.|
000013e0  52 6f 74 61 74 69 6f 6e  20 7b 0a 20 20 20 20 72  |Rotation {.    r|
000013f0  6f 74 61 74 69 6f 6e 20  20 30 2e 30 20 30 2e 30  |otation  0.0 0.0|
00001400  20 31 2e 30 20 31 2e 30  34 37 32 20 20 20 20 20  | 1.0 1.0472     |
00001410  20 23 20 72 6f 74 61 74  65 20 74 68 65 20 63 79  | # rotate the cy|
00001420  6c 69 6e 64 65 72 20 69  6e 20 74 68 65 20 5a 20  |linder in the Z |
00001430  61 78 69 73 20 62 79 20  31 2e 30 34 37 32 0a 20  |axis by 1.0472. |
00001440  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001460  20 20 20 20 20 23 20 72  61 64 69 61 6e 73 20 28  |     # radians (|
00001470  36 30 20 64 65 67 72 65  65 73 29 2e 20 54 68 65  |60 degrees). The|
00001480  20 66 69 67 75 72 65 20  30 2e 30 20 30 2e 30 20  | figure 0.0 0.0 |
00001490  31 2e 30 0a 20 20 20 20  20 20 20 20 20 20 20 20  |1.0.            |
000014a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000014b0  20 20 20 20 20 20 20 20  20 20 23 20 72 65 70 72  |          # repr|
000014c0  65 73 65 6e 74 20 74 68  65 20 58 2c 20 59 20 61  |esent the X, Y a|
000014d0  6e 64 20 5a 20 61 78 69  78 2e 20 54 68 65 20 5a  |nd Z axix. The Z|
000014e0  20 61 78 69 73 20 69 73  20 0a 20 20 20 20 20 20  | axis is .      |
000014f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001510  23 20 73 65 74 20 77 69  74 68 20 61 20 27 31 27  |# set with a '1'|
00001520  20 66 6f 6c 6c 6f 77 65  64 20 62 79 20 74 68 65  | followed by the|
00001530  20 61 6e 67 6c 65 20 69  6e 20 72 61 64 69 61 6e  | angle in radian|
00001540  73 2e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |s..             |
00001550  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001560  20 20 20 20 20 20 20 20  20 23 20 30 2e 30 20 31  |         # 0.0 1|
00001570  2e 30 20 30 2e 30 20 31  2e 30 34 37 32 20 77 6f  |.0 0.0 1.0472 wo|
00001580  75 6c 64 20 72 6f 74 61  74 65 20 74 68 65 20 63  |uld rotate the c|
00001590  79 6c 69 6e 64 65 72 0a  20 20 20 20 20 20 20 20  |ylinder.        |
000015a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000015b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 23 20  |              # |
000015c0  69 6e 20 74 68 65 20 59  20 61 78 69 73 20 0a 20  |in the Y axis . |
000015d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001610  20 20 20 20 20 20 20 0a  7d 0a 43 79 6c 69 6e 64  |       .}.Cylind|
00001620  65 72 20 7b 0a 20 20 68  65 69 67 68 74 20 33 30  |er {.  height 30|
00001630  2e 30 0a 20 20 72 61 64  69 75 73 20 32 2e 30 0a  |.0.  radius 2.0.|
00001640  7d 20 0a 20 20 20 20 20  20 0a 20 20 20 20 20 20  |} .      .      |
00001650  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001660  20 20 20 20 20 20 0a 20  2a 2a 2a 54 68 69 73 20  |      . ***This |
00001670  65 78 61 6d 70 6c 65 20  70 72 6f 64 75 63 65 73  |example produces|
00001680  20 69 6e 74 65 72 73 65  63 74 69 6e 67 20 73 68  | intersecting sh|
00001690  61 70 65 73 2c 20 73 6f  20 74 68 65 20 5a 20 42  |apes, so the Z B|
000016a0  75 66 66 65 72 20 77 69  6c 6c 20 6e 65 65 64 20  |uffer will need |
000016b0  74 6f 20 62 65 20 75 73  65 64 2e 20 20 20 20 20  |to be used.     |
000016c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 0a 0a  |              ..|
000016d0  52 41 44 49 41 4e 53 0a  7e 7e 7e 7e 7e 7e 7e 0a  |RADIANS.~~~~~~~.|
000016e0  66 6f 72 20 74 68 6f 73  65 20 77 68 6f 20 63 61  |for those who ca|
000016f0  6e 27 74 20 72 65 6d 65  6d 62 65 72 20 73 63 68  |n't remember sch|
00001700  6f 6f 6c 3a 0a 0a 72 61  64 20 3d 20 28 64 65 67  |ool:..rad = (deg|
00001710  20 2f 20 31 38 30 29 20  78 20 33 2e 31 34 32 0a  | / 180) x 3.142.|
00001720  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00001730  20 20 20 20 20 20 20 20  43 6f 6d 6d 6f 6e 20 61  |        Common a|
00001740  6e 67 6c 65 73 3a 0a 20  20 20 20 20 20 20 20 20  |ngles:.         |
00001750  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001760  20 20 20 20 20 20 20 20  20 20 20 20 20 20 44 65  |              De|
00001770  67 72 65 65 73 20 20 20  20 20 20 52 61 64 69 61  |grees      Radia|
00001780  6e 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ns.             |
00001790  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000017a0  20 20 20 20 20 20 20 20  20 20 33 30 20 64 65 67  |          30 deg|
000017b0  20 20 20 20 20 20 20 30  2e 35 32 34 20 72 61 64  |       0.524 rad|
000017c0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
000017d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000017e0  20 20 20 20 20 20 20 20  36 30 20 64 65 67 20 20  |        60 deg  |
000017f0  20 20 20 20 20 31 2e 30  34 37 32 0a 20 20 20 20  |     1.0472.    |
00001800  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001820  20 20 20 39 30 20 64 65  67 20 20 20 20 20 20 20  |   90 deg       |
00001830  31 2e 35 37 31 0a 20 20  20 20 20 20 20 20 20 20  |1.571.          |
00001840  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001850  20 20 20 20 20 20 20 20  20 20 20 20 20 31 38 30  |             180|
00001860  20 64 65 67 20 20 20 20  20 20 33 2e 31 34 32 0a  | deg      3.142.|
00001870  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001890  20 20 20 20 20 20 20 32  37 30 20 64 65 67 20 20  |       270 deg  |
000018a0  20 20 20 20 34 2e 31 37  32 0a 0a 54 68 65 20 70  |    4.172..The p|
000018b0  72 6f 64 75 63 74 73 20  56 52 4d 4c 45 79 65 73  |roducts VRMLEyes|
000018c0  20 61 6e 20 44 61 56 69  6e 63 69 39 30 20 77 69  | an DaVinci90 wi|
000018d0  6c 6c 20 72 65 6e 64 65  72 20 72 61 77 20 56 52  |ll render raw VR|
000018e0  4d 4c 20 66 69 6c 65 73  20 61 73 20 64 61 74 61  |ML files as data|
000018f0  20 6f 72 20 74 65 78 74  20 66 69 6c 65 73 2c 20  | or text files, |
00001900  77 68 69 63 68 20 68 6f  77 20 74 68 65 79 20 6e  |which how they n|
00001910  6f 72 6d 61 6c 6c 79 20  61 72 72 69 76 65 2e 20  |ormally arrive. |
00001920  49 66 20 74 68 65 20 66  69 6c 65 74 79 70 65 20  |If the filetype |
00001930  69 73 20 73 65 74 20 74  6f 20 56 52 4d 4c 20 74  |is set to VRML t|
00001940  68 65 6e 20 61 20 56 52  4d 4c 20 6d 6f 64 65 6c  |hen a VRML model|
00001950  20 63 61 6e 20 62 65 20  6c 6f 61 64 65 64 20 62  | can be loaded b|
00001960  79 20 64 6f 75 62 6c 65  2d 63 6c 69 63 6b 69 6e  |y double-clickin|
00001970  67 2e 0a 0a 20 20 20 20  20 20 20 20 20 20 20 20  |g...            |
00001980  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001990  20 20 20 20 20 20 20 20  20 20 20 0a 57 69 74 68  |           .With|
000019a0  20 56 52 4d 4c 45 79 65  73 20 64 65 6d 6f 6e 73  | VRMLEyes demons|
000019b0  74 72 61 74 69 6f 6e 20  6f 6e 65 20 63 61 6e 20  |tration one can |
000019c0  63 61 6e 20 63 72 65 61  74 65 20 71 75 69 74 65  |can create quite|
000019d0  20 63 6f 6d 70 6c 65 78  20 73 68 61 70 65 73 2c  | complex shapes,|
000019e0  20 63 6f 6c 6f 75 72 20  74 68 65 6d 2c 20 6d 6f  | colour them, mo|
000019f0  76 65 20 0a 61 6e 64 20  72 6f 74 61 74 65 20 74  |ve .and rotate t|
00001a00  68 65 6d 2e 20 57 68 79  20 6e 6f 74 20 62 75 79  |hem. Why not buy|
00001a10  20 74 68 65 20 63 6f 6d  70 6c 65 74 65 20 76 65  | the complete ve|
00001a20  72 73 69 6f 6e 20 61 6e  64 20 6a 6f 69 6e 20 69  |rsion and join i|
00001a30  6e 20 61 74 20 74 68 65  20 73 74 61 72 74 20 6f  |n at the start o|
00001a40  66 20 74 68 65 20 72 61  70 69 64 6c 79 0a 67 72  |f the rapidly.gr|
00001a50  6f 77 69 6e 67 20 77 6f  72 6c 64 20 6f 66 20 33  |owing world of 3|
00001a60  44 2e 20 20 20 20 20 20  20 20 20 20 20 0a 0a 0a  |D.           ...|
00001a70  56 52 4d 4c 45 79 65 73  20 77 69 6c 6c 20 61 6c  |VRMLEyes will al|
00001a80  73 6f 20 6c 6f 61 64 20  61 6e 64 20 72 65 6e 64  |so load and rend|
00001a90  65 72 20 61 6e 79 20 44  61 56 69 6e 63 69 39 30  |er any DaVinci90|
00001aa0  20 33 44 20 6d 6f 64 65  6c 2e 20 44 61 56 69 6e  | 3D model. DaVin|
00001ab0  63 69 20 69 73 20 61 20  33 44 20 6d 6f 64 65 6c  |ci is a 3D model|
00001ac0  6c 65 72 20 77 68 69 63  68 20 63 6f 75 6c 64 20  |ler which could |
00001ad0  62 65 20 72 65 66 61 72  64 65 64 20 61 73 20 61  |be refarded as a|
00001ae0  20 56 52 4d 4c 20 65 64  69 74 6f 72 2e 0a 0a 0a  | VRML editor....|
00001af0  0a 0a 0a 0a 0a 0a 0a 0a  20 0a 0a 0a 0a 0a 0a 0a  |........ .......|
00001b00  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |................|
00001b10  0a                                                |.|
00001b11