home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / r / ray3d_pro / !Help+ / help_on / !Ray3d-Pro < prev    next >
Text File  |  1995-06-20  |  77KB  |  2,129 lines

  1. @page:contents@Contents
  2.  
  3.  
  4.                            
  5.  
  6.                            
  7.     @Sprite:Wyvern@                
  8.       _______________________________________________________
  9.  
  10.           @goto:register: How to Register and what you get       @
  11.           @goto:install : Setting up Ray3d-Pro on your computer  @
  12.           @goto:intro1  : Introduction to raytracing             @
  13.           @goto:intro2  : Introduction to Ray3d-Pro              @
  14.           @goto:using   : Using Ray3d-Pro                        @
  15.           @goto:custom  : Customizing Ray3d-Pro                  @
  16.           @goto:menus   : Help on menu entries                   @
  17.           @goto:tutorial: Tutorials                              @
  18.           @goto:copyright^contents: Copyright and Credits                  @
  19.  
  20.    Ray3d-Pro supports context sensitive help when this help reader
  21.    application is loaded. To receive help on a specific option or
  22.    tool in !Ray3d-Pro, hold down CONTROL and click on the option with
  23.    the mouse. If there is no help available you will hear a beep.
  24.    
  25. @end@
  26. @Page:register@How to register
  27.  
  28. @colour:11@   Why should I register?
  29.  
  30.    The Public Domain release of Ray3d-Pro has been limited in the number
  31.    of objects that may be used to create a scene. This number depends on
  32.    what objects you use, but it is around the 20 mark.
  33.  
  34.    Registration will remove this limit, allowing Ray3d-Pro to be used to
  35.    it's full potential - scenes with over 7000 objects have been created
  36.    and raytraced (this depends on the amount of memory in your system).
  37.  
  38.    Many of the options in the PD release are unavailable because of this
  39.    restriction, such as scaling spheres, cylinders and cones, creating
  40.    fractal shapes, complex CSG shapes, etc. All of these functions are
  41.    fully operational in the full release.
  42.  
  43.    There are also some support applications that accompany the full
  44.    release which allow you to import scenes from other applications in
  45.    different file formats. Also included is a utility which will take
  46.    a !Draw file and import it into Ray3d-Pro - thus allowing you to use
  47.    text in your images.
  48.  
  49. @colour:11@   How do I register?
  50.  
  51.    To register and receive the full version of Ray3d-Pro, send a cheque
  52.    (or eurocheque) for 10 UK pounds made payable to "Robert Taylor" to
  53.    the address below. If you live outside Europe, then contact me at
  54.    this address and I will discuss other means of payment.
  55.  
  56.    Send the cheque to:   Robert Taylor
  57.                          Wyvern Software
  58.                          5 Mayfield Grove
  59.                          Skegness
  60.                          Lincolnshire
  61.                          UNITED KINGDOM
  62.                          PE25 3RY
  63.  
  64.    remembering to include a return address!
  65.  
  66.    @colour:11@Further versions
  67.  
  68.    Registration allows you to receive program updates for free, by
  69.    sending your registration disk to the above address and enclosing
  70.    a stamped addressed envelope.
  71.  
  72.    IF there is sufficient interest in Ray3d-Pro, I will continue to
  73.    work on it. Planned updates include image mapping, full script
  74.    language support, libraries and animation support.
  75.  
  76. @end@
  77. @page:intro1  @Introduction to raytracing
  78.  
  79. @colour:11@   Introduction to raytracing
  80.  
  81.    Raytracing is the technique used for generating realistic pictures
  82.    from a 3d scene. Each ray of light is traced from where it ‘hits’
  83.    the scene, back to the light source it came from. This process then
  84.    ensures that the scene generated is close to real life because it
  85.    follows the same physical laws.
  86.    
  87.    Ray3d-Pro does not actually do the raytracing, it simply defines
  88.    the scene and passes this information to the selected PD raytracer,
  89.    which then raytraces the scene.
  90.  
  91. @end@
  92. @page:intro2  @Introduction to Ray3d-Pro
  93.  
  94. @colour:11@   Introduction to Ray3d-Pro
  95.  
  96.    This document describes !Ray3d-Pro, a cheaper  alternative to other
  97.    commercial raytracing packages, but which still has lots of features.
  98.  
  99.    !Ray3d-Pro allows the user to create a scene in 3 dimensions by using
  100.    a graphical editing system, which can then transformed into the
  101.    textual data needed to raytrace a scene by Public Domain raytracing
  102.    packages. 
  103.  
  104. @colour:11@   Loading and Running
  105.  
  106.    To run the application, double click on the !Ray3d-Pro icon in the
  107.    normal way.
  108.  
  109. @colour:11@   The Ray3d-Pro world
  110.    
  111.    Scenes generated in the Ray3d-Pro world consist of a number of objects
  112.    called primitives. These can be of a number of pre-defined shapes
  113.    such as cone, sphere, box etc. In order for an object to be seen, it
  114.    must have a surface associated with it. Surfaces specify the colour
  115.    of the object, whether it is mirror-like, transparent and other such
  116.    factors.
  117.    
  118.    Objects may also have a texture applied to them, which may be of a
  119.    number of types. There is wood, marble, bumps, checker, gloss and
  120.    blotch.
  121.    
  122.    The user also sets the position of the observer within the scene and
  123.    the direction that they are looking in. It is possible for the
  124.    observer to be placed within a transparent object, such as a goldfish
  125.    bowl, or from any distance.
  126.    
  127.    Finally, in order to be able to draw the scene, there must be light,
  128.    and Ray3d-Pro allows two different forms of lighting.
  129.  
  130. @colour:11@   Using the editor
  131.    
  132.    The 3d editor has been designed to be as easy to use as possible,
  133.    although some people may find the @goto:tri     :tri-view@ system difficult to work
  134.    with. In this case, it is possible to switch to a single view which
  135.    is similar to that used by other packages (eg: Euclid).
  136.    
  137.    When !Ray3d-Pro has been loaded, clicking on the icon on the icon bar
  138.    brings up five windows. Three of these windows show views onto the
  139.    Ray3d-Pro world, while the fourth and fifth are a toolbox and object
  140.    list.
  141.  
  142.    All of the objects within a scene are listed within the object list
  143.    window. Groups of objects are listed at the top in red, with single
  144.    objects listed below in black. Clicking on an object with the SELECT
  145.    mouse button will select the object and deselect everything else, while
  146.    clicking with ADJUST will cause the object to be added to those already
  147.    selected.
  148.  
  149.    It is possible to move into a group by clicking on the arrow on the
  150.    right hand side of the group name. In this manner you can create and
  151.    use groups within groups within groups, etc.
  152.    
  153.    All of the most used operations can be found on the tools window.
  154.  
  155. @colour:11@   Bugs, Features and Cautions
  156.    
  157.    Unforeseen errors are sometimes reported as “Internal error” and
  158.    a message. If you get one of these, let me know what happened with
  159.    as much information as possible, namely:
  160.    
  161.       Machine type, OS version and memory available
  162.       Version of !Ray3d-Pro
  163.       What was being done at the time
  164.       Error message or other symptoms
  165.       Is the problem repeatable?
  166.       Is the problem confined to just one scene?
  167.  
  168. @end@
  169. @Page:tri     @Tri-view
  170.  
  171. @colour:11@   Tri-view
  172.    
  173.    Tri-view is the name given to the form of 3d representation that
  174.    !Ray3d-Pro uses in order to make 3d editing possible.
  175.  
  176.    !Ray3d-Pro opens three windows, each of which looks at the world from
  177.    a different direction. By using all three of these windows it is
  178.    possible to represent the 3 dimensional world.
  179.  
  180.    If you imagine a cube, then the plan view is what you see if
  181.    looking from above straight downwards. The front and side views
  182.    represent what you would see if looking from the front and side
  183.    respectively.
  184.  
  185.    When you are designing your scene, I suggest you First click in the
  186.    Front or Side view windows to set the height of the object. Then
  187.    click in the plan window to decide where the object will be placed.
  188.  
  189. @end@
  190. @Page:install @Installation
  191.  
  192. @colour:11@   Installation
  193.  
  194.    The !Ray3d-Pro package consists of the following directories:
  195.  
  196.         * !Ray3d-Pro
  197.         * !Help+
  198.         * !Shade4
  199.         * !RayShade
  200.         * Rayfiles    (a directory of example files)
  201.  
  202. @colour:11@   Hard Disc
  203.  
  204.    It is a simple matter to install !Ray3d-Pro onto a hard disc. Simply
  205.    copy all of the supplied applications into the required directory
  206.    on your hard disc in the normal RISC OS way.
  207.  
  208. @colour:11@   Floppy Disc
  209.  
  210.    To set !Ray3d-Pro up on a floppy based system I recommend that you split
  211.    these directories over two discs.
  212.  
  213.    The first disc, which you should use to design your scenes and save
  214.    them to will need the following directories:
  215.  
  216.         *  !Help
  217.         *  !Ray3d-Pro
  218.         *  RayFiles
  219.  
  220.    Note that !Help is included on this disc, as you might need to refer
  221.    to it while creating a scene.
  222.  
  223.    The second disc should be used when you wish to raytrace a scene, and
  224.    should contain:
  225.  
  226.                 *  !RayShade
  227.                 *  !Shade4
  228.  
  229. @end@
  230. @Page:using   @Using Ray3d-Pro
  231.  
  232.           @goto:basics  : The Basics                             @
  233.           @goto:obj_list: The object list                        @
  234.           @goto:toolbox : The toolbox                            @
  235.           @goto:creating: Creating objects                       @
  236.           @goto:delete  : Deleting objects and groups            @
  237.           @goto:editing : Editing functions                      @
  238.           @goto:viewing : Setting the observer and target point  @
  239.           @goto:preview : 3d preview                             @
  240.           @goto:surfaces: Creating surfaces                      @
  241.           @goto:linking : Linking surfaces to objects            @
  242.           @goto:textures: Using textures                         @
  243.           @goto:csg_desc: Constructive Solid Geometry            @
  244.           @goto:renderng: Rendering scenes                       @
  245.           @goto:script  : Simple script language                 @
  246.           @goto:special : Special functions                      @
  247.           @goto:importer: Importers and tools                    @
  248.           @goto:v1_notes: Notes for !Ray3d v1.xx users           @
  249.  
  250. @end@
  251. @page:obj_list@The object list
  252.  
  253. @colour:11@   The object list
  254.  
  255.    All of the objects within a scene are listed within the object list
  256.    window. Groups of objects are listed at the top in red, with single
  257.    objects listed below in black. Clicking on an object with the SELECT
  258.    mouse button will select the object and deselect everything else, while
  259.    clicking with ADJUST will cause the object to be added to those already
  260.    selected.
  261.  
  262.    Once objects and groups have been selected, many operations can be done
  263.    with them such as grouping, hiding, rotating, scaling, etc.
  264.  
  265.    It is possible to move into a group by clicking on the arrow on the
  266.    right hand side of the group name. In this manner you can create and
  267.    use groups within groups within groups, etc.
  268.  
  269. @colour:11@   Leaving a group                   @sprite:parent@
  270.  
  271.    Clicking on the parent icon situated below the list returns you
  272.    to the group above the one you are in now.
  273.  
  274. @colour:11@   Select All                        @sprite:select@
  275.  
  276.    Clicking on the select all icon, or choosing the ‘Select all’
  277.    option from the ‘select’ sub-menu on the main program menu will
  278.    cause all the objects in the currently displayed group to become
  279.    selected (that is the objects currently displayed in the object
  280.    list).
  281.  
  282. @colour:11@   Clear selection                   @sprite:unselect@
  283.  
  284.    Clicking on the clear selection icon in the toolbox, or choosing
  285.    the ‘Clear’ option from the select sub-menu will deselect any
  286.    objects which are currently selected.
  287.  
  288. @colour:11@   Grouping
  289.  
  290.    It is often desirable to group several objects together so that
  291.    they may be moved, scaled, rotated, etc. as if they were one
  292.    object.
  293.  
  294.    Another benefit of grouping objects together is that it reduces
  295.    the number of objects in the main object list, and thus locating
  296.    an object is easier.
  297.  
  298.    A side effect of grouping objects that are close together is that
  299.    it can speed up the rendering time for a scene. Bearing this in
  300.    mind it is a good idea to group items together with a little thought.
  301.  
  302. @colour:11@   Grouping objects together         @sprite:group@
  303.  
  304.    To group the selected objects together, first enter a new unique
  305.    name in the writable icon at the bottom of the Toolbox.
  306.  
  307.    Now click on the group icon, or select group from the select sub-
  308.    menu which can be found on the main program menu.
  309.  
  310. @colour:11@   Removing objects from a group     @sprite:ungroup@
  311.  
  312.    To remove the selected objects from a group simply click on the
  313.    ungroup icon in the toolbox, or select ungroup from the select
  314.    sub-menu in the main program menu. The objects will not be deleted,
  315.    but will instead be placed in the parent group to the one they
  316.    were in before.
  317.  
  318.    Any groups which become empty after this operation are deleted.
  319.  
  320. @colour:11@   Moving objects between groups     @sprite:between@
  321.  
  322.    To move objects from within one group to within another, select
  323.    the objects you wish to move, and then enter the group that you
  324.    wish to move them into. Now click on the move icon.
  325.  
  326. @colour:11@   Rename                            @sprite:rename@
  327.  
  328.    It is possible in !Ray3d-Pro to rename any selected objects after
  329.    you have already created them. This also applies when you select
  330.    multiple objects, because each will be renamed to the new name
  331.    specified, with an additional number at the end.
  332.  
  333.    To rename objects once they have been created, type in the new name
  334.    into the writable icon at the foot of the toolbox, and then click
  335.    on the rename icon.
  336.  
  337. @colour:11@   Copying objects                   @sprite:copy@
  338.  
  339.    To copy objects, lights or groups simply select them and then
  340.    click on the copy icon. Copied items will appear in the same group
  341.    as the original object, group or whatever.
  342.  
  343. @colour:11@   Hiding.                           @sprite:hide/show@
  344.  
  345.    Sometimes, when creating a large scene it becomes impossible to
  346.    see exactly where points are being positioned due to other objects
  347.    getting in the way.
  348.  
  349.    !Ray3d-Pro allows you to ‘hide’ objects so that they are not shown
  350.    in the view windows. They will however be present if the scene
  351.    is raytraced.
  352.  
  353.    To hide objects, simply select them on the Object list and then
  354.    choose the hide option off the select sub-menu on the main
  355.    program menu, or click on the hide/show icon in the toolbox.
  356.  
  357.    So that you can tell that an object has been hidden, the name of
  358.    it will appear in blue on the object list.
  359.  
  360.  
  361. @colour:11@  Showing hidden objects             @sprite:hide/show@
  362.  
  363.   To re-display hidden objects in the view windows, select the desired
  364.   objects on the object list and then choose the show option from
  365.   the select sub-menu on the main program menu, or click on the show
  366.   icon.
  367.  
  368. @end@
  369. @Page:basics  @The Basics
  370.  
  371. @colour:11@   What needs to be done to create a scene.
  372.  
  373.    To create a scene, you must first define the objects that will be
  374.    raytraced. Each of these objects must then be given a surface which
  375.    determines the colour, reflectivity, etc. of the objects, and
  376.    optionally a texture to apply such as marble.
  377.  
  378.    The observer must be placed at a point in the scene, as well as
  379.    another target point which is what the observer will look at.
  380.  
  381.    Finally, light must be present to raytrace a scene, so up to ten
  382.    light sources may be defined.
  383.  
  384. @colour:11@   Saving                            @sprite:save@
  385.  
  386.    To save your scene, you do it in the normal RISC OS manner, using
  387.    the save option which is located in the Project sub-menu on the
  388.    main program menu. If your scene has already been saved, you may
  389.    save again using the same name by clicking on the save icon in
  390.    the toolbox.
  391.  
  392. @colour:11@   Moving around the !Ray3d-Pro world
  393.  
  394.    To view a different part of the scene simply use the scroll bars
  395.    on the view windows.
  396.  
  397.    To locate a point in three dimensions it is necessary to click
  398.    the mouse in two of the three view windows. This is because in 3d
  399.    a point has three coordinates (x,y,z) and clicking in one window
  400.    only sets two of the coordinates. Clicking in the second window
  401.    will set the third coordinate.
  402.  
  403. @colour:11@   Selecting points                  @sprite:point@
  404.  
  405.    When this icon is selected, clicking in the view windows will set
  406.    the position of the cursor which is shown as a blue cross.
  407.    If you experiment moving the cursor around you will get the hang
  408.    of the tri-view system.
  409.                                                 
  410. @colour:11@   Zooming                           @sprite:zoomin@    @sprite:zoomout@
  411.  
  412.    These two icons located in the toolbox zoom in or out of the scene.
  413.    Clicking on one will cause the scene to be redrawn at a different
  414.    zoom factor.
  415.  
  416.    After zooming the window, the scene is always positioned so that
  417.    the cursor appears in the centre of the window. So to zoom in on
  418.    a specific point, position the cursor on the point of interest and
  419.    click on the zoom in icon.
  420.  
  421.    It is also possible to set the zoom by selecting the desired zoom
  422.    factor from the zoom sub-menu on the main program menu.
  423.  
  424.    Note: The minimum zoom is 100% and the maximum zoom is 800%
  425.  
  426. @end@
  427. @page:tutorial@Tutorials
  428.  
  429.    @Colour:11@Tutorial
  430.    
  431.    This tutorial takes you through the steps of creating a scene ready
  432.    for raytracing. The scene can then be loaded into !RayShade which
  433.    will produce the finished raytraced picture. If you are a complete
  434.    beginner to raytracing I suggest you read the introductions
  435.    
  436.    The scene we are going to raytrace is not going to be anything
  437.    spectacular - just a sphere suspended in mid air. This should however
  438.    get you used to using !Ray3d-Pro and lead you on to experimenting.
  439.    
  440.    @colour:11@Loading !Ray3d-Pro
  441.    
  442.    To load !Ray3d-Pro, simply double click on it's icon in the directory
  443.    viewer, and it will install on the icon bar.
  444.    
  445.    @colour:11@The views
  446.    
  447.    Clicking on the !Ray3d-Pro icon on the icon bar will bring up three view
  448.    windows and the toolbox.
  449.    
  450.    The view windows show a wireframe view onto the scene you are designing
  451.    from three different positions. This gives you a plan, side and front
  452.    view of your scene.
  453.  
  454.    All of the objects in the current scene are listed in another window,
  455.    and any object may be selected by clicking on it's name. Clicking with
  456.    SELECT will select the object you clicked on and nothing else, while
  457.    clicking with ADJUST will select the object in addition to any others
  458.    already selected.
  459.  
  460.    Another window will have opened which contains a number of tool icons.
  461.    These may seem confusing at first, but you will soon learn what they
  462.    mean.
  463.  
  464.    The currently selected tool is shown with a shaded background.
  465.    It should be the select icon at the moment.                    @sprite:point@
  466.  
  467.    @colour:11@Creating a sphere
  468.    
  469.    Clicking anywhere within the view windows will position the cursor
  470.    which is used to determine where the centre of the sphere will be.
  471.    
  472.    By clicking in the windows, move the cursor to any position
  473.    you wish, and then click on the sphere icon in the toolbox.    @sprite:sphere@
  474.    
  475.    The sphere tool should now be shaded to indicate that it is the tool
  476.    currently being used, and clicking in the view windows will alter the
  477.    size of the sphere.
  478.    
  479.    When the size of the sphere is satisfactory, click on the ADJUST
  480.    button while the mouse pointer is over a !Ray3d-Pro window or click
  481.    on the set icon in the toolbox. The sphere will then become part of
  482.    the current scene, and it's name appear will be added to the list
  483.    of objects.
  484.    
  485.    If at any time you wish to abandon creating a sphere, click
  486.    on the select icon.                                            @sprite:point@
  487.    
  488.    @colour:11@Setting up a target and observer
  489.    
  490.    To set up the target (what the observer will look at),
  491.    click on the target icon in the toolbox . Now click anywhere   @sprite:target@
  492.    in the view windows and a red cross will appear to indicate
  493.    the position of the target. By clicking in the centre of the
  494.    sphere in two windows, position the target at the centre of
  495.    the sphere.
  496.    
  497.    To set the position of the observer (where to look from),
  498.    click on the observer icon in the toolbox. Now clicking        @sprite:eye@
  499.    anywhere in the view windows will set the observer's
  500.    position (a red circle).
  501.    
  502.    When both the target and observer are set correctly, choose the
  503.    select tool from the toolbox so that clicking will move the cursor.
  504.    
  505.    @colour:11@Colouring the spheres
  506.    
  507.    In the toolbox, there is an icon that resembles a paint        @sprite:paint@
  508.    pot. Click on this and a new window should appear.
  509.    (alternatively choose 'World ⇨ Link' from the menu.)
  510.    
  511.    Within this window is two lists - one shows all the surfaces defined,
  512.    while the other shows all the objects within a scene. Also, on the
  513.    right of the window can be seen the current object, it's associated
  514.    surfaces and texture information.
  515.    
  516.    Choose the sphere you have created (by clicking on it's name in the
  517.    list) and then choose a surface to apply to it (by clicking on a
  518.    surface in the list). The chosen surface should become highlighted.
  519.    
  520.    If you wish to change the surface of an object again - click on the
  521.    current surface to deselect it, and then click on the desired new
  522.    surface.
  523.    
  524.    When you have finished close the window.
  525.    
  526.    @colour:11@Saving the scene
  527.    
  528.    To save the current scene to disc, select the save option in the
  529.    normal way from the 'Project' sub-menu of the main menu.
  530.  
  531.    @colour:11@Raytracing
  532.  
  533.    Load the !Shade4 application, and drag the file that you have just
  534.    saved from the directory viewer onto the Shade4 icon on the icon bar.
  535.    You will be prompted to save a text file, which you can now raytrace
  536.    using the Public Domain raytracer !Rayshade. (you will probably have
  537.    been supplied with this).
  538.  
  539. @end@
  540. @page:custom  @Customizing Ray3d-Pro
  541.  
  542. @Colour:11@   Customizing !Ray3d-Pro
  543.  
  544.    There are two ways of customizing !Ray3d-Pro to suit your particular
  545.    needs and styles.
  546.  
  547.    Firstly, certain settings in !Ray3d-Pro may be saved so that they
  548.    become the default, by choosing @goto:opts:Options@ from the icon bar menu.
  549.  
  550.    Secondly, !Ray3d-Pro loads default 3d file when it is first run. This
  551.    file may contain anything that makes up a scene, including objects,
  552.    lights, surfaces, etc.
  553.  
  554. @colour:11@   Saving the default file
  555.  
  556.    To save the default file, create all the objects, lights etc. which
  557.    you require to be loaded when !Ray3d-Pro is first run. Now choose the
  558.    ‘save default’ option from the ‘project’ sub-menu on the main program
  559.    menu.
  560.  
  561.    Whenever !Ray3d-Pro is run, it will start up with the scene you just
  562.    saved already loaded.
  563.  
  564. @colour:11@   Loading in the default file
  565.  
  566.    The default file is loaded when !Ray3d-Pro is first run, but it is
  567.    possible to re-load it later. To do this select the ‘load default’
  568.    option from the ‘project’ sub-menu on the main program menu.
  569.  
  570. @end@
  571. @page:menus   @Help on menu entries
  572.  
  573.    The following pages follow the same layout as the menus. By moving
  574.    through these options as if they were a menu, you will get help on
  575.    each menu option.
  576.  
  577.      @goto:menu_ic: The Icon Bar Menu     @
  578.      @goto:menu_pr: The Main program Menu @
  579.      @goto:menu_te: The Textures Menu     @
  580.  
  581. @end@
  582. @page:menu_ic@The icon bar menu
  583.  
  584.      The Icon Bar Menu
  585.  
  586.      @goto:mi_info : Info       ⇨ @
  587.      @goto:opts: Options...   @
  588.      @goto:mi_quit : Quit         @
  589.  
  590. @end@
  591. @page:mi_info @Info
  592.  
  593. @colour:11@   Info
  594.  
  595.   This option leads to a sub-menu displaying information about
  596.   !Ray3d-Pro such as the version you have.
  597.  
  598. @end@
  599. @page:mi_quit @Quit
  600.  
  601. @colour:11@   Quit
  602.  
  603.    Selecting this menu option quits !Ray3d-Pro.
  604.  
  605.    If you have an unsaved scene, !Ray3d-Pro will prompt you to either
  606.    save or discard it.
  607.  
  608. @end@
  609. @page:menu_pr@The main program menu
  610.  
  611.      The Main Program Menu
  612.  
  613.      @goto:mi_proje: Project    ⇨ @
  614.      @goto:mi_selec: Select     ⇨ @
  615.      @goto:mi_world: World      ⇨ @
  616.      @goto:mi_grid : Grid       ⇨ @
  617.      @goto:mi_zoom : Zoom       ⇨ @
  618.      @goto:mi_tools: Tools...     @
  619.      @goto:mi_coord: Co-ords...   @
  620.  
  621. @end@
  622. @page:mi_proje@Project
  623.  
  624.      Project
  625.  
  626.      @goto:mi_about: About...     @
  627.      @goto:basics  : Save       ⇨ @
  628.      @goto:printing: Print      ⇨ @
  629.      @goto:clearing: Clear      ⇨ @
  630.      @goto:custom  : Default    ⇨ @
  631.  
  632. @end@
  633. @page:mi_about@About...
  634.  
  635. @colour:11@   About...
  636.  
  637.    Selecting this option will open up a window with information about
  638.    the current scene. The information shown includes:
  639.  
  640.      * How many objects have been created
  641.      * How many groups have been created
  642.      * How many surfaces have been defined
  643.      * How many lights are in the scene
  644.      * How many objects are currently selected
  645.      * The name of the group currently displayed in the object list.
  646.  
  647. @end@
  648. @page:mi_selec@Select
  649.  
  650.      Select
  651.                                                             
  652.      @goto:obj_list: All          @
  653.      @goto:obj_list: Clear        @
  654.      @goto:obj_list: Hide         @
  655.      @goto:obj_list: Show       ⇨ @
  656.      @goto:mi_grp  : Group      ⇨ @
  657.      @goto:delete  : Delete       @
  658.      @goto:rotate  : Rotate     ⇨ @
  659.      @goto:scaling : Scale      ⇨ @
  660.      @goto:mirror  : Mirror     ⇨ @
  661.      @goto:fractals: Fractal    ⇨ @
  662.  
  663. @end@
  664. @page:mi_grp  @Group
  665.  
  666.      Group
  667.  
  668.      @goto:obj_list: Group        @
  669.      @goto:obj_list: Ungroup      @
  670.  
  671. @end@
  672. @page:mi_world@World
  673.  
  674.      World
  675.  
  676.      @goto:backgrnd: Background.. @
  677.      @goto:linking : Link...      @
  678.      @goto:surfaces: Surfaces...  @
  679.      @goto:add_fog : Fog...       @
  680.      @goto:csg_desc: CSG...       @
  681.  
  682. @end@
  683. @page:mi_grid @grid
  684.  
  685. @colour:11@   The Grid
  686.  
  687.    The grid options are located on the ‘Grid’ sub-menu which is
  688.    accessible from the main program menu.
  689.  
  690.    !Ray3d-Pro can superimpose a rectangular grid on the scene. This is
  691.    often useful for lining up objects and for checking their size.
  692.    The grid is shown as horizontal and vertical lines which intersect
  693.    at ‘grid points’.
  694.  
  695.    You can use the grid either just as a general guide for creating
  696.    objects or you can lock points to it, so that they always align with
  697.    points in the grid. When you are creating objects with snap to grid
  698.    on, you will see them attach to the nearest grid point to the mouse
  699.    position.
  700.  
  701. @colour:11@   Show Grid                         @sprite:grid_on@
  702.  
  703.    Selecting this option toggles whether the grid should be displayed.
  704.  
  705. @colour:11@   Snap To grid                      @sprite:gridl_on@
  706.  
  707.    This switches snap to grid on or off. The grid does not need to be
  708.    visible for this option to function.   
  709.  
  710. @colour:11@   Variable grid
  711.  
  712.    This option is the same as auto-resize grid on the @goto:opts:Options@ window.
  713.    When on, this option ensures that the grid size remains constant
  714.    while you are zooming in and out of an image. If this option is off,
  715.    then zooming into an image will cause the grid size to increase,
  716.    and vice versa for zooming out.
  717.  
  718. @colour:11@   Grid Options
  719.  
  720.    This sub-menu leads to a window which allows you to set the colour
  721.    and spacing on the grid.
  722.  
  723.    To change the grid colour, simply select a new colour from this
  724.    window.
  725.  
  726.    To change the grid size, alter the number in the writable icon.
  727.  
  728.    Clicking on OK sets the new colour and grid size.
  729.  
  730. @end@
  731. @page:mi_zoom @Zoom
  732.  
  733. @colour:11@   Zoom
  734.  
  735.    This option leads to a sub-menu where you may select a zoom factor
  736.    ranging from 100% to 800%. The current zoom factor is indicated
  737.    by a tick.
  738.  
  739.    After zooming, the scene is always positioned so that the cursor
  740.    appears in the centre of the window.
  741.  
  742. @end@
  743. @page:mi_tools@Tools...
  744.  
  745. @colour:11@   Tools...
  746.  
  747.    Selecting this option brings up the Toolbox window.
  748.  
  749. @end@
  750. @page:mi_coord@Co-ords...
  751.  
  752. @colour:11@   Co-ords...
  753.  
  754.    Selecting this option opens the Coordinates window which shows
  755.    the coordinates of the mouse pointer as it is moved over the
  756.    view windows. The co-ordinates are in internal world units and
  757.    can be used to correspond to cms, inches, metres or whatever
  758.    is necessary.
  759.  
  760. @end@
  761. @page:menu_te@The textures menu
  762. @end@
  763. @page:opts@Options...
  764.  
  765. @colour:11@   Options
  766.  
  767.    When "Options..." is selected from the icon bar menu, a window is
  768.    opened which allows you to customise many of Ray3d-Pro's features.
  769.  
  770.    There are three buttons at the foot of the window:
  771.  
  772.      Save   - will save your settings to disk
  773.      Cancel - will close the window without making any changes
  774.      OK     - will close the window, and make the changes you
  775.               have made.
  776.  
  777.    When you click on Save, Ray3d-Pro also saves the position of the
  778.    view windows, toolbox, object list and coordinates window so that
  779.    they appear in the same locations when you restart the program.
  780.    Also included is the grid size, and colour.
  781.  
  782. @colour:11@   Toolbox Size:
  783.  
  784.    By using this option, you may choose the shape of the toolbox
  785.    window.
  786.  
  787. @colour:11@   Toolbox icons
  788.  
  789.    It is possible to remove icons from the toolbox by clicking on them
  790.    in this section of the Options window. Tools which will not appear
  791.    on the toolbox are shown in grey, while those that will appear are
  792.    in colour. To add icons back onto the toolbox, simply click on them
  793.    again.
  794.  
  795.    You can use this option to reduce the size of the toolbox window, or
  796.    remove icons that you never use.
  797.  
  798. @colour:11@   Colours
  799.  
  800.    You might not like the colour system I have designed, and so you can
  801.    change it. To change a colour click on the colour bar with the mouse
  802.    pointer. Clicking withe SELECT or ADJUST cycles through the available
  803.    colours.
  804.  
  805. @colour:11@   View Type
  806.  
  807.    Some people prefer the tri-view method of display (like me), but
  808.    other people like to work with only one window on the screen in
  809.    a similar manner to Euclid.
  810.  
  811.    Selecting single view will replace the tri-view system with a single
  812.    view onto the Ray3d-Pro world. Along the bottom of this single
  813.    view is three icons. Clicking on them changes the view between front
  814.    side and plan views.
  815.  
  816. @colour:11@   Auto-save
  817.  
  818.    This option causes Ray3d-Pro to automatically save your work after
  819.    a specified amount of time ranging from 1 to 99 minutes. When the
  820.    time comes for an auto-save you will be prompted on the screen to
  821.    confirm that you want to save the file.
  822.  
  823. @colour:11@   Preview
  824.  
  825.    The three dimensional wireframe preview has a couple of options
  826.    associated with it to provide more control over a scene.
  827.  
  828.    The first is draw the outline of each object in the nearest colour
  829.    available in the current mode to the colour the object will appear
  830.    when raytraced. When this option is off, all objects are shown in
  831.    white.
  832.  
  833.    The second option is to preview only the objects that are selected.
  834.    This is useful to check that a single part of the scene is turning
  835.    out as you expected, and it also speeds up the preview.
  836.  
  837. @colour:11@   Auto open Co-ords
  838.  
  839.    If this option is selected, Ray3d-Pro will open the coordinates
  840.    window when Ray3d-Pro is loaded, or the icon on the icon bar is
  841.    clicked on, or a new file is loaded.
  842.  
  843. @colour:11@   Auto-resize Grid
  844.  
  845.    When selected, this option ensures that the grid size remains constant
  846.    while you are zooming in and out of an image. If this option is off,
  847.    then zooming into an image will cause the grid size to increase,
  848.    and vice versa for zooming out.
  849.  
  850. @colour:11@   Copy: offset objects
  851.  
  852.    If this option is off when an object is copied, then the new object
  853.    will be created in exactly the same position of the old object.
  854.  
  855.    If this option is on, then the copied object will appear one grid
  856.    square away from the original object.
  857.  
  858. @colour:11@   Interactive help
  859.  
  860.    Please note that interactive help does not mean that this program
  861.    supports the Acorn !Help application, but rather the application
  862.    you are using right now to read this.
  863.  
  864.    Ray3d-Pro supports context sensitive help when this help reader
  865.    application is loaded. To receive help on a specific option or
  866.    tool in !Ray3d-Pro, hold down CONTROL and click on the option with
  867.    the mouse. If there is no help available you will hear a beep.
  868.  
  869.    Thus if you clicked on the move icon with CONTROL held down, then
  870.    the help section on moving objects would be displayed.
  871.  
  872. @colour:11@   Synchronised windows
  873.  
  874.    While this option is on, moving the scroll bar in one of the view
  875.    windows causes the other view windows to move thus providing a
  876.    view onto the same part of the scene. When this option is off, you
  877.    may move each window's scrollbars indepandantly.
  878.  
  879. @colour:11@   Auto-scroll windows
  880.  
  881.    When this option is on, pressing a mouse button near the edge of
  882.    a view window will cause it to scroll in that direction in relation
  883.    to how near the edge you are. This is not recommended for slow
  884.    machines (such as my humble A3000).
  885.  
  886. @colour:11@   Select distance.
  887.  
  888.    It is possible to select objects in the world without clicking on
  889.    their names in the object list, but by clicking on them in the
  890.    view window while holding down SHIFT.
  891.  
  892.    When you do this, all objects within the "select distance" of your
  893.    click and the cursor will be selected.
  894.  
  895. @end@
  896. @page:creating@Creating Objects
  897.  
  898. @colour:11@   Creating Objects
  899.  
  900.    !Ray3d-Pro allows you to create many different types of objects,
  901.    which can then have surfaces and textures applied to them to
  902.    create a realistic scene.
  903.  
  904.  
  905.       @goto:c_sp:  Spheres        @   @goto:c_re:  Rectangles     @
  906.       @goto:c_co:  Cones          @   @goto:c_pl:  Planes         @
  907.       @goto:c_cy:  Cylinders      @   @goto:c_tr:  Triangles      @
  908.       @goto:c_bo:  Boxes          @   @goto:c_di:  Discs          @
  909.       @goto:c_ro:  Rounded boxes  @   @goto:c_po:  Polygons       @
  910.       @goto:c_py:  Pyramid        @   @goto:c_li:  Lights         @
  911.  
  912.  
  913.    To create a shape, you must first enter the name you wish to give
  914.    your shape into the icon at the foot of the toolbox. If you do not
  915.    do this, !Ray3d-Pro will choose an appropriate  name for you.
  916.  
  917.    Clicking on the select icon at any time while
  918.    creating a shape will cancel the operation.       @sprite:point@
  919.  
  920. @end@
  921. @page:c_sp@Spheres
  922.  
  923. @colour:11@   Creating Spheres                  @sprite:sphere@
  924.  
  925.    Firstly, position the cursor (the blue cross) where the centre
  926.    of the sphere should be located, and click on the sphere icon in
  927.    the toolbox.
  928.  
  929.    Clicking in the view windows now will allow you to select the
  930.    radius for your sphere, and when this is satisfactory, click on
  931.    the ADJUST mouse button or click on the set icon in the toolbox.
  932.  
  933. @end@
  934. @page:c_co@Cones
  935.  
  936. @colour:11@   Cones                             @sprite:cone@
  937.  
  938.    Position the cursor at the centre of one end of the cone, and
  939.    then click on the ‘cone’ icon.
  940.  
  941.    Now using the view windows, click where the centre of the far
  942.    end of the cone should be. Use the ADJUST button to set this
  943.    point or click on the set icon in the toolbox.
  944.  
  945.    Clicking in the view windows will now indicate how wide the
  946.    first end of the cone should be, and when this is correct click
  947.    on ADJUST or click on the set icon in the toolbox.
  948.  
  949.    Do the same thing to set the size of the other end of the cone,
  950.    clicking on ADJUST or the set icon when this is done.
  951.  
  952. @end@
  953. @page:c_cy@Cylinders
  954.  
  955. @colour:11@   Cylinders                         @sprite:cylinder@
  956.  
  957.    Position the cursor at the centre of one end of the cylinder,
  958.    and then click on the ‘cylinder’ icon.
  959.  
  960.    Now using the view windows, click where the centre of the far
  961.    end of the cylinder should be. Use the ADJUST button to set this
  962.    point or click on the set icon in the toolbox.
  963.  
  964.    Clicking in the view windows will now indicate how wide the
  965.    cylinder should be, and when this is correct click on ADJUST
  966.    or click on the set icon in the toolbox.
  967.  
  968. @end@
  969. @page:c_bo@Boxes
  970.  
  971. @colour:11@   Boxes                             @sprite:box@
  972.  
  973.    Position the cursor at the centre of where the box should be
  974.    located, and then click on the ‘Box’ icon.
  975.  
  976.    Clicking in the view windows will now set the size of the box,
  977.    and when this is correct click on the ADJUST button or click on
  978.    the set icon in the toolbox
  979.  
  980.    NOTE: To make boxes which are tilted, or stand on one end, etc.
  981.          You should create a box, and then rotate it.
  982.  
  983. @end@
  984. @page:c_ro@Rounded boxes
  985.  
  986. @colour:11@   Rounded boxes                     @sprite:rbox@
  987.  
  988.    !Ray3d-Pro allows you to define boxes which have slightly rounded
  989.    edges, so that it is possible to do such things as cushions.
  990.  
  991.    To create a rounded box, perform the same operation as for @goto:c_bo:Boxes@,
  992.    but click on the ‘Rounded box’ icon instead.
  993.  
  994.    NOTE: Rounded boxes appear on the view windows as normal boxes,
  995.          the only difference appears when the scene is raytraced.
  996.  
  997. @end@
  998. @page:c_py@Pyramids
  999.  
  1000. @colour:11@   Pyramids                          @sprite:pyramid@
  1001.  
  1002.    To create a pyramid, first position the cursor where a corner of
  1003.    the base is to be located, and then click on the ‘Pyramid’ icon.
  1004.  
  1005.    Now, clicking in the view windows will allow you to set the opposite
  1006.    corner of the pyramid base. Click on ADJUST when this is correctly
  1007.    positioned or click on the set icon in the toolbox.
  1008.  
  1009.    Clicking in the view windows again will set the point of the
  1010.    pyramid. Click on ADJUST when this is done or click on the set icon
  1011.    in the toolbox.
  1012.  
  1013. @end@
  1014. @page:c_re@Rectangles
  1015.  
  1016. @colour:11@   Rectangles                        @sprite:rect@
  1017.  
  1018.    Position the cursor at one corner of the rectangle, and then click
  1019.    on the ‘Rectangle’ icon.
  1020.  
  1021.    Clicking anywhere in the view windows will position the opposite
  1022.    corner of the rectangle, and when this is done click on ADJUST
  1023.    or click on the set icon in the toolbox.
  1024.  
  1025.    As rectangles are 2 dimensional objects, they may only be defined
  1026.    in one of the view windows at a time.
  1027.  
  1028. @end@
  1029. @page:c_pl@Planes
  1030.  
  1031. @colour:11@   Planes                            @sprite:plane@
  1032.  
  1033.    Planes are a special sort of rectangle which is infinitely large.
  1034.    That is, that it will go on forever. This is useful for creating
  1035.    such things as walls, floors and ceilings.
  1036.  
  1037.    To create a plane, do it in the same manner as for @goto:c_re:Rectangles@,
  1038.    only click on the ‘Plane’ icon instead. Planes can be easily
  1039.    distinguished on the view windows as they are drawn with a dotted
  1040.    line.
  1041.  
  1042. @end@
  1043. @page:c_tr@Triangles
  1044.  
  1045. @colour:11@   Triangles                         @sprite:triangle@
  1046.  
  1047.    To create a triangle, position the cursor at one point on the
  1048.    triangle, and then click on the ‘Triangle’ icon.
  1049.  
  1050.    Clicking in the view windows will position the second point in
  1051.    the triangle, and pressing the ADJUST button will set this point.
  1052.  
  1053.    Clicking again in the view window will position the third point
  1054.    in the triangle. Click on ADJUST when this is correct.
  1055.  
  1056. @end@
  1057. @page:c_di@Discs
  1058.  
  1059. @colour:11@   Discs                             @sprite:disc@
  1060.  
  1061.    Discs are 2 dimensional objects, and as such can only be defined
  1062.    in one view window at a time.
  1063.  
  1064.    Firstly, position the cursor where the centre of the disc is to be,
  1065.    and click on the ‘Disc’ icon.
  1066.  
  1067.    Clicking in a view window will now select the radius of the disc,
  1068.    and clicking on ADJUST will create the object.
  1069.  
  1070. @end@
  1071. @page:c_po@Polygons
  1072.  
  1073. @colour:11@   Polygons                          @sprite:poly@
  1074.  
  1075.    A polygon is a 2 dimensional shape that may have any number of
  1076.    sides.
  1077.  
  1078.    To create a polygon follow these steps:
  1079.  
  1080.       1:  Position the cursor at one point of the shape.
  1081.       2:  Click on the ‘polygon’ icon
  1082.  
  1083.       3:  Click in the view windows to position the next point
  1084.       4:  Click on the ADJUST button to set this point when it
  1085.           is correctly positioned or click on the set icon.
  1086.       5:  Repeat steps (3) and (4) until all the points on the
  1087.           polygon have been defined.
  1088.  
  1089.       6:  Click ADJUST twice to create the object.
  1090.  
  1091. @end@
  1092. @page:c_li@Creating lights
  1093.  
  1094. @Colour:11@   Creating Lights.                  @sprite:light@
  1095.  
  1096.    First, position the cursor at the point where the light source is to
  1097.    be, and click on the ‘light’ icon. When you do, a short menu will
  1098.    appear with the @goto:li_type:light types@ listed on it. Select the type of light
  1099.    you want to create.
  1100.  
  1101.    Clicking anywhere in the view windows will allow you to set the size
  1102.    of the light. The larger the light is, the more light is cast upon
  1103.    the scene.When the light is of the required size, click the ADJUST
  1104.    button to create it or click on the set icon in the toolbox.
  1105.  
  1106.    Beware: Lights that are too large will make everything in the scene
  1107.            appear white and over-exposed.
  1108.  
  1109.    To change the colour of a light, simply link a surface to the light
  1110.    and the light will cast the same colour light as the surface colour.
  1111.  
  1112. @end@
  1113. @page:li_type@Light types
  1114.  
  1115. @colour:11@   Light types
  1116.  
  1117.    Currently there are two types of light sources, although more
  1118.    will be added in the future..
  1119.  
  1120. @colour:11@   Point light sources
  1121.  
  1122.    Point light sources are the default light type used by !Ray3d-Pro.
  1123.    They cast very sharp shadows, which can give the scene a distinctly
  1124.    computer drawn look. The advantage of them is that they are the
  1125.    quickest form of lights to raytrace.
  1126.  
  1127. @colour:11@   Extended light sources.
  1128.  
  1129.    Extended light sources cast a ‘soft’ shadow on the world. This
  1130.    means that shadows fade from dark to light, giving a more realistic
  1131.    effect.
  1132.  
  1133.    NOTE: Using extended light sources will dramatically increase the
  1134.          time taken to raytrace the scene.
  1135.  
  1136. @end@
  1137. @page:linking @Linking
  1138.  
  1139. @colour:11@   Linking objects, surfaces and textures.     @sprite:paint@
  1140.  
  1141.    Up to now, we have created the objects which are to be included in
  1142.    the scene, and we have created some surfaces, which define the
  1143.    colours and materials such as glass, metal, etc.
  1144.  
  1145.    What we haven’t done however, is to tell !Ray3d-Pro which objects
  1146.    should be made up from which surfaces, and everything in the scene
  1147.    starts off with a default colour of white.
  1148.  
  1149.    To associate surfaces and textures with the objects in the scene,
  1150.    select the ‘Link’ option from the ‘World’ sub-menu which can be
  1151.    found on the main program menu, or alternatively click on the
  1152.    paint pot icon in the toolbox.
  1153.  
  1154. @colour:11@   The link window
  1155.  
  1156.    On the left hand side of the link window are two lists, of which
  1157.    the top one displays the objects in the scene, and the bottom one
  1158.    displays the surfaces available.
  1159.  
  1160.    On the left hand side of the window are icons which allow you to
  1161.    specify which @goto:textures:texture@ will be applied to an object.
  1162.  
  1163.    Clicking on an object in the top list will choose it for linking
  1164.    with a surface and @goto:textures:texture@. Whole groups can be selected by
  1165.    clicking on their names next to them, but you may enter a group
  1166.    by clicking on the arrow next to it's name if you want to individually
  1167.    link surfaces to each part of the group.
  1168.  
  1169.    On the top of the right hand side, there are four icons:
  1170.  
  1171.            Object:  Shows the currently selected object
  1172.         Surface 1:  Shows the main surface associated with the
  1173.                     selected object.
  1174.         Surface 2:  Shows the secondary surface associated with
  1175.                     the selected object.
  1176.           Texture:  Shows the texture that will be applied to the
  1177.                     object.
  1178.  
  1179.    To set the surfaces click on the desired surface names. The first
  1180.    name clicked on will become the main surface, and the second surface
  1181.    will become the secondary surface. Clicking again on a surface de-
  1182.    selects it.
  1183.  
  1184.    The secondary surface associated with an object will specify what
  1185.    other colours and attributes are used for textures that require
  1186.    two surfaces.
  1187.  
  1188.    The texture for an object can be changed by clicking on the menu
  1189.    icon next to the texture name. This will bring up a small menu with
  1190.    the available texture types on it. See the relevant section for more
  1191.    about textures.
  1192.  
  1193. @end@
  1194. @page:surfaces@The Surface editor
  1195.  
  1196. @colour:11@   The surface editor.               @sprite:surface@
  1197.  
  1198.    The editor is brought up by clicking on the ‘surfaces’ icon in the
  1199.    toolbox, or by choosing the ‘Surfaces’ option from the ‘World’
  1200.    sub-menu on the main program menu.
  1201.  
  1202.    Under the list of defined surfaces is a writable icon which contains
  1203.    the name of the surface being edited / defined which will need to
  1204.    be altered if you are defining a new surface.
  1205.  
  1206. @colour:11@   Editing a surface
  1207.  
  1208.    First choose the surface for editing, or create a new one, and
  1209.    then to alter the colour of the object use the red, green and blue
  1210.    slider bars. The nearest colour available in the mode you are in
  1211.    will be used to show the surface colour.
  1212.  
  1213.    The other characteristics which may be altered by clicking on the
  1214.    appropriate up / down arrows are:
  1215.  
  1216.         @goto:sur_re:Reflectivity    @
  1217.         @goto:sur_tp:Transparency    @
  1218.         @goto:sur_tl:Translucency    @
  1219.         @goto:sur_sl:Speed of light  @
  1220.         @goto:sur_sp:Specularity     @
  1221.  
  1222.    If the "no shadow" option is on, then when the scene is raytraced
  1223.    no shadows will be cast onto any objects with this surface.
  1224.  
  1225. @colour:11@   Editing a different surface
  1226.  
  1227.    To edit a different surface, click on it's name in the surface list
  1228.    at the top of the window.
  1229.  
  1230.    Note: Any changes made to the current surface will not be saved unless
  1231.          you click on "Set" first.
  1232.  
  1233. @colour:11@   Creating a new surface
  1234.  
  1235.    To create a new surface, choose the surface it will be most like
  1236.    and alter the surface name and any other characteristics required.
  1237.  
  1238.    Now click on the ‘Define’ icon
  1239.  
  1240. @colour:11@   Deleting a surface
  1241.  
  1242.    Choose the surface to be deleted and click on the ‘delete’ icon.
  1243.  
  1244. @end@
  1245. @page:sur_re@Reflectivity
  1246.  
  1247. @colour:11@   Reflectivity
  1248.  
  1249.    This option determines how reflective a surface is.
  1250.  
  1251.        100% = a perfect mirror which reflects everything.
  1252.         50% = some reflections can be seen in the object
  1253.               eg: a snooker ball
  1254.          0% = a matt surface, which reflects nothing.
  1255.  
  1256.    NOTE: It is possible to create coloured mirrors, by altering the
  1257.          colour of the surface. To create a perfect mirror, each
  1258.          red, green and blue component of the surface should be set
  1259.          to an equal amount such as 2% 
  1260.  
  1261. @end@
  1262. @page:sur_tp@Transparency
  1263.  
  1264. @colour:11@   Transparency
  1265.  
  1266.    This option determines how Transparent a surface is.
  1267.  
  1268.        100% = Light will pass completely through the object
  1269.         50% = The object appears coloured, and other objects can
  1270.               be seen dimly through it.
  1271.          0% = Nothing can be seen through the object
  1272.  
  1273.    NOTE: It is possible to make coloured transparent objects by
  1274.    altering the colour of the surface.
  1275.  
  1276. @end@
  1277. @page:sur_tl@Translucency
  1278.  
  1279. @colour:11@   Translucency
  1280.  
  1281.    Translucency is similar to transparency but has a slightly different
  1282.    effect. It describes how ‘murky’ or ‘cloudy’ an object appears
  1283.  
  1284.        100% = Very cloudy
  1285.         50% = The object appears slightly cloudy.
  1286.               Eg: If the object was also a transparent sphere, it
  1287.                   would resemble a crystal ball.
  1288.          0% = No effect at all
  1289.  
  1290.    NOTE: It is possible to make coloured transparent objects by
  1291.    altering the colour of the surface.
  1292.  
  1293. @end@
  1294. @page:sur_sl@Speed of Light
  1295.  
  1296. @colour:11@   Speed of light.
  1297.  
  1298.    When light passes through a transparent object, it can be ‘bent’,
  1299.    which is due to the speed of light altering slightly.
  1300.  
  1301.    For example: If you stick your finger into some water, it appears
  1302.                 to bend where your finger enters the water.
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.               @sprite:refract@
  1312.  
  1313.    !Ray3d-Pro allows you to alter the amount by which the light bends,
  1314.    so that you may create surfaces such as water, glass, crystal, etc.
  1315.  
  1316.        100% = the light does not bend at all.
  1317.         58% = the light bends as much as it does for GLASS.
  1318.         50% = the light bends as much as it does for WATER.
  1319.         40%   the light bends as much as it does for DIAMOND.
  1320.  
  1321. @end@
  1322. @page:sur_sp@Specularity
  1323.  
  1324. @colour:11@   Specularity
  1325.  
  1326.    This value controls how large the highlights on an object will
  1327.    appear when a light shines on them.
  1328.  
  1329.      Eg: The spot of light on a sphere.
  1330.  
  1331.    Larger values of specularity result in smaller highlights, but you
  1332.    should find the pre-set value of 25% suitable for most things.
  1333.  
  1334. @end@
  1335. @page:viewing @Setting the observer and target point
  1336.  
  1337. @colour:11@   Setting the observer and target point
  1338.  
  1339.    In order for a scene to be raytraced, you must have first positioned
  1340.    the observer, and the point at which the observer is looking at.
  1341.  
  1342.    The toolbox provides two icons which allow you to set these
  1343.    points:
  1344.  
  1345. @colour:11@   The observer                      @sprite:eye@
  1346.  
  1347.    When this icon is selected, clicking anywhere in the view windows
  1348.    will set the position of the observer which is indicated by a
  1349.    small red circle.
  1350.  
  1351. @colour:11@   The target point                  @sprite:target@
  1352.  
  1353.    When this icon is selected, clicking anywhere in the view windows
  1354.    will set the position of the point that the observer is looking at,
  1355.    which is indicated by a small red cross.
  1356.  
  1357. @colour:11@   Using the 3d view                 @sprite:3d@
  1358.  
  1359.    When you bring up the 3d view of the scene using the 3d icon in the
  1360.    toolbox, there is a pane attatched to the window which allows you
  1361.    to alter the observer's location interactively. Clicking on the zoom
  1362.    icons, or the arrows in the pane will move the observer point.
  1363.  
  1364.    Clicking with ADJUST moves the observer point in larger increments.
  1365.  
  1366. @end@
  1367. @page:special @Special functions
  1368.  
  1369.  
  1370.                            
  1371.  
  1372.                            
  1373.     @Sprite:Wyvern@                
  1374.       _______________________________________________________
  1375.  
  1376.           @goto:select_c: Selecting objects using a view window  @
  1377.           @goto:add_fog : Adding fog to a scene                  @
  1378.           @goto:backgrnd: Background colour                      @
  1379.           @goto:fractals: Creating fractal shapes                @
  1380.           @goto:to_poly : Converting curved shapes into polygons @
  1381.           @goto:printing: Printing                               @
  1382.           @goto:importer: Importing Text                         @
  1383.           @goto:importer: Importing other file formats           @
  1384.  
  1385. @end@
  1386. @page:printing@Printing
  1387.  
  1388. @Colour:11@   Printing                         
  1389.  
  1390.    The Print option can be found on the ‘Project’ sub-menu, on the
  1391.    main program menu.
  1392.  
  1393.    Moving over the ‘print’ option opens a window which shows you the
  1394.    current printer driver, and which view will be printed..
  1395.  
  1396.    Choose which view you wish to print by clicking on the radio icons,
  1397.    and then click on OK to start printing.
  1398.  
  1399.    NOTE: To print, you must have a RISC OS printer driver loaded.
  1400.  
  1401. @end@
  1402. @page:backgrnd@Background colour
  1403.  
  1404. @colour:11@   The Background.
  1405.  
  1406.    The basis of raytracing is that every ray of light that the observer
  1407.    can see is traced back through the scene, hitting, passing through
  1408.    or reflecting off each object.
  1409.  
  1410.    If the ray of light does not hit any objects then it is given the
  1411.    background colour.
  1412.  
  1413.      eg: A scene consisting of only a sphere will have many rays that
  1414.          do not hit the sphere, and so are coloured black (the default
  1415.          background colour).
  1416.  
  1417.    !Ray3d-Pro allows you to alter the background colour to any other
  1418.    colour that you wish.
  1419.  
  1420.    To do this choose the ‘Background’ option from the ‘World’ sub-menu
  1421.    on the main program menu. This will open a window with three slider
  1422.    bars which can be dragged to set the required colour.
  1423.  
  1424. @colour:11@   Advanced users
  1425.  
  1426.    When using this option you may notice that the background colour is
  1427.    constant throughout the scene, which is not always desirable.
  1428.  
  1429.    To make the sky fade from light to dark blue in the distance, the
  1430.    background colour should be left as black, and a @goto:c_pl:plane@ created where
  1431.    the sky / ceiling should be, which you give a blue colour.
  1432.  
  1433. @end@
  1434. @page:editing @Editing functions
  1435.  
  1436.  
  1437.                            
  1438.  
  1439.                            
  1440.     @Sprite:Wyvern@                
  1441.       _______________________________________________________
  1442.  
  1443.           @goto:rotate  : Rotate                                 @
  1444.           @goto:scaling : Scale                                  @
  1445.           @goto:move_obj: Move                                   @
  1446.           @goto:mirror  : Mirror                                 @
  1447.           @goto:mi_grid : Grids - using and altering             @
  1448.  
  1449.  
  1450. @end@
  1451. @page:scaling @Scale
  1452.  
  1453. @colour:11@   Scaling objects.                  @sprite:scale@
  1454.  
  1455.    To scale the selected objects, bring up the scaling window by
  1456.    clicking on the scale icon, or by selecting it from the "Select"
  1457.    menu.
  1458.  
  1459.    In the window, you will see three writeable icons, one for each
  1460.    of the directions you can scale an object in. So that you can
  1461.    remember which direction X, Y or Z is, you will find that in the
  1462.    title bar of each view window it tells you.
  1463.  
  1464.    To scale an object simply type in the values and click on OK.
  1465.  
  1466.    NOTE: objects will be scaled from the cursor, as in the diagram
  1467.    below.
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.                  @sprite:enlarge@
  1478.  
  1479.    @colour:11@Scaling objects by different amounts in each direction
  1480.  
  1481.    Some objects (sphere, cone and cylinder) cannot be scaled by
  1482.    different amounts in each direction without them being split up
  1483.    into polygons. The side effect of this is that the object will
  1484.    loose it's curved surface, and will appear made up of small
  1485.    sections.
  1486.  
  1487.    This can be limited by increasing the Resolution value (the higher
  1488.    it is, the smoother the shape), but this also increases the number
  1489.    of objects in the scene.
  1490.  
  1491.    It is possible to stop curved shapes from getting changed into
  1492.    polygons by turning off the "Convert to polygons" option. If you
  1493.    do this, then the objects are scaled by the same amount in all
  1494.    directions.
  1495.  
  1496. @end@
  1497. @page:move_obj@Moving Objects
  1498.  
  1499. @colour:11@   Moving Objects                    @sprite:move@
  1500.  
  1501.    To move the currently selected objects, first move the cursor onto
  1502.    the point you wish to move from.
  1503.  
  1504.    Now click on the move icon, and click in the view windows to
  1505.    indicate where you wish to move the point to. While you are doing
  1506.    this you will see a line being drawn from the first point to this
  1507.    new point.
  1508.  
  1509.    When you have chosen where to move the point to, press ADJUST or
  1510.    click on the set icon in the toolbox to move the objects.
  1511.  
  1512.    NOTE: clicking on the select icon at any time, will cancel the move
  1513.          operation.
  1514.  
  1515. @end@
  1516. @page:rotate  @Rotate
  1517.  
  1518. @colour:11@   Rotate                            @sprite:rotate@
  1519.  
  1520.    There are two methods of rotating the selected objects. The first
  1521.    is to use the rotate icon on the toolbox, while the second in to
  1522.    use the menu option ‘Rotate’ on the ‘select’ sub-menu which can
  1523.    be found on the main program menu.
  1524.  
  1525. @colour:11@   The rotate icon
  1526.  
  1527.    To use the rotate icon, select the objects that you wish to rotate,
  1528.    and then place the cursor (the blue cross) at the point you wish to
  1529.    rotate around.
  1530.  
  1531.    Now follow these steps.
  1532.  
  1533.      1 - Click on the rotate icon
  1534.      2 - Click on one of the points in the objects you wish to rotate
  1535.          Press the ADJUST button to set this point
  1536.      3 - Click where you want the point in (2) to end up.
  1537.          Press ADJUST to set it.
  1538.  
  1539.    While you are setting the points in (2) and (3), you will see a
  1540.    line being drawn from the centre of rotation to the point.
  1541.  
  1542. @colour:11@   Using the menu to rotate
  1543.  
  1544.    Using the menu is more tricky, but allows you to accurately set the
  1545.    amount of rotation.
  1546.  
  1547.    Before using the menu, you must select the objects you wish to rotate
  1548.    and place the cursor at the point you want to rotate around.
  1549.  
  1550.    Moving over the ‘Rotate’ option will open a window where three angles
  1551.    may be entered for rotation in any of the view windows. These angles
  1552.    can be entered by typing them into the icons, or altered by clicking
  1553.    on the arrows.
  1554.  
  1555. @end@
  1556. @page:delete  @Deleting objects and groups
  1557.  
  1558. @colour:11@   Deleting Objects and groups       @sprite:delete@
  1559.  
  1560.    To delete the selected objects and groups, click on the delete icon
  1561.    or choose the ‘delete’ option from the ‘select’ sub-menu on the main
  1562.    program menu.
  1563.  
  1564.    As it is very easy to click on the icon by accident, the mouse pointer
  1565.    will change shape. Clicking on the left mouse button or pressing ‘Y’ on
  1566.    the keyboard will perform the delete operation, while anything else will
  1567.    abort the operation.
  1568.  
  1569.    If you wish to delete all of the objects within a scene then use the
  1570.    @goto:clearing:clear@ option
  1571.  
  1572. @end@
  1573. @page:clearing@Clearing a scene of objects or surfaces
  1574.  
  1575. @colour:11@   Clearing a scene of objects or surfaces
  1576.  
  1577.    The clear option is located on the "Project" sub-menu from the main
  1578.    program menu. It provides a sub-menu which has three options on it
  1579.    which operate in the following manner:
  1580.  
  1581.      Surfaces - Clears all the defined surfaces
  1582.      Objects  - Deletes all the objects and groups in a scene
  1583.      All      - Does both of the above
  1584.  
  1585.    NB: There is no "are you sure?" message to these options, so be
  1586.        careful.
  1587.  
  1588. @end@
  1589. @page:fractals@Fractalise
  1590.  
  1591. @colour:11@   Fractals
  1592.  
  1593.    Sometimes, it is desirable to create objects which are not uniform,
  1594.    like when we are trying to imitate nature. (mountains, rocks, etc.)
  1595.  
  1596.    !Ray3d-Pro allows you to take a triangle, and randomly break it up
  1597.    into  number of smaller triangles each of which ‘sticks out’ from the
  1598.    original. (this option only works on Triangles.)
  1599.  
  1600.    To fractalise a triangle, select it in the normal manner, and then
  1601.    move over the ‘Fractal’ option from the ‘Select’ sub-menu on the main
  1602.    program menu.
  1603.  
  1604.    On the window that appears, you may set the number of triangles that
  1605.    !Ray3d-Pro will split each selected triangle into, and the roughness
  1606.    of he resulting shape. The roughness value may range from 0 to 9.
  1607.  
  1608. @end@
  1609. @page:mirror  @Mirror
  1610.  
  1611. @colour:11@   Mirror
  1612.  
  1613.    To mirror the selected objects about an axis, first select the objects
  1614.    that you wish to mirror. Next move the mouse over the mirror option
  1615.    on the "select" sub-menu from the main program menu.
  1616.  
  1617.    This brings up a window listing all the possible ways that objects can
  1618.    be mirrored. Simply select the direction to mirror, and click on the
  1619.    OK icon.
  1620.  
  1621. @end@
  1622. @page:toolbox @The Toolbox
  1623.  
  1624. @colour:11@   The Toolbox
  1625.  
  1626.  
  1627.    @sprite:sphere@     @goto:c_sp: Create sphere      @      @sprite:box@     @goto:c_bo: Create box         @
  1628.  
  1629.    @sprite:pyramid@     @goto:c_py: Create pyramid     @      @sprite:poly@     @goto:c_po: Create polygon     @
  1630.  
  1631.    @sprite:cylinder@     @goto:c_cy: Create cylinder    @      @sprite:rbox@     @goto:c_ro: Create rounded box @
  1632.  
  1633.    @sprite:rect@     @goto:c_re: Create rectangle   @      @sprite:disc@     @goto:c_di: Create disc        @
  1634.  
  1635.    @sprite:cone@     @goto:c_co: Create cone        @      @sprite:triangle@     @goto:c_tr: Create triangle    @
  1636.  
  1637.    @sprite:plane@     @goto:c_pl: Create plane       @      @sprite:light@     @goto:c_li: Create light       @
  1638.  
  1639.    @sprite:eye@     @goto:viewing : Position observer  @      @sprite:target@     @goto:viewing : Position target    @
  1640.  
  1641.    @sprite:zoomin@     @goto:basics  : Zoom in            @      @sprite:zoomout@     @goto:basics  : Zoom out           @
  1642.  
  1643.    @sprite:rotate@     @goto:rotate  : Rotate objects     @      @sprite:move@     @goto:move_obj: Move objects       @
  1644.  
  1645.    @sprite:scale@     @goto:scaling : Scale objects      @      @sprite:point@     @goto:basics  : Select             @
  1646.  
  1647.    @sprite:paint@     @goto:linking : Link surfaces      @      @sprite:surface@     @goto:surfaces: Surface editor     @
  1648.  
  1649.    @sprite:csg@     @goto:csg_info: Form a CSG shape   @      @sprite:3d@     @goto:preview : 3d Preview         @
  1650.  
  1651.    @sprite:save@     @goto:basics  : Save scene         @      @sprite:grid_on@     @goto:mi_grid : Toggle grid on/off @
  1652.  
  1653.    @sprite:gridl_on@     @goto:mi_grid : Toggle grid lock   @      @sprite:hide/show@     @goto:obj_list: Hide/show objects  @
  1654.  
  1655.    @sprite:set@     @goto:set_pt: Set point          @
  1656.  
  1657. @end@
  1658. @page:preview @Preview scene                          
  1659.  
  1660. @colour:11@   3d Preview                        @sprite:3d@
  1661.  
  1662.    Choosing this option by clicking on the icon in the toolbox will
  1663.    present you with a wireframe perspective view of what the scene
  1664.    will look like when it is raytraced.
  1665.  
  1666.    The @goto:opts:Options@ window allows you to alter the way in which
  1667.    the preview works. using one of the options it is possible to get
  1668.    !Ray3d-Pro to only preview selected objects, while another causes
  1669.    the outline of each objects to be drawn in the colour it will appear
  1670.    when raytraced.
  1671.  
  1672.    Note: The colour chosen is the nearest one in the current mode. I
  1673.          advise changing into a 256 colour mode (or higher if you're
  1674.          lucky enough to have a Risc PC).
  1675.  
  1676.    The 3d view saves a great deal of time because it is no longer
  1677.    necessary to spend hours raytracing a scene, only to find you haven’t
  1678.    selected a very good view, or an item of interest is obscured by
  1679.    another object.
  1680.  
  1681. @colour:08@   The 3d preview does not show CSG shapes as they will appear in the
  1682. @colour:08@   raytrace. It will just display the objects that make up the CSG shape.
  1683.  
  1684. @end@
  1685. @page:to_poly @Converting curved shapes to polygons
  1686.  
  1687. @colour:11@   Converting curved shapes to polygons
  1688.  
  1689.    Sometimes you may wish to break curved shape such as a cone down
  1690.    into polygons so that you can get a faceted appearance. For instance
  1691.    you may be creating a glass which appears faceted instead of smooth.
  1692.  
  1693.    The following shapes can be broken down into polygons:
  1694.  
  1695.      * Spheres
  1696.      * Cones
  1697.      * Cylinders
  1698.  
  1699.    To break a selected object down into polygons, click on the
  1700.    scale icon in the toolbox, and enter a scale value of 100%       @sprite:scale@
  1701.    for all three directions. Ensure that the "convert to polygons"
  1702.    option is on and click on OK.
  1703.  
  1704. @end@
  1705. @page:set_pt@Set point
  1706.  
  1707. @colour:11@   Set point
  1708.  
  1709.    This icon can be used as an alternative to clicking ADJUST while
  1710.    creating objects. When this icon is clicked on, it sets fixes the
  1711.    current point for operations such as creating objects, moving and
  1712.    rotating.
  1713.  
  1714. @end@
  1715. @page:v1_notes@Notes for !Ray3d v1.xx users
  1716.  
  1717. @colour:11@   Notes for !Ray3d v1.xx users
  1718.  
  1719.    For those of you that have been using versions of !Ray3d which have
  1720.    been supplied by Archimedes World on their cover discs (versions
  1721.    1.xx) there is a supplied tool called !v1->v2 which will convert
  1722.    your scene files to !Ray3d-Pro files.
  1723.  
  1724.    For more information on this tool, see the relevant help file.
  1725.  
  1726. @end@
  1727. @page:textures@Using textures
  1728.  
  1729. @colour:11@   Using Textures                    @sprite:paint@
  1730.  
  1731.    To apply a texture to an object, first bring up the @goto:linking :linking@ window
  1732.    by clicking on the link icon, or selecting "link..." from the "World"
  1733.    sub-menu on the main program menu.
  1734.  
  1735.    Now select the object (or group of objects) that you wish to apply
  1736.    the texture to by clicking on it. On the right hand side of the
  1737.    screen in the "texture" box you will see what the current texture is.
  1738.  
  1739.    To change the texture, click on the menu icon to the right of the
  1740.    texture option and a short menu will be displayed showing all the
  1741.    available textures. Simply select a texture from this menu.
  1742.  
  1743.    Some textures have a type field which can be anything from 1 to 4.
  1744.    This allows you to select different types of that texture, eg: four
  1745.    different woods, four marbles, etc.
  1746.  
  1747.    All of the textures can be scaled by altering the "scale" field.
  1748.    Thus you could choose a small wood grain, or a huge one.
  1749.  
  1750. @colour:11@   None
  1751.  
  1752.    When this icon is selected, no texture will be applied to the
  1753.    object, which will appear the colour specified by the main surface
  1754.    associated with it. This is the default.
  1755.  
  1756. @colour:11@   Wood
  1757.  
  1758.    Selecting this icon will cause a wood like texture to be applied to
  1759.    the object. The colour of the texture is set by the colour of the
  1760.    main surface associated with the object.
  1761.  
  1762. @colour:11@   Marble
  1763.  
  1764.    Selecting this icon will cause a marble like texture to be applied to
  1765.    the object. The colour of the marble is set by the colour of the
  1766.    main surface associated with the object.
  1767.  
  1768. @colour:11@   Checkered
  1769.  
  1770.    This texture will cause the object to become checkered, with the two
  1771.    surfaces associated with the object controlling the appearance of
  1772.    each square. The size of each square may be set by altering the scale.
  1773.  
  1774. @colour:11@   Blotch
  1775.  
  1776.    This texture will give a blotchy effect where the two surfaces appear
  1777.    to fade between each other randomly. The mix % controls how much the
  1778.    main Surface  dominates the secondary surface. For example, a value of
  1779.    50% means a 50/50 mix, anything less means that there is more of the
  1780.    main surface.
  1781.  
  1782. @colour:11@   Bump Map
  1783.  
  1784.    This applies a random bump map to the object selected. The value it
  1785.    takes controls how large the bumps should be.
  1786.  
  1787. @colour:11@   Gloss
  1788.  
  1789.    This texture makes a mirrored object glossy. A value of 0% gives perfect
  1790.    mirror like reflections, while 100% gives fuzzy reflections.
  1791.  
  1792. @colour:11@   fbm
  1793.  
  1794.    fbm stands for fractional brownian motion and causes the object to
  1795.    become lighter and darker in a similar way to the blotch function
  1796.    but without creating a second surface. The extra value controls how
  1797.    much darker or lighter the blotches appear.
  1798.  
  1799. @end@
  1800. @page:script  @Simple Script Language
  1801.  
  1802. @colour:11@   Simple Script Language
  1803.  
  1804.    For all of you out there who would like to be able to write BASIC
  1805.    or C programs which generate shapes (such as fractal trees) which
  1806.    could be loaded into Ray3d-Pro there is a simple script language.
  1807.  
  1808.    At the moment, only three object types are supported, but if there
  1809.    is enough interest I will implement more.
  1810.  
  1811.    Scripts are simply text files which the user drops onto a Ray3d-Pro
  1812.    window to merge the contents of the script with the current scene.
  1813.  
  1814.    The script files have there own specific language, which has it's
  1815.    own rules, listed below.
  1816.  
  1817. @colour:11@   The language
  1818.  
  1819.    The script file MUST have the word '!Ray3d-Pro' on the first line
  1820.    or Ray3d-Pro will not recognise it as a script file.
  1821.  
  1822.    Any line beginning with a # are considered comments and are ignored.
  1823.  
  1824.    The file has two distinct sections, a DELARE section and a CODE
  1825.    section, and the script is terminated by an ENDCODE statement, so
  1826.    a script file looks like this...
  1827.  
  1828. @colour:08@   # !Ray3d-Pro
  1829. @colour:08@   DECLARE
  1830. @colour:08@     ...
  1831. @colour:08@   CODE
  1832. @colour:08@     ...
  1833. @colour:08@   ENDCODE
  1834.  
  1835. @colour:11@   The DECLARE section
  1836.  
  1837.    Within the DECLARE section there must be two commands, min and max
  1838.    which are followed by a colon (:) and a value. These values represent
  1839.    the maximum and minimum size of the objects you are describing and
  1840.    therefore no objects should reference points outside this range.
  1841.  
  1842. @colour:04@     min : <n>
  1843. @colour:04@     max : <n>
  1844.  
  1845.    So now a script file looks like... (for example)
  1846.  
  1847. @colour:08@    # !Ray3d-Pro
  1848. @colour:08@    DECLARE
  1849. @colour:08@      min : -1000
  1850. @colour:08@      max :  5000
  1851. @colour:08@    CODE
  1852. @colour:08@      ...
  1853. @colour:08@    ENDCODE
  1854.  
  1855. @colour:11@   The CODE section
  1856.  
  1857.    This is where you define the objects that you want to create.
  1858.    You may specify a name for the object if you wish ( in quotes)
  1859.    but it is not compulsory.
  1860.  
  1861.    The commands for creating objects are:
  1862.  
  1863. @colour:04@     sphere   "name" ( x y z radius )
  1864. @colour:04@     triangle "name" ( x1 y1 z1 x2 y2 z2 x3 y3 z3 )
  1865. @colour:04@     polygon  "name" ( n x1 y1 z1 .. .. .. xn yn zn )
  1866.  
  1867.    NB: you do not need to specify the "name" if you don't want to.
  1868.  
  1869.    Note: the values placed between the brackets may be split over
  1870.    new lines to make the code more readable. This is OK so long as
  1871.    each value is separated by a space or a new line.
  1872.  
  1873.    You may also create groups by the use of a GROUP command which
  1874.    takes the form:
  1875.  
  1876. @colour:04@     GROUP "name"
  1877. @colour:04@     ENDGROUP
  1878.  
  1879.    Any objects (or other groups) that are defined between the GROUP
  1880.    and ENDGROUP statement are created within the group. In this manner
  1881.    you can nest groups, placing objects in each group as required.
  1882.  
  1883.    So now an example script looks like...
  1884.  
  1885. @colour:08@    # !Ray3d-Pro
  1886. @colour:08@    DECLARE
  1887. @colour:08@      min : -1000
  1888. @colour:08@      max :  5000
  1889. @colour:08@    CODE
  1890. @colour:08@      GROUP "shapes"
  1891. @colour:08@        triangle "tri_1" ( 100 100 0 200 100 0 150 2000 0 )
  1892. @colour:08@        triangle "tri_2" ( 100 100 0
  1893. @colour:08@                           200 100 0
  1894. @colour:08@                           150   0 0 )
  1895. @colour:08@      ENDGROUP
  1896. @colour:08@    ENDCODE
  1897.  
  1898.  
  1899. @end@
  1900. @page:importer@Importers and tools
  1901.  
  1902. @colour:11@   Importers and tools
  1903.  
  1904.    There are a number of applications provided with !Ray3d-Pro (some
  1905.    of which are not present in the demo version) which provide extra
  1906.    features.
  1907.  
  1908. @colour:11@   Importing 3d files from other sources
  1909.  
  1910.    For importing 3 dimensional scenes from other sources, there are the
  1911.    following applications:
  1912.  
  1913.       !Imp_3ds    - This will take a text file created using 3D Studio
  1914.                     on the PC, and load it into !Ray3d-Pro. Such files
  1915.                     are comprised of a number of lines, each of which
  1916.                     has 9 numbers on them.
  1917.  
  1918.       !Imp_tpoly  - This will take files in the 'tpoly' format, and
  1919.                     load them into !Ray3d-Pro. These files describe
  1920.                     models in polygons.
  1921.  
  1922.    These tools are only available to registered users.
  1923.  
  1924. @colour:11@   Importing text and !Draw files
  1925.  
  1926.    Another tool exists which allows you to draw a shape using !Draw, and
  1927.    import it into Ray3d-Pro as a three dimensional shape. This tools can
  1928.    also handle text if it has been converted to a path from within !Draw.
  1929.    This application is only available to registered users.
  1930.  
  1931. @colour:11@   Importing 3d scenes files from !Ray3d v1.xx
  1932.  
  1933.    For those of you that have been using versions of !Ray3d which have
  1934.    been supplied by Archimedes World on their cover discs (versions
  1935.    1.xx) there is a supplied tool called !v1->v2 which will convert
  1936.    your scene files to !Ray3d-Pro files.
  1937.  
  1938. @end@
  1939. @page:csg_desc@Constructive Solid Geometry
  1940.  
  1941. @colour:11@   Constructive Solid Geometry (CSG)
  1942.  
  1943.    Constructive solid geometry allows use to take simple shapes such
  1944.    as cones, cylinders, boxes, etc. and combine them in such a way
  1945.    as to make much more complex shapes.
  1946.  
  1947.    There are three ways in which shapes can be combined, all described
  1948.    below. For information about how to create a CSG shape, click @goto:csg_info:here@.
  1949.  
  1950. @colour:11@   Difference
  1951.  
  1952.    This is by far the most useful of the three CSG type. It allows you
  1953.    to remove (ie: drill) one shape from another. So if we had a cuboid
  1954.    as in the diagram below, and subtracted a cylinder we would get a box
  1955.    with a hole in the middle (as shown below).
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.             @sprite:csg_and!@
  1962.  
  1963. @colour:11@   Union
  1964.  
  1965.    This CSG operation merges two shapes together as in the diagram below.
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.             @sprite:csg_or@
  1972.  
  1973. @colour:11@   Intersection
  1974.  
  1975.    This CSG operation creates a new shape where the first and second shapes
  1976.    overlap. So a cuboid intersected with a cylinder creates a small cylinder
  1977.    as below.
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.                 @sprite:csg_and@
  1984.  
  1985. @end@
  1986. @page:renderng@Rendering Scenes
  1987.  
  1988. @colour:11@   Rendering Scenes
  1989.  
  1990.    Once you have created your scene, you will obviously want to raytrace
  1991.    it. To do this, you must run your saved Ray3d-Pro file through another
  1992.    program called !Shade4.
  1993.  
  1994.    !Shade4 takes a 3d file and converts it into the textual data that
  1995.    the PD raytracer Rayshade (v4.0.6) understands. For more information
  1996.    on !Shade4 and how to use it, click @goto:!shade4^contents:here@.
  1997.  
  1998.    A quick guide is to follow the steps below.
  1999.  
  2000. @colour:05@   1) Save your file from Ray3d-Pro
  2001. @colour:05@   2) Load !Shade4 (quitting !Ray3d-Pro if you are low on memory)
  2002. @colour:05@   3) Drag the saved 3d file to the !Shade4 icon on the icon bar.
  2003. @colour:05@   4) Save the text file by dragging the icon to a directory viewer.
  2004.  
  2005.    NB: Do not save over your original 3d file because Ray3d-Pro cannot
  2006.        load the text file for editing at a later date.
  2007.  
  2008. @colour:05@   5) load !Rayshade
  2009. @colour:05@   6) Drag the text file to the !Rayshade icon on the icon bar.
  2010. @colour:05@   7) Start the raytrace.
  2011.  
  2012. @end@
  2013. @page:add_fog @Adding Fog to a scene
  2014.  
  2015. @colour:11@  Adding Fog to a scene
  2016.  
  2017.    Ray3d-Pro allows you to add fog to your scene, to help create a better
  2018.    atmosphere for your pictures. You can create fog as thick as your
  2019.    require, and of any colour.
  2020.  
  2021.    To add fog, select the "fog..." option from the world sub-menu on the
  2022.    main program menu. This will bring up a window very similar to that
  2023.    used for changing the background colour.
  2024.  
  2025.    To change the colour of the fog, either drag the colour bars, or enter
  2026.    the amount of red, green and blue in the percentage fields. The nearest
  2027.    colour in the current mode to the one you have chosen is displayed
  2028.    below.
  2029.  
  2030.    To alter the thickness of the fog, alter the "fog thickness" percentage
  2031.    field below the colour bars.
  2032.  
  2033. @end@
  2034. @page:select_c@Selecting objects using a view window
  2035.  
  2036. @colour:11@   Selecting objects using a view window
  2037.  
  2038.    It is possible to select objects in the world without clicking on
  2039.    their names in the object list, but by clicking on them in the
  2040.    view window while holding down SHIFT.
  2041.  
  2042.    Because each view window only represents two of the three dimensions
  2043.    in the Ray3d-Pro world, the third co-ordinate is taken from the
  2044.    current cursor position.
  2045.  
  2046.    When you click in the window with SHIFT held down, you are
  2047.    specifying a point in the world, and all objects within the current
  2048.    select distance (from the @goto:opts:Options...@ window) from this point will be
  2049.    selected.
  2050.  
  2051. @end@
  2052. @page:csg_info@Creating CSG objects
  2053.  
  2054. @colour:11@   Creating CSG objects              @sprite:csg@
  2055.  
  2056.    It is quite a simple task to create a CSG object, but there are a
  2057.    few rules that have to be observed.
  2058.  
  2059.    All the objects that make up the CSG shape must be contained within
  2060.    their own group. There must not be any other objects in this group.
  2061.  
  2062.    If you were trying to create the bowl shape shown below, you would
  2063.    ceeate it by taking a sphere, chopping off the top with a box, and
  2064.    then cutting the inside away by using a slightly smaller sphere.
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.            @sprite:csg_bowl@
  2073.  
  2074.  
  2075.    The group structure would look like this:
  2076.  
  2077.  
  2078. @colour:08@                         Bowl (CSG group)
  2079. @colour:08@                             |
  2080. @colour:08@           -------------------------------------------
  2081. @colour:08@           |                 |                       |
  2082. @colour:08@         big sphere         box                little sphere
  2083. @colour:08@        (key object)
  2084.  
  2085.  
  2086.    The key objects specifies which object you want to subtract the others
  2087.    away from (in the case of the difference operator).
  2088.  
  2089.    To form the CSG shape, you would create the objects and group them
  2090.    as shown above. Now you would click on the CSG icon in the toolbox,
  2091.    or choose "CSG" from the world sub-menu on the main program menu.
  2092.  
  2093.    This brings up a window with two lists. The list on the left indicates
  2094.    which group you want to make a CSG shape. The list on the right lists
  2095.    the objects in that group, and is used to select the key object.
  2096.  
  2097.    So to create the bowl above, you would click on the "bowl" group in
  2098.    the left hand window, and then select the "big sphere" as the key
  2099.    object in the right window.
  2100.  
  2101.    Now because we want to do a difference, click on the difference
  2102.    operator at the foot of the window. You have now created your shape.
  2103.  
  2104. @colour:11@   Nesting CSG shapes
  2105.  
  2106.    If you want to nest CSG shapes then each CSG shape must have it's own
  2107.    group (one would be within the other).
  2108.  
  2109.    eg: If you wanted to create a crescent shape by subtracting a cylinder
  2110.        from another cylinder, and then wanted to remove this crescent
  2111.        from another shape you would need two groups.
  2112.  
  2113.        One group would contain the shape, and also within that group
  2114.        would be a second group containing the cylinders.
  2115.  
  2116.    so, the group structure would look like.
  2117.  
  2118. @colour:08@                                Cut-away (CSG group)
  2119. @colour:08@                                  |
  2120. @colour:08@                          --------------------
  2121. @colour:08@                          |                  |
  2122. @colour:08@                       Sphere             crescent (CSG group)
  2123. @colour:08@                                             |
  2124. @colour:08@                                     -------------------
  2125. @colour:08@                                     |                 |
  2126. @colour:08@                                 cylinder 1        cylinder 2
  2127.  
  2128. @end@
  2129.