home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / moray32 / moray.doc < prev    next >
Text File  |  1994-09-19  |  150KB  |  3,495 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                       MORAY V1.5
  12.                                  Monty, the Modeller
  13.  
  14.                             An interactive scene designer
  15.  
  16.  
  17.                  Copyright 1993-1994 SoftTronics, Lutz + Kretzschmar
  18.                                  All Rights Reserved.
  19.  
  20.                                    Munich, Germany
  21.                                  CIS : [100023,2006]
  22.                                     February 1994
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.          MORAY is a "shareware program" and is provided at no charge to the
  31.          user for evaluation. You are encouraged to pass a copy of MORAY
  32.          along to your friends and fellow raytracers for evaluation.
  33.          Please encourage them to register their copy if they find that
  34.          they can use it.  Please do not give it away altered or as part of
  35.          another system.
  36.  
  37.          All functions in this shareware version are enabled. This is so
  38.          that you can test all the functionality of the program. It
  39.          shows a nag screen at startup and after a certain number of
  40.          saves, the saves are slowed down.
  41.  
  42.          Please read Appendix D (page 67) for a definition of shareware.
  43.  
  44.          You are expected to register this program if you continue to use
  45.          it after trying it out.
  46.  
  47.          Registration benefits:
  48.  
  49.          -   you get up-to-date information on the development of MORAY.
  50.          -   you gain access to a conference on PCGnet where you can
  51.              download the latest alpha or beta versions long before they are
  52.              released to the public.
  53.          -   your suggestions are given a higher priority, and you get to
  54.              see them earlier.
  55.          -   you get special update/upgrade conditions.
  56.  
  57.  
  58.           User Manual                     Page 2              MORAY V1.5
  59.           --------------------------------------------------------------
  60.  
  61.  
  62.  
  63.          DISCLAIMER - AGREEMENT
  64.  
  65.          Users of MORAY must accept this disclaimer of warranty: "MORAY is
  66.          supplied as is.  The author disclaims all warranties, expressed or
  67.          implied, including, without limitation, the warranties of
  68.          merchantability and of fitness for any purpose. The author assumes
  69.          no liability for damages, direct or consequential, which may
  70.          result from the use of MORAY."
  71.  
  72.          The essence of "user-supported" software is to provide personal
  73.          computer users with quality software without high prices, and yet
  74.          to provide incentive for programmers to continue to develop new
  75.          products.
  76.  
  77.          REGISTRATION
  78.  
  79.          If you find this program useful and find that you are using MORAY
  80.          and continue to use MORAY after a reasonable trial period (30
  81.          days, for example), you must make a registration payment of US$59
  82.          to Lutz + Kretzschmar.  The US$59 registration fee will license
  83.          one copy for use on any one computer at any one time.  You must
  84.          treat this software just like a book.  An example is that this
  85.          software may be used by any number of people and may be freely
  86.          moved from one computer location to another, so long as there is
  87.          no possibility of it being used at one location while it's being
  88.          used at another. Just as a book cannot be read by two different
  89.          persons at the same time.
  90.  
  91.          Commercial users of MORAY must register and pay for their copies
  92.          of MORAY within 30 days of first use or their license is
  93.          withdrawn.  Site-License arrangements may be made by contacting
  94.          Lutz + Kretzschmar.
  95.  
  96.          To register please read the file REGISTER.INS for instructions.
  97.  
  98.          Anyone distributing MORAY for any kind of remuneration must first
  99.          contact Lutz + Kretzschmar at the address below for authorization.
  100.          This authorization will be automatically granted to distributors
  101.          recognized by the ASP as adhering to its guidelines for shareware
  102.          distributors, and such distributors may begin offering MORAY
  103.          immediately (However Lutz + Kretzschmar would really appreciate
  104.          being advised so that the distributor can be kept up-to-date with
  105.          the latest version of MORAY.).
  106.  
  107.          Contacting the authors:
  108.  
  109.          Home of POV-Ray and MORAY is CompuServe in the GRAPHDEV area (GO
  110.          GRAPHDEV). This is the place to ask questions about POV-Ray and
  111.          MORAY, there are a lot of users of POV-Ray (and MORAY) there.
  112.  
  113.          Please see the file SUPPORT.TXT that came with this package for
  114.          ways of reaching the authors.
  115.  
  116.  
  117.           User Manual                     Page 3              MORAY V1.5
  118.           --------------------------------------------------------------
  119.  
  120.  
  121.          T A B L E    O F    C O N T E N T S
  122.          -----------------------------------
  123.  
  124.  
  125.          1. What is MORAY?                                         7
  126.  
  127.          2. MORAY Features                                         8
  128.  
  129.          3. Requirements                                           9
  130.              3.1.   Hardware                                       9
  131.              3.2.   Software                                       9
  132.  
  133.          4. Installation                                          10
  134.  
  135.          5. Configuration                                         10
  136.              5.1.   MemoryUse                                     10
  137.              5.2.   ModelPath                                     10
  138.              5.3.   LoopBatchFile                                 11
  139.              5.4.   PrintPath20                                   11
  140.              5.5.   IncludeFile20                                 11
  141.              5.6.   TextureList                                   11
  142.              5.7.   StartupScene                                  11
  143.              5.8.   ColorDefinition                               12
  144.              5.9.   CheckTextures                                 12
  145.              5.10.  AskOnExport                                   12
  146.              5.11.  ViewLayout                                    12
  147.              5.12.  GraphicsMode                                  13
  148.              5.13.  SnapValues                                    13
  149.              5.14.  WireFrameDivs                                 13
  150.              5.15.  CamRedrawLimit                                13
  151.              5.16.  ObjRedrawLimit                                13
  152.              5.17.  KeyboardDelay                                 14
  153.              5.18.  SkipDrives                                    14
  154.              5.19.  Use3DText                                     14
  155.              5.20.  Setup for automatic rendering                 14
  156.  
  157.          6. Theory of operation                                   16
  158.              6.1.   Object Attributes                             16
  159.                  6.1.1.  Transforms                               16
  160.                  6.1.2.  Bounding boxes                           16
  161.                  6.1.3.  Texture                                  17
  162.                  6.1.4.  Visibility Level                         17
  163.                  6.1.5.  Nested Attributes                        17
  164.              6.2.   Basic Interaction                             18
  165.              6.3.   The Primitives                                18
  166.                  6.3.1.  Cube                                     18
  167.                  6.3.2.  Sphere                                   19
  168.                  6.3.3.  Cylinder                                 19
  169.                  6.3.4.  Cone                                     19
  170.                  6.3.5.  Torus                                    19
  171.                  6.3.6.  Disc                                     19
  172.                  6.3.7.  Plane                                    19
  173.                  6.3.8.  Rotational sweep                         19
  174.                  6.3.9.  Translational sweep                      19
  175.                  6.3.10. Tapering sweep                           20
  176.  
  177.  
  178.           User Manual                     Page 4              MORAY V1.5
  179.           --------------------------------------------------------------
  180.  
  181.  
  182.                  6.3.11. Bezier Patches                           20
  183.                  6.3.12. Heightfields                             21
  184.                  6.3.13. Light sources                            21
  185.              6.4.   The Non-Primitives                            21
  186.                  6.4.1.  CSG Objects                              21
  187.                  6.4.2.  Group Objects                            22
  188.              6.5.   The Cameras                                   22
  189.              6.6.   The Textures                                  22
  190.  
  191.          7. Creating an Object                                    24
  192.              7.1.   Primitives                                    24
  193.              7.2.   Bezier patches                                24
  194.              7.3.   CSG and Group Objects                         25
  195.  
  196.          8. Creating a Texture                                    26
  197.              8.1.   Predefined POV texture                        26
  198.              8.2.   Opaque texture                                26
  199.              8.3.   Checker texture                               26
  200.              8.4.   Imagemap texture                              27
  201.              8.5.   Wood texture                                  27
  202.  
  203.          9. Selecting an Object                                   28
  204.              9.1.   Graphically                                   28
  205.              9.2.   Using the Object Browser                      28
  206.              9.3.   Selecting the Parent of an Object             29
  207.              9.4.   Selecting the Texture of an Object            29
  208.              9.5.   Selecting the Bounding Box of an Object       29
  209.  
  210.          10. Editing an Object                                    30
  211.              10.1.  The Object Edit Menu                          30
  212.                  10.1.1. Assigning a texture                      30
  213.                  10.1.2. Assigning a bounding box                 30
  214.                  10.1.3. Changing the visibility                  31
  215.                  10.1.4. Setting 'no_shadow'                      31
  216.                  10.1.5. Changing the name                        32
  217.                  10.1.6. Calling the extended editor              32
  218.                  10.1.7. Leaving the Object edit menu             32
  219.              10.2.  The Torus Edit menu                           32
  220.              10.3.  The Heightfield Edit menu                     32
  221.              10.4.  The Light Edit menu                           32
  222.              10.5.  The Spotlight Edit menu                       33
  223.              10.6.  The Arealight Edit menu                       33
  224.              10.7.  The Group Edit Menu                           34
  225.                  10.7.1. Adding a sub-object                      34
  226.                  10.7.2. Removing a sub-object                    34
  227.              10.8.  The CSG Edit Menu                             34
  228.                  10.8.1. Adding a sub-object                      34
  229.                  10.8.2. Removing a sub-object                    35
  230.                  10.8.3. Changing the CSG operation               35
  231.                  10.8.4. Changing the sub-object order            35
  232.  
  233.          11. Copying objects                                      36
  234.              11.1.  Orbiting copies                               37
  235.  
  236.          12. Texture Editing                                      38
  237.  
  238.  
  239.           User Manual                     Page 5              MORAY V1.5
  240.           --------------------------------------------------------------
  241.  
  242.  
  243.              12.1.  Texture Exporting                             38
  244.              12.2.  Creating a texture                            39
  245.                  12.2.1. Predefined textures                      39
  246.                  12.2.2. Opaque textures                          39
  247.                  12.2.3. Checker textures                         39
  248.                  12.2.4. Wood textures                            40
  249.                  12.2.5. ImageMap textures                        40
  250.              12.3.  Deleting a texture                            41
  251.              12.4.  Copying a texture                             41
  252.              12.5.  Replacing a texture                           41
  253.              12.6.  Texture display                               42
  254.  
  255.          13. The main screen                                      43
  256.              13.1.  The three 2D Views                            43
  257.                  13.1.1. Disabling a view                         43
  258.                  13.1.2. Enabling a View                          43
  259.                  13.1.3. Enlarging a View                         43
  260.                  13.1.4. Toggling the Grid in a View              43
  261.                  13.1.5. Panning a View                           44
  262.                  13.1.6. Zooming a View                           44
  263.              13.2.  The 3D View                                   44
  264.                  13.2.1. The Rendering Window                     44
  265.              13.3.  Interacting with Objects                      45
  266.                  13.3.1. Setting the interaction mode             45
  267.                  13.3.2. Using Scaling mode                       45
  268.                  13.3.3. Using Rotation mode                      45
  269.                  13.3.4. Using Translation mode                   46
  270.              13.4.  Limiting interaction dimensions               46
  271.              13.5.  Interaction strangeness                       46
  272.              13.6.  The Main Menu                                 46
  273.                  13.6.1. The Transformation blocks                47
  274.                  13.6.2. The menu items                           47
  275.                      13.6.2.1. The CREATE button                  47
  276.                      13.6.2.2. The EDIT button                    47
  277.                      13.6.2.3. The COPY button                    48
  278.                      13.6.2.4. The CAMERAS button                 48
  279.                      13.6.2.5. The TEXTURES button                48
  280.                      13.6.2.6. The FILES button                   48
  281.                      13.6.2.7. The OPTIONS button                 48
  282.                      13.6.2.8. The QUIT button                    48
  283.                  13.6.3. The information block                    48
  284.  
  285.          14. The FILES Menu                                       50
  286.              14.1.  LOAD                                          50
  287.              14.2.  MERGE                                         50
  288.              14.3.  SAVE                                          51
  289.              14.4.  SAVE SEL                                      51
  290.              14.5.  OPTIONS                                       51
  291.              14.6.  EXPORT                                        51
  292.              14.7.  RENDER                                        52
  293.              14.8.  NEW                                           52
  294.  
  295.          15. Extended Editors                                     53
  296.              15.1.  The Bezier Patch Editor                       53
  297.                  15.1.1. Mesh density                             53
  298.  
  299.  
  300.           User Manual                     Page 6              MORAY V1.5
  301.           --------------------------------------------------------------
  302.  
  303.  
  304.                  15.1.2. Redraw Rate                              53
  305.                  15.1.3. Selecting and deselecting control points 54
  306.                  15.1.4. Changing the control point positions     55
  307.                      15.1.4.1. Translate                          55
  308.                      15.1.4.2. Scale                              55
  309.                      15.1.4.3. Local Scale                        55
  310.                      15.1.4.4. Uniform                            56
  311.                      15.1.4.5. Rotate                             56
  312.                      15.1.4.6. Local Rotate                       56
  313.                      15.1.4.7. Mirroring the patch                56
  314.                      15.1.4.8. Snapping Coordinates               56
  315.              15.2.  The Sweep Editor                              57
  316.                  15.2.1. Curve divisions                          57
  317.                  15.2.2. Moving a knot                            57
  318.                  15.2.3. Smoothing a knot                         58
  319.                  15.2.4. Adding a knot                            58
  320.                  15.2.5. Deleting a knot                          58
  321.                  15.2.6. Entering values                          58
  322.                  15.2.7. Mirroring a sweep                        58
  323.                  15.2.8. Rotation divisions                       58
  324.                  15.2.9. Exporting to a RAW file                  58
  325.  
  326.          16. Appendix A: Hotkeys                                  60
  327.              16.1.  Main menu                                     60
  328.              16.2.  Object Browser                                62
  329.              16.3.  Bezier Editor                                 62
  330.  
  331.          17. Appendix B: Tips                                     63
  332.  
  333.          18. Appendix C: Frequently Asked Questions               65
  334.  
  335.          19. Appendix D: Definition of Shareware                  67
  336.  
  337.          20. Appendix E: Index                                    68
  338.  
  339.  
  340.           User Manual                     Page 7              MORAY V1.5
  341.           --------------------------------------------------------------
  342.  
  343.  
  344.  
  345.  
  346.          1. What is MORAY?
  347.  
  348.  
  349.          MORAY is a program with which you can design scenes for the POV-
  350.          Ray raytracer to render. Contrary to normal scene design, with
  351.          MORAY you design the scenes graphically. Up to now it was pretty
  352.          difficult to imagine what the scene looked like, without laying it
  353.          out on graph paper, or doing many test renders. MORAY is like a
  354.          graph paper, it lets you place and change objects in wireframe
  355.          while you see them. MORAY then generates the text file that POV
  356.          needs to read.
  357.  
  358.          MORAY can thus also be used as a rapid prototype tool, to place
  359.          objects quickly and write the scene file. You can then edit the
  360.          scene file to suit your needs, just like you have been doing up to
  361.          now.
  362.  
  363.          MORAY stores and works with POV-Ray primitives, as opposed to
  364.          normal CAD systems, which mostly convert all objects to triangle
  365.          meshes or similar polygon based formats when outputting. This
  366.          ensures optimum performance and image quality from the raytracer.
  367.  
  368.          If you're a POV enthusiast and have access to CompuServe you
  369.          should check out the GRAPHDEV forum for the latest news and tips
  370.          on using POV. The RayTracing conference on PCGnet also carries
  371.          lots of tips for POV.
  372.  
  373.          If you want to obtain the latest version of POV-Ray you can
  374.          probably do so at the same source you obtained MORAY from.
  375.  
  376.  
  377.           User Manual                     Page 8              MORAY V1.5
  378.           --------------------------------------------------------------
  379.  
  380.  
  381.  
  382.  
  383.          2. MORAY Features
  384.  
  385.  
  386.          The emphasis in designing MORAY was to be able to work as
  387.          intuitively and as graphically as possible. Most of the work can
  388.          be done with the mouse.
  389.  
  390.          Three 2D views and a 3D view of your scene are visible on screen.
  391.          You can perform all transformations of the objects in the 2D views
  392.          with the mouse. The 3D view shows what the current camera will
  393.          see, i.e. how POV will raytrace it.
  394.  
  395.          MORAY allows you to,
  396.  
  397.            -  scale, rotate and translate an object interactively on the
  398.               screen.
  399.            -  define cameras with which to view your scene, that will show
  400.               the scene in wire frame as POV-Ray will raytrace it.
  401.            -  graphically place a bounding box around an object.
  402.            -  automatically create bounding boxes of any objects, including
  403.               nested objects.
  404.            -  make CSG or composite objects that can be nested arbitrarily
  405.               deep.
  406.            -  assign textures from the TEXTURES.INC file to your objects.
  407.            -  define a new texture from within MORAY. You can then hand-tune
  408.               this texture and MORAY won't interfere.
  409.            -  place imagemaps graphically on objects, eliminating the
  410.               tedious trial and error approach.
  411.            -  manipulate the control points of a bezier patch to create
  412.               shapes not easily created otherwise.
  413.            -  create bezier patch meshes that consist of more than just one
  414.               bezier patch primitive.
  415.            -  create rotational, translational and tapering sweeps that are
  416.               then output as smooth triangles.
  417.            -  copy complex nested objects.
  418.            -  create multiple copies of an object transforming each copy by
  419.               amounts you specify in one easy step.
  420.            -  specify the complexity of on screen objects.
  421.            -  specify a region of the 3D view to render.
  422.            -  integrate POV-Ray with MORAY, so that you can seemingly call
  423.               POV-Ray from within MORAY.
  424.  
  425.  
  426.           User Manual                     Page 9              MORAY V1.5
  427.           --------------------------------------------------------------
  428.  
  429.  
  430.  
  431.  
  432.          3. Requirements
  433.  
  434.  
  435.  
  436.  
  437.          3.1.  Hardware
  438.  
  439.          MORAY requires at least a 386, a VGA card and a mouse, although I
  440.          cannot recommend this set-up. The minimum system, if you want to
  441.          do some larger scenes, would be a 486DX/25 and 4MB memory.
  442.  
  443.  
  444.  
  445.          3.2.  Software
  446.  
  447.          No specific software is required. You need to have POV-Ray 2.2
  448.          to raytrace the scene.
  449.  
  450.  
  451.           User Manual                    Page 10              MORAY V1.5
  452.           --------------------------------------------------------------
  453.  
  454.  
  455.  
  456.  
  457.          4. Installation
  458.  
  459.  
  460.          To install MORAY simply copy MRAY.ZIP to a sub-directory of your
  461.          hard drive (e.g. \MORAY) and unzip it with subdirectories (-d
  462.          option), using PKZIP V2.04g or later.
  463.  
  464.          Please see the README file contained on the distribution disk for
  465.          a list of files in the ZIP.
  466.  
  467.  
  468.  
  469.  
  470.  
  471.          5. Configuration
  472.  
  473.  
  474.          There are a number of things that need to be configured for MORAY
  475.          to work correctly. You need to specify where to write the POV
  476.          files, what file to include on exporting, what file to load as
  477.          default and various other settings.
  478.  
  479.          The settings are found in the file MORAYPOV.CFG, in the [CONFIG]
  480.          section. This file can be edited with a text editor and changed
  481.          according to your set-up. The settings you can specify are
  482.          described in more detail below.
  483.  
  484.  
  485.  
  486.          5.1.  MemoryUse
  487.  
  488.          The two numbers behind this variable specify the amount of
  489.          memory (in KB) that MORAY should use for its two main arrays.
  490.          This is the amount of memory that will be taken away from the
  491.          memory you have available for objects. Generally the default
  492.          settings are more than enough. Only once the lists get full (watch
  493.          whether the lowest two buttons in the lower right corner of the
  494.          screen approach 100%), you may need to increase these numbers.
  495.          The two numbers have no relation.
  496.  
  497.  
  498.  
  499.          5.2.  ModelPath
  500.  
  501.          The directory in which MORAY stores its native format (binary)
  502.          files. You can set this to the directory where your MDL files
  503.          should reside. When installing MORAY, the sub directory MDL is
  504.          automatically created and this is the default in this file, too.
  505.          If you want to store the files elsewhere, just change this
  506.          setting.
  507.  
  508.  
  509.           User Manual                    Page 11              MORAY V1.5
  510.           --------------------------------------------------------------
  511.  
  512.  
  513.          5.3.  LoopBatchFile
  514.  
  515.          This is the name of the batch file you may wish to use in order to
  516.          automate the edit/trace/edit cycle. You place the name of the
  517.          batch file here. The default is CALLMRAY.BAT, which is the
  518.          batchfile that comes with MORAY. You'll need to edit this batch
  519.          file, so that it can change to your POV directory and back to your
  520.          MORAY directory. The batch file is commented to help you get it
  521.          set up. There is a RENDER button in the FILES menu that will make
  522.          MORAY exit with a return value of 16, which this batch file will
  523.          test and start POV if needed.
  524.  
  525.  
  526.  
  527.          5.4.  PrintPath20
  528.  
  529.          The directory to which MORAY will export the POV 2.0 file. If this
  530.          directory does not exist, MORAY will print a corresponding warning
  531.          on start-up and when you attempt to export. If you export, MORAY
  532.          will write the file to the current directory.
  533.  
  534.  
  535.  
  536.          5.5.  IncludeFile20
  537.  
  538.          This specifies the file which all exported POV files will include.
  539.          The contents of this file are placed in exported files, before the
  540.          scene data. By default this file is MRYDEFLT.INC and contains
  541.          statements to include COLORS.INC, TEXTURES.INC and SHAPES.INC.
  542.          There is another additional INC file, called MRYDFLT2.INC, which
  543.          includes a green 'floor' plane and a sky sphere.
  544.  
  545.  
  546.  
  547.          5.6.  TextureList
  548.  
  549.          This file contains the list of textures that you are offered to
  550.          choose from when creating pre-defined textures. It also contains
  551.          the colors you can choose from when setting the color of a
  552.          texture. As it comes with MORAY, it contains all the textures from
  553.          TEXTURES.INC and all the colors from COLORS.INC.
  554.  
  555.  
  556.  
  557.          5.7.  StartupScene
  558.  
  559.          This setting specifies the MDL-file which MORAY loads on start-up,
  560.          if no file is specified on the command-line. You can use this to
  561.          load a file containing a camera, a light and a ground plane, for
  562.          example. The default file MDLSTART.MDL contains a camera and a
  563.          light source. You can load and edit this file according to your
  564.          wishes, then save it and it will consequently be loaded on start-
  565.          up.
  566.  
  567.  
  568.           User Manual                    Page 12              MORAY V1.5
  569.           --------------------------------------------------------------
  570.  
  571.  
  572.          5.8.  ColorDefinition
  573.  
  574.          MORAY allows you to change the colors of the interface. The
  575.          filename that comes behind this variable specifies which color
  576.          definition file to use. You can design your own color schemes, or
  577.          use the default one.
  578.  
  579.  
  580.  
  581.          5.9.  CheckTextures
  582.  
  583.          This is a switch setting that can be turned on (YES) and off. When
  584.          on, it makes MORAY check the scene for objects that don't have
  585.          textures assigned to them, whenever you attempt to export a scene.
  586.          If MORAY finds an object that has no texture assigned to it, it
  587.          will highlight this object and give you the chance to assign a
  588.          texture to it.
  589.  
  590.  
  591.  
  592.          5.10. AskOnExport
  593.  
  594.          This setting determines whether MORAY asks you for permission to
  595.          overwrite an existing *.POV file when you select EXPORT 2 POV.
  596.          This is to prevent you (and MORAY) from inadvertently erasing a
  597.          file that you may have edited since the last export. If you set
  598.          this setting to something else than YES, MORAY will not ask for
  599.          permission to overwrite the file and will simply export the scene.
  600.          This does not apply to the INC file that MORAY creates, only the
  601.          POV files.
  602.  
  603.  
  604.  
  605.          5.11. ViewLayout
  606.  
  607.          This setting can be used to change the arrangement of the four
  608.          views. The default setting is the way a technical drawing is made,
  609.          but you may prefer another setting. Following the keyword are four
  610.          words: FRONT, TOP, SIDE and 3D. The order these four words appear
  611.          determine the position of the views. The order is specified as the
  612.          top-left, then the top-right, the bottom-left and the bottom-right
  613.          view.
  614.  
  615.  
  616.  
  617.  
  618.  
  619.           User Manual                    Page 13              MORAY V1.5
  620.           --------------------------------------------------------------
  621.  
  622.  
  623.  
  624.          5.12. GraphicsMode
  625.  
  626.          This setting can be used to set the default startup graphics
  627.          resolution. If you leave this unset MORAY will start in
  628.          640x480x16. Using the -G commandline parameter overrides this
  629.          setting.
  630.  
  631.          Possible values for          Corresponding values for x in
  632.          GraphicsMode                   commandline parameter -Gx
  633.  
  634.               640x480x16                         5
  635.               800x600x16                         6
  636.               1024x768x16                        7
  637.               640x480x256                        2
  638.               800x600x256                        3
  639.               1024x768x256                       4
  640.  
  641.  
  642.  
  643.          5.13. SnapValues
  644.  
  645.          This determines the initial values of the grid snap (see page 51).
  646.  
  647.  
  648.  
  649.          5.14. WireFrameDivs
  650.  
  651.          This setting can be used to specify the subdivisions of the
  652.          wireframe representations of the objects you create. The six
  653.          numbers following this keyword specify the subdivisions for a
  654.          sphere, a cylinder, a cone, a torus, a spotlight, and for a disc,
  655.          respectively. These numbers should be even. If they are odd, they
  656.          are rounded upwards to the next even integer. They also have a
  657.          minimum value of 8.
  658.  
  659.  
  660.  
  661.          5.15. CamRedrawLimit
  662.  
  663.          The number following this keyword specified the number of ticks
  664.          (1/18s) that the redrawing of the 3D- (camera) window is allowed
  665.          to take. If the redraw takes longer, this window is not updated
  666.          while you move the camera, until you have finished placing the
  667.          camera (by releasing the mouse button). The 3D-View is then
  668.          redrawn.
  669.  
  670.  
  671.  
  672.          5.16. ObjRedrawLimit
  673.  
  674.          The number following this keyword specified the number of ticks
  675.          (1/18s) that the redrawing of the object you are transforming in
  676.          the 2D-windows is allowed to take. If the redraw takes longer,
  677.          MORAY will attempt to simplify the objects representation.
  678.  
  679.          If the object has a bounding box attached to it, MORAY will use
  680.          this as the simpler representation.
  681.  
  682.          If the object is a bezier patch, the subdivisions will be set to 2
  683.          while you move the object (if it doesn't have a bounding box).
  684.  
  685.  
  686.  
  687.           User Manual                    Page 14              MORAY V1.5
  688.           --------------------------------------------------------------
  689.  
  690.  
  691.  
  692.  
  693.          5.17. KeyboardDelay
  694.  
  695.          The number following this variable specifies the number of clock
  696.          ticks (1/18th sec) that can pass before MORAY thinks you're not
  697.          keeping a key depressed. This is useful if you use the keyboard to
  698.          move the cursor, since the cursor will accelerate if you keep your
  699.          finger down.
  700.  
  701.  
  702.  
  703.          5.18. SkipDrives
  704.  
  705.          You can make Moray ignore certain drives in your system. Moray
  706.          usually scans all drives to check for files. Since this creates
  707.          problems with CD-ROMs containing Audio CDs (for example), you can
  708.          place the drive letter of the CD drive behind this keyword. Also in
  709.          a network you may have more than nine drives available, in which
  710.          case MORAY will only use the first nine. By instructing MORAY to
  711.          ignoe certain drives, you can determine which drives should be
  712.          availabl eto you from within MORAY. You can place as many drive
  713.          letters behind this directive, leaving no spaces between the letters
  714.          and not enclosing them in any quotes or anything.
  715.  
  716.  
  717.  
  718.          5.19. Use3DText
  719.  
  720.          If you feel that the 3D embossed look of the menu text is difficult
  721.          to read, you can disable it by placing a NO behind this keyword.
  722.  
  723.  
  724.  
  725.          5.20. Setup for automatic rendering
  726.  
  727.          MORAY supports integrating POV in the edit/trace/edit cycle with a
  728.          couple less keystrokes by automating some things.
  729.  
  730.          This is how you would work: If you intend to work with a scene and
  731.          render it in between a couple of times (as one mostly does during
  732.          the design phase), you don't start MORAY directly, you call the
  733.          CALLMRAY batch file. This batchfile then starts MORAY. Here you
  734.          can edit and change the scene. When you're ready to render and
  735.          after you've set the rendering window in the 3D view, go to the
  736.          FILES menu and press the RENDER button. MORAY will save and export
  737.          your scene, and exit. The batchfile will then call POV to render
  738.          the scene. After it is done, the batch file will start MORAY and
  739.          the scene you're busy with will be loaded.
  740.  
  741.  
  742.           User Manual                    Page 15              MORAY V1.5
  743.           --------------------------------------------------------------
  744.  
  745.  
  746.          The batchfile CALLMRAY.BAT that came with the program can be used
  747.          as a basis for your batch file. There are a couple of things you
  748.          need to set up before you can use this batch file.
  749.  
  750.          You need to edit the CALLMRAY.BAT file and add commands to change
  751.          to the correct directories for POV and for MORAY. It is commented
  752.          and this should be simple to do. You also need to have a correct
  753.          TRACE.BAT file in your POV scene directory or in your path. You
  754.          can edit the one that came with MORAY, or you can use your own.
  755.          This batch file is called by GO.BAT with the scene filename as the
  756.          first argument (without extension). If you've defined a render
  757.          window in MORAY, the next four arguments to TRACE.BAT will be the
  758.          correct starting and edning rows and columns specifying the
  759.          window.
  760.  
  761.          There must be a line that contains the 'MORAY.EXE -B ...' line,
  762.          since MORAY modifies this line of the batch file to reload the scene
  763.          you were working on, when it restarts Moray after running POV-Ray.
  764.          The -B indicates to Moray that it is running from a batch file.
  765.  
  766.  
  767.  
  768.           User Manual                    Page 16              MORAY V1.5
  769.           --------------------------------------------------------------
  770.  
  771.  
  772.  
  773.  
  774.          6. Theory of operation
  775.  
  776.  
  777.  
  778.  
  779.          6.1.  Object Attributes
  780.  
  781.          Objects are what MORAY works with. An object has certain data
  782.          associated with it that you can change as you would in the text
  783.          file describing the scene for POV. The data includes positioning
  784.          information (scaling, rotation, translation), texture information
  785.          and bounding information. Some of these are optional. There are a
  786.          couple of other things associated with an object, but we'll come
  787.          to that later.
  788.  
  789.          Each object has a name that needs to be unique in the whole scene.
  790.          MORAY assists you with ensuring this.
  791.  
  792.          The objects you create are kept in a global object list. When you
  793.          create a complex object, such as a CSG or a Group object, the
  794.          objects that you assign to this complex object will be removed
  795.          from the global object list. Thus the global object list contains
  796.          all top-level objects, i.e. objects that have no parents.
  797.  
  798.  
  799.          6.1.1.    Transforms
  800.  
  801.          Each object has transformations associated with it. These
  802.          transformations are handled a bit differently from the way that
  803.          POV-Ray handles it. This difference is important to understand. In
  804.          POV-Ray you can scale, rotate and translate an object any number
  805.          of times and in any order to achieve a certain transformation.
  806.          This means that you could first translate an object and then
  807.          rotate it, which has the effect of moving an object in an orbit.
  808.  
  809.          In MORAY the transformations that can be applied to an object are
  810.          first scaling, then rotation and then translation. You cannot have
  811.          another order and you cannot add more transformations. Although
  812.          this seems like a restriction at first, you will soon get over
  813.          this and it will seem very normal (there are also ways around
  814.          this).
  815.  
  816.  
  817.          6.1.2.    Bounding boxes
  818.  
  819.          An object can have a bounding box associated with it. This
  820.          bounding box is always defined in the objects local co-ordinates,
  821.          i.e. before the transformations are applied to it. This is handy,
  822.          since when you scale, rotate or move an object, its bounding box
  823.          will follow this movement automatically. It is also automatically
  824.          copied with an object.
  825.  
  826.  
  827.           User Manual                    Page 17              MORAY V1.5
  828.           --------------------------------------------------------------
  829.  
  830.  
  831.          6.1.3.    Texture
  832.  
  833.          An object can also has a texture associated with it. This texture
  834.          can be a predefined texture from TEXTURES.INC or a texture that is
  835.          defined in MORAY. The textures that you cannot define in MORAY are
  836.          ones with 3D textures, such as marble, bozo, etc. You can however
  837.          define an imagemap or a wood texture and assign it to an object.
  838.          The imagemap projections (or the wood) will then be shown on the
  839.          screen. You can select it and scale, rotate and translate it till
  840.          it is correctly placed.
  841.  
  842.  
  843.          6.1.4.    Visibility Level
  844.  
  845.          Objects in MORAY have a visibility level associated with them.
  846.          This level determines whether an object will be drawn or not (in
  847.          MORAY). There is a global visibility level that defines the
  848.          visibility to be shown. Objects that have a visibility level
  849.          higher than the global level will not be drawn. You can use this
  850.          to reduce the complexity drawn on screen and to thus increase the
  851.          refresh speed.
  852.  
  853.          You don't always want to see all the details of a scene. For
  854.          example, if you are designing a house and want to add a garage,
  855.          you don't need to see the fixtures in the kitchen, or the knobs on
  856.          the cupboards or the furniture, you just need the basic shape of
  857.          the house. So you assign a high level to the furniture and stuff
  858.          and keep the walls of the house at a low level.
  859.  
  860.          To assist you in easily changing the visibility of complex (deeply
  861.          nested) objects, you can assign relative visibility levels to
  862.          objects. This means that you can say that the knob of the cupboard
  863.          has one level of visibility more that the cupboard. Then if you
  864.          change the cupboards visibility, the knob will change with it,
  865.          whereas if you manually assign a visibility level of one more to
  866.          the knob, you will not change the level of the knob when you
  867.          change that of the cupboard.
  868.  
  869.  
  870.          6.1.5.    Nested Attributes
  871.  
  872.          There is something special about nested objects (CSG or Group
  873.          objects). MORAY allows textures and visibility levels of group-
  874.          objects to be inherited by lower level objects. This means that
  875.          you can assign a texture to a high-level object in the hierarchy
  876.          and objects below this hierarchy will automatically have this
  877.          texture assigned to them, unless they specifically use another
  878.          texture. So you don't need to assign a texture to every object you
  879.          create. If you create a CSG object that should be one colour, you
  880.          just assign this texture to the CSG and leave the textures of the
  881.          sub-objects undefined. They will then automatically inherit the
  882.          texture from the CSG object.
  883.  
  884.  
  885.           User Manual                    Page 18              MORAY V1.5
  886.           --------------------------------------------------------------
  887.  
  888.  
  889.          This is also true of the visibility level. If an object has 0 as
  890.          its level it will be assigned the level of its parent object. As
  891.          mentioned above you can also specify that an object has a
  892.          visibility level relative to its parent object.
  893.  
  894.  
  895.  
  896.          6.2.  Basic Interaction
  897.  
  898.          When MORAY first starts up you will see the main screen with 3 2D-
  899.          views, a 3D-view and the main menu. Below the four views is space
  900.          for various sub-menus. You interact with the scene in the 3 views,
  901.          using the mouse. You can select and move objects in any of the
  902.          views. If you have placed a camera in the scene, your actions are
  903.          displayed in the 3D window from its viewpoint. This is also
  904.          exactly what POV will render.
  905.  
  906.          The menu is operated like any other normal GUI menu, you click the
  907.          mouse button while the cursor is over the button you want to
  908.          choose, or press the key that corresponds to the underlined letter
  909.          on the button.
  910.  
  911.          Interaction on the main screen is covered in more detail later
  912.          (see page 43)
  913.  
  914.  
  915.  
  916.          6.3.  The Primitives
  917.  
  918.          The primitives that MORAY supports are (nearly) all finite
  919.          objects. They are: Cubes, Spheres, Cylinders, Cones, Discs, Tori,
  920.          and light sources. A plane object is also supported.
  921.  
  922.          More primitives are rotational, translational and tapering sweeps,
  923.          bezier patches and heightfields.
  924.  
  925.          Normally only cubes, cylinders, cones, tori, planes and point
  926.          light sources can be used in a CSG object. You can, however, add
  927.          the sweeps to a CSG. This may not work as expected!
  928.  
  929.          Additionally, all other objects can be used in Group objects, i.e.
  930.          All objects can be used in Group objects.
  931.  
  932.  
  933.          6.3.1.    Cube
  934.  
  935.          The cube is your standard issue box that goes from
  936.          (-1,-1,-1) to (1,1,1), i.e. is centered around the origin and is 2
  937.          units wide in each direction.
  938.  
  939.  
  940.           User Manual                    Page 19              MORAY V1.5
  941.           --------------------------------------------------------------
  942.  
  943.  
  944.          6.3.2.    Sphere
  945.  
  946.          This is a normal run of the mill sphere, centered at the origin
  947.          with a radius of 1.0. You can unevenly scale this sphere, the
  948.          conversion to the correct primitive for POV-Ray is handled by
  949.          MORAY.
  950.  
  951.  
  952.          6.3.3.    Cylinder
  953.  
  954.          The cylinder is defined as an object with its base at Z=0,
  955.          extending to Z=1, centered on the X-Y plane, with a radius of 1.0.
  956.  
  957.  
  958.          6.3.4.    Cone
  959.  
  960.          The cone has its cap plane at Z=0, where the radius is 1.0 and
  961.          extends to Z=1 where it comes to a point.
  962.  
  963.  
  964.          6.3.5.    Torus
  965.  
  966.          The torus lies in the X-Y plane. The major and minor radius can be
  967.          entered from its editing menu (see page 32).
  968.  
  969.  
  970.          6.3.6.    Disc
  971.  
  972.          This is a disc that lies in the XY-plane and has an outer radius
  973.          of 1.0. The inner radius can be set from the objects editing menu.
  974.  
  975.  
  976.          6.3.7.    Plane
  977.  
  978.          This is an endless plane that lies in the XY-plane.
  979.  
  980.  
  981.          6.3.8.    Rotational sweep
  982.  
  983.          The rotational sweep is an object defined by taking a number of
  984.          curves (segments) and rotating them about the Z-axis.
  985.  
  986.          When MORAY exports a rotational sweeps, it outputs a union of
  987.          smooth_triangles.
  988.  
  989.  
  990.          6.3.9.    Translational sweep
  991.  
  992.          The translational sweep is an object defined by extruding a number
  993.          of curves (segments) that make a closed outline, from Z=0 to Z=1.
  994.  
  995.          This is output as a union of triangles and smooth_triangles. The
  996.          cap and base planes are created by splitting the polygon, obtained
  997.          by connecting all edge points together, into triangles.
  998.  
  999.  
  1000.           User Manual                    Page 20              MORAY V1.5
  1001.           --------------------------------------------------------------
  1002.  
  1003.  
  1004.          6.3.10.   Tapering sweep
  1005.  
  1006.          This is a sweep that is defined by taking a number of curves
  1007.          (segments) that make a closed outline and extruding them from Z=1
  1008.          to Z=0, except that all points on the curves move towards and meet
  1009.          at (0,0,0).
  1010.  
  1011.  
  1012.          6.3.11.   Bezier Patches
  1013.  
  1014.          A single bezier patch (the POV-Ray primitive) is defined by
  1015.          sixteen control points. This does not give you many possibilities
  1016.          of deforming the surface. Basically you can make a 'hump' type
  1017.          shape or a paper sheet like object. To make more complex bezier
  1018.          patch shapes you need to have more control points, i.e. more
  1019.          patches.
  1020.  
  1021.          MORAY has the ability of handling connected bezier patches.
  1022.  
  1023.          Getting two adjoining bezier patches to meet at a common edge is
  1024.          relatively easy, all you need to do is to place the control points
  1025.          that are along the shared edge at the same positions. But getting
  1026.          the patches to make smooth transitions is difficult, because the
  1027.          slope at these shared control points need to be the same in both
  1028.          patches. This is very tedious to do by hand.
  1029.  
  1030.          MORAY handles this for you, making sure that adjoining patches
  1031.          will not only connect correctly, but will also exhibit 1st order
  1032.          continuity, meaning that you won't see a crease or edge where the
  1033.          patches join. This is done by not allowing the user to move the
  1034.          shared control points directly. The shared control points are
  1035.          calculated by MORAY according to how you move the surrounding
  1036.          control points. This ensures that the slope at the control point
  1037.          exhibits 1st order continuity.
  1038.  
  1039.          You can create a sheet of patches. The patches are created so that
  1040.          they share their common edges. You can create one that is 3 by 2
  1041.          sheets, for example. This patch starts out flat.
  1042.  
  1043.          You can also create a cylinder type structure. It starts out as a
  1044.          cylinder and can be deformed to make a bulging pipe, for example.
  1045.          Two bezier patches share the two opposite edges to make up one
  1046.          cylinder segment. You can specify how many of these segments to
  1047.          stack on top of each other.
  1048.  
  1049.          You can also create another cylinder type-structure. It also start
  1050.          out as a cylinder where not two, but four patches make up one
  1051.          cylinder segment. This arrangement is used for the body and lid of
  1052.          that classical graphic object, the Utah teapot. The spout and
  1053.          handle are made of the 2 cylinder version, above.
  1054.  
  1055.          The patches you create will remain one object, no matter how many
  1056.          sub patches make up the object.
  1057.  
  1058.  
  1059.           User Manual                    Page 21              MORAY V1.5
  1060.           --------------------------------------------------------------
  1061.  
  1062.  
  1063.          6.3.12.   Heightfields
  1064.  
  1065.          MORAY can handle heightfields, although they are shown as cubes,
  1066.          i.e. the heightfield data is not read in from the file. This would
  1067.          be too much data and consume a lot of memory and would bog down
  1068.          redraws pretty heavily. It does have arrows on the axis at the
  1069.          bottom of the height field, to help you with the orientation of
  1070.          the height field. The arrow on the X-axis is closed, while the
  1071.          arrow on the Y-axis is open. This represents the X- and Y-
  1072.          dimensions of the image you are using as a heightfield.
  1073.  
  1074.          Horizontal lines around the box show you the current waterlevel.
  1075.  
  1076.  
  1077.          6.3.13.   Light sources
  1078.  
  1079.          Light sources (point lights, spotlights and arealights) are not
  1080.          really primitive objects, since one can't see them, all they do is
  1081.          let us see the rest. The point light source fits into the
  1082.          primitive object category from the way that MORAY handles it and
  1083.          what you can do with it.
  1084.  
  1085.          While you can place point light sources in composites (group
  1086.          objects), this is not possible with area- and spotlights. So if
  1087.          you make a desk lamp, you can attach the light source to the globe
  1088.          in the lamp. MORAY will calculate the correct position according
  1089.          to the lamp transformations and export the lights in the correct
  1090.          position to POV.
  1091.  
  1092.          MORAY supports the point-light, the spot-light and the area-light
  1093.          light source.
  1094.  
  1095.  
  1096.  
  1097.          6.4.  The Non-Primitives
  1098.  
  1099.          These are CSG objects and Group objects.
  1100.  
  1101.  
  1102.          6.4.1.    CSG Objects
  1103.  
  1104.          CSG objects are made up of one or more primitives or CSG objects
  1105.          and can be a union, a difference or an intersection of these sub-
  1106.          objects. They are not displayed as a CSG wireframe, though. All
  1107.          subobjects are shown (depending on their visibility). Pointlights
  1108.          are always 'unioned' to a CSG object, since it's not really useful
  1109.          to take a difference with an infinitely small point.
  1110.  
  1111.  
  1112.           User Manual                    Page 22              MORAY V1.5
  1113.           --------------------------------------------------------------
  1114.  
  1115.  
  1116.          6.4.2.    Group Objects
  1117.  
  1118.          Group objects are made up of one or more primitives, CSG- or Group
  1119.          objects. They are similar to composites in POV-Ray except that you
  1120.          can place all light sources in Groups. Please note that you should
  1121.          not scale groups that have an area- or a spotlight in them, since
  1122.          this will result in errors.
  1123.  
  1124.  
  1125.  
  1126.          6.5.  The Cameras
  1127.  
  1128.          The cameras are special objects. You can define the position, the
  1129.          lookat and the aperture of the camera. The position and the lookat
  1130.          can be defined to be relative to another object. Thus you could
  1131.          tell the camera to always look at a certain object. You can also
  1132.          tell MORAY how large to display the camera in the wire frame
  1133.          display. MORAY will create the correct definition for POV-Ray.
  1134.  
  1135.          The scaling fields of the camera objects are used differently from
  1136.          the way they work with normal objects. The X-scale specifies how
  1137.          large to draw the viewing pyramid (which has nothing to do with
  1138.          POV), the Z-scale specifies the aperture of the camera in degrees.
  1139.  
  1140.          The rotation fields are not used in cameras.
  1141.  
  1142.          The translation fields define the position of the camera or the
  1143.          position of the lookat point. These can be switched for moving on
  1144.          the screen. Thus there are effectively two sets of translation
  1145.          parameters for cameras, one for the position and one for the
  1146.          lookat.
  1147.  
  1148.  
  1149.  
  1150.          6.6.  The Textures
  1151.  
  1152.          MORAY lets you create new textures or use the ones that come with
  1153.          POV (listed in MRYTXTR.LST, to which you can add your own).
  1154.          When exporting a new scene, MORAY creates a *.POV and an *.INC
  1155.          file.
  1156.  
  1157.          The INC file contains all the texture definitions of the scene
  1158.          (except for predefined ones). You can then go into this INC file
  1159.          and change the settings of the texture to suit your needs. When
  1160.          you then export the same scene again, MORAY knows that you may
  1161.          have changed the texture in the INC file and thus will not export
  1162.          the texture again. New textures, however, will be exported.
  1163.  
  1164.          The POV file contains the camera, object and light definitions and
  1165.          includes the INC file.
  1166.  
  1167.  
  1168.           User Manual                    Page 23              MORAY V1.5
  1169.           --------------------------------------------------------------
  1170.  
  1171.  
  1172.          When you create a new texture you can select a pre-defined texture
  1173.          from a list defined in one of the support files (MRYTXTR.LST), or
  1174.          you can create your own. If you create a pre-defined one you can
  1175.          make changes to the parameters that are available in MORAY. MORAY
  1176.          will then use the pre-defined setting, but will 'overwrite' the
  1177.          settings that you changed. If you create your own you can change
  1178.          the ambient, diffuse, specular, reflection and refraction
  1179.          components as well as the colour.
  1180.  
  1181.  
  1182.           User Manual                    Page 24              MORAY V1.5
  1183.           --------------------------------------------------------------
  1184.  
  1185.  
  1186.  
  1187.  
  1188.          7. Creating an Object
  1189.  
  1190.  
  1191.          To create a new object, click on the CREATE button in the main
  1192.          menu or press Alt-N (for New).
  1193.  
  1194.          You will be presented with a list of possible objects you can
  1195.          create.
  1196.  
  1197.          Click on the object type of object you wish to create.
  1198.  
  1199.          You will be asked for a name for the object. This must be a unique
  1200.          name, i.e. no other object in the scene is allowed to have the
  1201.          same name. If you enter a name that already exists, MORAY will not
  1202.          create this object.
  1203.  
  1204.          MORAY then creates the object and places it in the global object
  1205.          list. If you are creating a bezier patch you will first be
  1206.          presented with another menu. After this and for all other objects
  1207.          you are then placed in the objects editing menu, where you can
  1208.          specify further information about the object.
  1209.  
  1210.  
  1211.  
  1212.          7.1.  Primitives
  1213.  
  1214.          All primitives require no more information and you are presented
  1215.          with the objects editing menu (see page 30, Editing an Object).
  1216.  
  1217.  
  1218.  
  1219.          7.2.  Bezier patches
  1220.  
  1221.          To create a bezier patch, you need to tell MORAY what type of
  1222.          patch you would like.
  1223.  
  1224.          If you want a sheet type patch, click on SHEET. Then select how
  1225.          many basic patches (i.e. the POV-Ray primitive type patch) to
  1226.          create. You need to specify how many in X and how many in Y should
  1227.          be created. Then click on OK to create the patch.
  1228.  
  1229.          If you want a cylinder-type patch, click on the 2-patch or 4-patch
  1230.          cylinder button. Then specify how many cylinder parts should be
  1231.          stacked on top of each other. Then press OK to create the patch.
  1232.  
  1233.          After the patch has been created you will be placed in the object
  1234.          editing menu (see page 53, Bezier Editor).
  1235.  
  1236.  
  1237.           User Manual                    Page 25              MORAY V1.5
  1238.           --------------------------------------------------------------
  1239.  
  1240.  
  1241.          7.3.  CSG and Group Objects
  1242.  
  1243.          If you create a CSG or Group object you can specify which objects
  1244.          to combine to a CSG or Group.
  1245.  
  1246.          Before creating a CSG or Group object, you should (but don't have
  1247.          to) create all the parts that make up the CSG or Group object and
  1248.          then create a CSG or Group object.
  1249.  
  1250.          After entering the name of the object, you will be presented with
  1251.          the Object Browser. This is to let you add all the objects that
  1252.          make up the CSG or Group to it.
  1253.  
  1254.          When creating a CSG, you should first click on the base object.
  1255.          When making a difference, for example, this would be the object
  1256.          *from* which to subtract.
  1257.          When creating a group click on any one of the objects that belong
  1258.          to the group.
  1259.  
  1260.          Then click the right mouse button. This object will be added to
  1261.          the CSG definition and will disappear from the object browser (for
  1262.          the moment).
  1263.  
  1264.          Proceed in this manner with all subobjects until you have added
  1265.          them all. Now click on the right mouse button without having an
  1266.          object selected. This terminates the addition of subobjects to the
  1267.          CSG or Group object.
  1268.  
  1269.  
  1270.           User Manual                    Page 26              MORAY V1.5
  1271.           --------------------------------------------------------------
  1272.  
  1273.  
  1274.  
  1275.  
  1276.          8. Creating a Texture
  1277.  
  1278.  
  1279.          To create a texture select TEXTURE from the CREATE menu or CREATE
  1280.          from the TEXTURE menu.
  1281.  
  1282.          You will be shown a list of pre-defined textures available and
  1283.          various other types.
  1284.  
  1285.          Please refer to page 38 for detailed instruction on textures.
  1286.  
  1287.  
  1288.  
  1289.          8.1.  Predefined POV texture
  1290.  
  1291.          MORAY knows about all textures you put in the TextureList (see
  1292.          page 11). The sorted list of these textures is shown in the list
  1293.          box. You can choose one and it will be created for you. If you
  1294.          wish to create another one, simply click on it, otherwise press
  1295.          cancel or click on DONE.
  1296.  
  1297.          When exporting your scene, MORAY will not create the definition of
  1298.          this texture, it's up to you to include the correct file
  1299.          containing the texture declaration. If you want to use one of
  1300.          these basic textures and just change a poarameter or two, you can
  1301.          do so from the Texture Editing menu. All buttons are set to
  1302.          'NO CHNG' and setting one of the parameters will make MORAY
  1303.          enhance this texture in the POV file.
  1304.  
  1305.  
  1306.  
  1307.          8.2.  Opaque texture
  1308.  
  1309.          This allows you to create the texture from within MORAY. You can
  1310.          change the ambient, diffuse, specular and various other
  1311.          components.
  1312.  
  1313.          When exporting you scene, MORAY will create a texture definition
  1314.          according to your settings.
  1315.  
  1316.  
  1317.  
  1318.          8.3.  Checker texture
  1319.  
  1320.          This texture allows you to create a checker texture, that you can
  1321.          graphically place on an object. Once you have assigned a texture
  1322.          of this type to an object, it will be displayed on the wire frame
  1323.          display. It is a grid of three vertical and three horizontal lines
  1324.          that form the checkers.
  1325.  
  1326.          You can select this texture graphically and scale, rotate and move
  1327.          it about just like any other object.
  1328.  
  1329.  
  1330.           User Manual                    Page 27              MORAY V1.5
  1331.           --------------------------------------------------------------
  1332.  
  1333.  
  1334.          8.4.  Imagemap texture
  1335.  
  1336.          This texture allows you to create an imagemap texture, that you
  1337.          can graphically place on an object. Once you have assigned a
  1338.          texture of this type to an object, it will be displayed on the
  1339.          wire frame display.
  1340.  
  1341.          The wireframe display of the imagemap texture consists of two
  1342.          lines, one represents the X-axis of the image and has a closed
  1343.          arrow on the end, while the other line represents the Y-axis of
  1344.          the image and has an open arrow on it.
  1345.  
  1346.          MORAY supports three projection types:
  1347.  
  1348.            - Planar : This is like a slide projector. The wireframe is a
  1349.              flat rectangle.
  1350.  
  1351.            - Spherical : This wraps an image around an imaginary sphere. The
  1352.              X-axis is represented by a line going around the equator of
  1353.              this sphere. The Y-axis is represented by a line going from the
  1354.              south to the north pole, with an open arrow at the north pole
  1355.              and placed at the seam where the left and right edges of the
  1356.              image meet.
  1357.  
  1358.            - Cylindrical : This wraps an image around an imaginary cylinder.
  1359.              The X-axis is represented by a line going around the bottom of
  1360.              this cylinder. The Y-axis is represented by a line going from
  1361.              the top edge of the cylinder to the bottom edge, with an open
  1362.              arrow at the top edge and placed at the seam where the left and
  1363.              right edges of the image meet.
  1364.  
  1365.          You can select this texture graphically and scale, rotate and move
  1366.          it about just like any other object.
  1367.  
  1368.  
  1369.  
  1370.          8.5.  Wood texture
  1371.  
  1372.          This texture is meant for making it easier to place wood on an
  1373.          object. It also has a graphical display, like the imagemap. The
  1374.          display looks like a cylinder. The wood will have one ring
  1375.          (roughly) in this circle. You can now select the wood and scale
  1376.          and rotate it to make the object look like it was cut out of the
  1377.          wood at a certain angle or position.
  1378.  
  1379.  
  1380.           User Manual                    Page 28              MORAY V1.5
  1381.           --------------------------------------------------------------
  1382.  
  1383.  
  1384.  
  1385.  
  1386.          9. Selecting an Object
  1387.  
  1388.  
  1389.          Before you can edit or change an object, you need to select it.
  1390.          Only one object can be selected at any one time. It is displayed
  1391.          in yellow on the screen, whereas all the other objects are gray.
  1392.  
  1393.  
  1394.  
  1395.          9.1.  Graphically
  1396.  
  1397.          This is the easiest and most straightforward way to select an
  1398.          object or a camera, or a texture, or a bounding box. Move the
  1399.          cursor over a line that belongs to the object you want to select.
  1400.          Then press and hold the Shift-Key and then the left mouse button.
  1401.          Then drag the mouse to open a rectangle that covers the line, i.e.
  1402.          the line should run through the rectangle you make.
  1403.          The first object MORAY finds that has a line running through this
  1404.          rectangle will be the object that is selected.
  1405.          Since cameras are always the first in the list to be checked, it
  1406.          is quite simple to select one since you don't have to worry about
  1407.          enclosing other objects in the rectangle.
  1408.  
  1409.  
  1410.  
  1411.          9.2.  Using the Object Browser
  1412.  
  1413.          If you click on the SELECT button or press Alt-S in the main menu
  1414.          a window with a tree-like display of the names of all objects will
  1415.          be displayed. The names are displayed in buttons. Top-level
  1416.          objects are displayed at the left edge of the window. Sub-objects
  1417.          are displayed to the right of their parents, connected to them by
  1418.          lines. Bounding boxes are displayed in red above the objects they
  1419.          bound.
  1420.  
  1421.          To select an object simply click on the button with the name of
  1422.          the object you want to select, on it. The selected object is
  1423.          displayed on a yellow button. All the sub-objects belonging to the
  1424.          selected object are displayed in a slightly lighter colour. This
  1425.          may differ if you are using the 16-color mode.
  1426.  
  1427.          There are a number of hotkeys available from the Object Browser.
  1428.          For a complete list of hotkeys, see Appendix A: Hotkeys starting
  1429.          on page 60.
  1430.  
  1431.          If you want to edit the object, you can immediately press Alt-E
  1432.          from the browser. The window will then disappear and the normal
  1433.          object editing menu appears. After you have finished editing the
  1434.          object you will be returned to the browser.
  1435.  
  1436.          If you just want to change the objects name there is a shortcut.
  1437.          Pressing Alt-N will let you do this.
  1438.  
  1439.  
  1440.           User Manual                    Page 29              MORAY V1.5
  1441.           --------------------------------------------------------------
  1442.  
  1443.  
  1444.          If you just want to change the objects visibility level there is a
  1445.          shortcut. Pressing 'L' will let you do this.
  1446.  
  1447.          If you want to delete and object you can also press 'D' or Alt-D
  1448.          to delete the selected object. If you press 'D' you will be asked
  1449.          to verify this decision. Alt-D will not ask for verification.
  1450.  
  1451.          You can use the Alt-1 to Alt-9 keys to 'collapse' the object tree.
  1452.          If you have deeply nested objects and just want the basic top
  1453.          view, you can press Alt-2, for example and only top-level objects
  1454.          and their first subobjects are shown. Objects that have collapsed
  1455.          subobjects have a square with an asterisk on them attached.
  1456.  
  1457.          Use Alt-0 to show all the objects in the object tree.
  1458.  
  1459.  
  1460.  
  1461.          9.3.  Selecting the Parent of an Object
  1462.  
  1463.          If you have selected an object and wish to select its parent,
  1464.          press Alt-P. If no parent object exists for the currently selected
  1465.          object, nothing happens.
  1466.  
  1467.  
  1468.  
  1469.          9.4.  Selecting the Texture of an Object
  1470.  
  1471.          To select the texture of an object, press Alt-T while the object
  1472.          that the texture is assigned to is selected. You can now scale,
  1473.          rotate and move it, just like an normal object. This is handy for
  1474.          placing imagemaps.
  1475.  
  1476.          If the texture is either a wood, a checker or an imagemap then you
  1477.          can also select it graphically, just like you would an object.
  1478.  
  1479.  
  1480.  
  1481.          9.5.  Selecting the Bounding Box of an Object
  1482.  
  1483.          You can select the bounding box of the currently selected object
  1484.          by pressing Alt-B. If the object has no bounding box then nothing
  1485.          will happen.
  1486.  
  1487.          You can directly select the bounding box in the object browser
  1488.          (see above) or graphically in the views of the main menu.
  1489.  
  1490.  
  1491.           User Manual                    Page 30              MORAY V1.5
  1492.           --------------------------------------------------------------
  1493.  
  1494.  
  1495.  
  1496.  
  1497.          10.  Editing an Object
  1498.  
  1499.  
  1500.          Before you can edit an object, you need to select it. See the
  1501.          section above on ways to do this.
  1502.  
  1503.  
  1504.  
  1505.          10.1. The Object Edit Menu
  1506.  
  1507.          This is a basic menu that all objects share. It offers controls
  1508.          for changing the texture, the bounding box, the visibility level
  1509.          and the name of the object. If an object has another editor (true
  1510.          for bezier patches and sweeps), you can call an extended editor
  1511.          from this menu. More complex objects will have more buttons added
  1512.          to it.
  1513.  
  1514.  
  1515.          10.1.1.   Assigning a texture
  1516.  
  1517.          There is a list button on the left containing all the names of the
  1518.          currently existing textures of this scene. You can assign one of
  1519.          these textures to the object by clicking on the required texture.
  1520.  
  1521.          If you have not yet created the texture for this object, you can
  1522.          do so by clicking on the NEW button next to the CLR TXTR button.
  1523.          You can then create one or more textures in the Texture Editor
  1524.          (see page 38) and can then assign one of them to the object by
  1525.          clicking on the name of the texture in the listbox.
  1526.  
  1527.          The name of the currently assigned texture is shown in a label
  1528.          button. Above this label button is a button with the legend CLR
  1529.          TXTR. This button can be used to clear the reference to the
  1530.          texture.
  1531.  
  1532.          The texture name may have an asterisk ('*') in front of it. This
  1533.          means that the texture has been inherited from the parent object.
  1534.          Clicking on the CLR TXTR button in this case will have no effect.
  1535.  
  1536.  
  1537.          10.1.2.   Assigning a bounding box
  1538.  
  1539.          There is a list button containing all the names of the currently
  1540.          available (i.e. not assigned) bounding boxes. You can assign one
  1541.          of these bounding boxes to the object by clicking on the required
  1542.          bounding box. It will disappear from the list.
  1543.  
  1544.  
  1545.           User Manual                    Page 31              MORAY V1.5
  1546.           --------------------------------------------------------------
  1547.  
  1548.  
  1549.          You can also let MORAY create a bounding box for you. Do this by
  1550.          clicking on the NEW button next to the CLR BOUND button. MORAY
  1551.          will examine the object (together with possible subobjects) and
  1552.          create a bounding box that closely bounds it (them). Note that all
  1553.          CSG objects will be treated as a union. The bounds that MORAY
  1554.          creates will always enclose all sub-objects, even if the CSG is a
  1555.          difference.
  1556.  
  1557.          The name of the currently assigned bounding box is shown in a
  1558.          label button. Above this label button is a button with the legend
  1559.          CLR BOUND. This button can be used to clear the reference to the
  1560.          bounding box. The bounding box will then be placed in the bounding
  1561.          box list.
  1562.  
  1563.          The bounding box may have an asterisk ('*') in front of it. This
  1564.          means that the bounding box has been inherited from the parent
  1565.          object.
  1566.  
  1567.  
  1568.          10.1.3.   Changing the visibility
  1569.  
  1570.          There are four buttons concerned with the visibility level of an
  1571.          object. There is a 'R' button, a '+' button, a display button, a
  1572.          '-' button and another display button.
  1573.  
  1574.          The 'R' button specifies whether the visibility of the object is
  1575.          relative or absolute. If the button is depressed then the level is
  1576.          relative to the parents level.
  1577.  
  1578.          The first display button shows the current visibility level that
  1579.          is assigned to this object. If it is prefixed by a plus sign, then
  1580.          the visibility level is relative to the parent object.
  1581.  
  1582.          The second display button shows the visibility level that results
  1583.          from this objects level and that of the parent, according to the
  1584.          settings of the 'R' button.
  1585.  
  1586.          If it is prefixed by an asterisk, then the visibility level is
  1587.          inherited from the parent object.
  1588.  
  1589.          Pressing the '+' or '-' buttons increases or decreases the
  1590.          visibility level. If you decrease the visibility level to 0, the
  1591.          object will inherit the visibility from its parent, no matter how
  1592.          the 'R' button is set.
  1593.  
  1594.  
  1595.          10.1.4.   Setting 'no_shadow'
  1596.  
  1597.          By clicking on the no_shadow button you can specify that the
  1598.          object should not cast a shadow.
  1599.  
  1600.  
  1601.           User Manual                    Page 32              MORAY V1.5
  1602.           --------------------------------------------------------------
  1603.  
  1604.  
  1605.          10.1.5.   Changing the name
  1606.  
  1607.          The name of the object is displayed in a label button. Pressing
  1608.          the NAME button will pop up an editing window, allowing you to
  1609.          enter the new name.
  1610.  
  1611.  
  1612.          10.1.6.   Calling the extended editor
  1613.  
  1614.          If an object has an extended editor the EXTENDED EDIT button will
  1615.          be available. Press this button to enter the extended editor. See
  1616.          page 53 for the extended editors.
  1617.  
  1618.  
  1619.          10.1.7.   Leaving the Object edit menu
  1620.  
  1621.          To leave this object editing menu either press the DONE button or
  1622.          click the right mouse button.
  1623.  
  1624.  
  1625.  
  1626.          10.2. The Torus Edit menu
  1627.  
  1628.          The torus menu offers two buttons more than the normal object
  1629.          menu. These are used to set the outer and inner radii of the
  1630.          torus. Clicking on one of the buttons will pop up an editing
  1631.          window, allowing you to specify the new radius.
  1632.  
  1633.  
  1634.  
  1635.          10.3. The Heightfield Edit menu
  1636.  
  1637.          The heightfield menu offers a button to specify the filename of
  1638.          the heightfield and the water level.
  1639.  
  1640.          Although you can enter any file name, MORAY will only work
  1641.          correctly on GIF, TGA and POT files. If you specify another file
  1642.          name, you will need to edit the POV scene file. Clicking on the
  1643.          buttons will pop up an editing window, allowing you to specify the
  1644.          file name.
  1645.  
  1646.          To change the water level, you can use the slider or click on the
  1647.          number to set it to the value you wish. The value goes from 0 to
  1648.          255.
  1649.  
  1650.  
  1651.  
  1652.          10.4. The Light Edit menu
  1653.  
  1654.          The editing menu for lights is similar to the normal object
  1655.          editing menu, except that the texture and bounding box lists are
  1656.          inactive.
  1657.  
  1658.          Additionally it contains sliders for specifying the colour and/or
  1659.          brightness of the light.
  1660.  
  1661.  
  1662.           User Manual                    Page 33              MORAY V1.5
  1663.           --------------------------------------------------------------
  1664.  
  1665.  
  1666.          The top three sliders are R, G and B components respectively. If
  1667.          you want coloured lights, use these sliders to set the light
  1668.          colour.
  1669.  
  1670.          The fourth slider is set by MORAY to the gray equivalent of the
  1671.          colours. If you manipulate the fourth slider you are specifying
  1672.          white light and the slider sets the brightness of the light. All
  1673.          sliders will then be set to the same value.
  1674.  
  1675.  
  1676.  
  1677.          10.5. The Spotlight Edit menu
  1678.  
  1679.          The editing menu for spotlights is similar to the normal light
  1680.          editing menu, except that the parameters for the spotlight can be
  1681.          set.
  1682.  
  1683.          There are three sliders that define the spotlight, two of which
  1684.          are relevant for POV and one only for MORAY.
  1685.  
  1686.          The first slider, labelled 'FALL.' defines the falloff of the POV
  1687.          spotlight in degrees. This is the outer edge of the 'cone' that
  1688.          defines the spotlight. No light will fall outside this cone.
  1689.  
  1690.          The second slider, labelled 'RAD.' defines the radius of the POV
  1691.          spotlight. This is the inner edge of the spotlight, inside which
  1692.          the light arrives in full brightness.
  1693.  
  1694.          The third slider is used as a scaling factor to make the wireframe
  1695.          display of the cone longer or shorter. This is so that you can set
  1696.          the spotlight cone length so that it ends at your point of
  1697.          interest. This allows you to judge how big to make the cone.
  1698.  
  1699.  
  1700.  
  1701.          10.6. The Arealight Edit menu
  1702.  
  1703.          The editing menu for arealights is similar to the normal light
  1704.          editing menu, except that the parameters for the arealight can be
  1705.          set.
  1706.  
  1707.          You can change the subdivisions of the are light, by setting the
  1708.          PSEUDO-LIGHT variables. If you want to make a long string of
  1709.          lights, set the X component to 1. Setting the PSEUDO-LIGHT values
  1710.          does not affect the geometric size of the arealight. You can use
  1711.          the normal object transformations to scale, rotate and move the
  1712.          light. The settings specify how many subdivisions there are in the
  1713.          arealight.
  1714.  
  1715.          The slider labelled 'ADAPTIVE' can be used to set the adaptive
  1716.          parameter of the arealight.  It determines how many times at least
  1717.          to subdivide the light dimensions when doing shadow test. Please
  1718.          see the POV documentation for a more detailed explanation.
  1719.  
  1720.  
  1721.           User Manual                    Page 34              MORAY V1.5
  1722.           --------------------------------------------------------------
  1723.  
  1724.  
  1725.          The JITTER button can be used to tell POV to jitter the shadow
  1726.          rays. This reduces banding in the shadow of an area light. If the
  1727.          button is depressed then jittering is enabled.
  1728.  
  1729.  
  1730.  
  1731.          10.7. The Group Edit Menu
  1732.  
  1733.          When you edit a group object the basic editing menu described
  1734.          above will be expanded by controls to add and remove sub-objects
  1735.          and a list of the current sub-objects.
  1736.  
  1737.  
  1738.          10.7.1.   Adding a sub-object
  1739.  
  1740.          To add a sub-object click on the ADD OBJECT button. You will be
  1741.          placed in the Object Browser where you can select the object to
  1742.          add to the group. When you confirm the choice by clicking the
  1743.          right mouse button (or pressing ESC) the object will be removed
  1744.          either from the global object list or from the object it was a
  1745.          sub-object of. It will now appear in the object list of the
  1746.          current object.
  1747.  
  1748.  
  1749.          10.7.2.   Removing a sub-object
  1750.  
  1751.          To remove one of the sub-objects click on this object in the list.
  1752.          The UNGROUP button will be activated. Pressing on this button will
  1753.          cause the object to be ungrouped and it will re-appear in the
  1754.          global object list.
  1755.  
  1756.  
  1757.  
  1758.          10.8. The CSG Edit Menu
  1759.  
  1760.          When you edit a CSG object the basic editing menu described above
  1761.          will be expanded by controls to add and remove sub-objects, to
  1762.          show a list of the current sub-objects, to change the order of the
  1763.          sub-objects  and to specify the operation.
  1764.  
  1765.          The first object listed in the sub-object list is the base object.
  1766.          If the CSG is a difference this will be the base object from which
  1767.          all subsequent objects will be removed.
  1768.  
  1769.  
  1770.          10.8.1.   Adding a sub-object
  1771.  
  1772.          To add a sub-object click on the ADD OBJECT button. You will be
  1773.          placed in the Object Browser where you can select the object to
  1774.          add to the CSG. When you confirm the choice by clicking the right
  1775.          mouse button (or pressing ESC) the object will be removed either
  1776.          from the global object list or from the object it was a sub-object
  1777.          of. It will now appear in the object list of the current object.
  1778.  
  1779.  
  1780.           User Manual                    Page 35              MORAY V1.5
  1781.           --------------------------------------------------------------
  1782.  
  1783.  
  1784.          10.8.2.   Removing a sub-object
  1785.  
  1786.          To remove one of the sub-objects click on this object in the list.
  1787.          The UNGROUP button will be activated. Pressing this button will
  1788.          cause the object to be ungrouped and it will re-appear in the
  1789.          global object list.
  1790.  
  1791.  
  1792.          10.8.3.   Changing the CSG operation
  1793.  
  1794.          Press the OPER button until correct CSG operation is shown.
  1795.          Choices are DIFFRNC, INTERSCT, UNION and MERGE.
  1796.  
  1797.          DIFFRNC makes an object that consists of the first subobject in
  1798.          the list minus all the rest, i.e. all subobjects except the first
  1799.          are cut away from the first subobject.
  1800.  
  1801.          INTERSCT makes an object that consists of all the space that all
  1802.          the subobjects share.
  1803.  
  1804.          UNION makes an object that consists of all the subobjects.
  1805.  
  1806.          MERGE makes an object that consists of all the subobjects, but
  1807.          without any internal surfaces (useful for glass objects).
  1808.  
  1809.  
  1810.          10.8.4.   Changing the sub-object order
  1811.  
  1812.          Press the CYCLE button to cycle the subobjects. The first object
  1813.          becomes the last object in the list and the second object becomes
  1814.          the first object. This allows an object that was not added to the
  1815.          CSG object as the first object to be made the main (base) object.
  1816.  
  1817.  
  1818.           User Manual                    Page 36              MORAY V1.5
  1819.           --------------------------------------------------------------
  1820.  
  1821.  
  1822.  
  1823.  
  1824.          11.  Copying objects
  1825.  
  1826.  
  1827.          MORAY allows you to make single or multiple copies of the selected
  1828.          object. If you click on COPY or press Alt-C from the main menu, a
  1829.          sub-menu will open where the main menu was.
  1830.  
  1831.          By default, the menu is setup for making a single, exact copy of
  1832.          the object. If that's all you want to do, just click on OK.
  1833.  
  1834.          There are transformation buttons, just like in the main menu,
  1835.          which enable you to transform each object as it is created. For
  1836.          example, if you make multiple copies of a cube and set the X-
  1837.          Translation to 2, each new cube will be offset by 2 units from the
  1838.          last created cube along the X-axis, forming a line of cubes.
  1839.  
  1840.          There are two modes that you can specify for scaling and rotation.
  1841.          There are also two translation modes but the second is a bit
  1842.          different. Change modes by clicking on the SCALING, ROTATION or
  1843.          TRANSLATE buttons. The button text will change from OFFSET to
  1844.          FACTOR (or ORBIT for the TRANSLATE button) or vice versa.
  1845.  
  1846.          OFFSET means that for the new copy the values that you entered are
  1847.          simply added to the values that the previous copy had. For
  1848.          example, if you've set X-translate to 2, all subsequent copies
  1849.          will be two units away from each other on the X-axis.
  1850.  
  1851.          FACTOR means that the values of the object are *multiplied* by the
  1852.          values that you entered. For example if you've set X-translate to
  1853.          2, and the first cube has a X-translation of 1, the first copy
  1854.          will be at an X-translation of 2, the next at 4, the next at 8,
  1855.          then at 16, at 32 and so on.
  1856.  
  1857.          ORBIT will be explained in the next section.
  1858.  
  1859.          The ATTACH TO SAME OBJECT button specifies whether to attach the
  1860.          new copies, that will be created, to the same parent object as the
  1861.          original object is attached to. This button is only active if the
  1862.          object you are copying has a parent object.
  1863.  
  1864.          The REPEAT COUNT button specifies how many copies to create. Click
  1865.          on the button to enter a repeat count.
  1866.  
  1867.          Once all the settings have been set to your satisfaction, click on
  1868.          the OK button for the objects to be created.
  1869.  
  1870.          If you change your mind, press CANCEL.
  1871.  
  1872.  
  1873.           User Manual                    Page 37              MORAY V1.5
  1874.           --------------------------------------------------------------
  1875.  
  1876.  
  1877.          11.1. Orbiting copies
  1878.  
  1879.          The ORBIT modifier for the TRANSLATE button allows you to place
  1880.          objects in a circle. Since MORAY always does rotation before
  1881.          translation, rotation will always make an object turn about its
  1882.          own axis, never about a point. You need to set the translation
  1883.          values to the actual co-ordinates that result.
  1884.  
  1885.          This copy function will do this for you, by calculating the co-
  1886.          ordinates where the copies need to go in order to simulate a
  1887.          rotation about the origin.
  1888.  
  1889.          Place the object at a point on the orbit. The object is always
  1890.          rotated about the origin. Let's say you want to place 12 cubes in
  1891.          a circle with a radius of 10 about the X-axis. Then set the X-
  1892.          translation of your original to 10. Call the copy function and set
  1893.          TRANS ORBIT mode. Then set the Z-component of the TRANS ORBIT
  1894.          block to 30 (since 360 divided by 12 is 30 degrees). Each
  1895.          successive copy will be placed as if it was rotated about the
  1896.          origin by 30 degrees. Since this function actually sets the
  1897.          translation values of the object, the cubes won't face towards the
  1898.          inside of the circle. To do this, you also need to set the Z-
  1899.          component of the rotation block to 30 degrees. Then each copy will
  1900.          also rotate about its own axis by 30 degrees. Then set the repeat
  1901.          count to 11 (since we already have one in place) and press OK.
  1902.  
  1903.  
  1904.           User Manual                    Page 38              MORAY V1.5
  1905.           --------------------------------------------------------------
  1906.  
  1907.  
  1908.  
  1909.  
  1910.          12.  Texture Editing
  1911.  
  1912.  
  1913.          You can edit some of the parameters of textures that you create in
  1914.          MORAY.
  1915.  
  1916.          There are two ways to edit the texture. Either you need to select
  1917.          it and the click on EDIT or press Alt-E, or you can click on
  1918.          TEXTURES and then select it from the list box.
  1919.  
  1920.          Since an imagemap texture has more parameters that you can change,
  1921.          it has its own additional editing menu. See page 41 for imagemap
  1922.          editing.
  1923.  
  1924.          Pressing TEXTURES from the main menu brings you to the Texture
  1925.          Editor. On the left is a list showing all the texture names that
  1926.          you have created in this scene. Clicking on a texture will set all
  1927.          the buttons to the texture settings of that texture. You can then
  1928.          click on the parameters and enter new values. There are also four
  1929.          sliders with which you can set the pigment (colour and filter) of
  1930.          the texture.
  1931.  
  1932.          The GET button allows you to get colours from the MRYTXTR.LST
  1933.          file, which contains all the colours of the standard COLORS.INC
  1934.          file.
  1935.  
  1936.          The NAME button allows you to change the name of the texture.
  1937.  
  1938.  
  1939.  
  1940.          12.1. Texture Exporting
  1941.  
  1942.          When you first export your scene, MORAY creates a .POV and a .INC
  1943.          file. The .INC file will contain your textures and the .POV file
  1944.          will contain your objects, and will include the .INC file. MORAY
  1945.          also outputs 'markers' into the .INC file (as comments).
  1946.  
  1947.          When you subsequently export the scene again, MORAY will check for
  1948.          the .INC file and if it is found will scan it for the 'markers'
  1949.          that tell it the names of textures that have already been exported
  1950.          to the .INC file. These textures will then not be exported again,
  1951.          because you may have changed them in the .INC file. New textures
  1952.          that you have added since last exporting will be appended to the
  1953.          .INC file.
  1954.  
  1955.          If you delete the .INC file before exporting, MORAY will export
  1956.          all the textures with their current settings.
  1957.  
  1958.  
  1959.           User Manual                    Page 39              MORAY V1.5
  1960.           --------------------------------------------------------------
  1961.  
  1962.  
  1963.          There is something special about the pre-defined textures. You'll
  1964.          notice that when you edit a pre-defined texture all the buttons
  1965.          show 'NOCHNG' (No Change). If you then edit, say, the diffuse
  1966.          component, this component will show the value that you entered.
  1967.          When exporting an object that has this texture attached to it,
  1968.          MORAY will modify the texture statement of that object in the POV
  1969.          file.
  1970.  
  1971.  
  1972.  
  1973.          12.2. Creating a texture
  1974.  
  1975.          To create a new texture press CREATE. You will be presented with a
  1976.          list of predefined textures and a few other buttons with other
  1977.          kinds of textures to create.
  1978.  
  1979.  
  1980.          12.2.1.   Predefined textures
  1981.  
  1982.          These are textures that come with POV-Ray in the TEXTURES.INC
  1983.          file. The texture names in this file have been put in the
  1984.          MRYTXTR.LST file under the [TEXTURES] section. You can add your
  1985.          own textures to this file if you wish, but must make sure that you
  1986.          either add the definition of this texture to your own include file
  1987.          and include this file with your scene, or you must add your
  1988.          texture definition to TEXTURES.INC, although this is not
  1989.          recommended. This is because if you wish to share your POV file
  1990.          with someone, they won't have the texture definition in their
  1991.          TEXTURES.INC file.
  1992.  
  1993.  
  1994.          12.2.2.   Opaque textures
  1995.  
  1996.          This is a normal texture, without gradients or maps, etc. Just a
  1997.          colour and the lighting parameters.
  1998.  
  1999.          All the parameters can be set and adjusted in the editor. Note
  2000.          that once the file has been exported, making changes will not be
  2001.          exported to the .INC file, unless you delete the .INC file. See
  2002.          Texture Exporting above for an explanation.
  2003.  
  2004.  
  2005.          12.2.3.   Checker textures
  2006.  
  2007.          This is also a normal texture. Just two colours and the lighting
  2008.          parameters. The second colour can't be set from within MORAY, it
  2009.          is always white.
  2010.  
  2011.          The wireframe display consists of six lines, three vertical and
  2012.          three horizontal. The spacing between these lines represents one
  2013.          unit, i.e. the squares created by the lines define one checker.
  2014.  
  2015.  
  2016.           User Manual                    Page 40              MORAY V1.5
  2017.           --------------------------------------------------------------
  2018.  
  2019.  
  2020.          All the parameters can be set and adjusted in the editor. Note,
  2021.          that once the file has been exported, making changes will not be
  2022.          exported to the .INC file, unless you delete the .INC file. See
  2023.          Texture Exporting above for an explanation.
  2024.  
  2025.  
  2026.          12.2.4.   Wood textures
  2027.  
  2028.          This texture adds the wood and turbulence keywords as well as a
  2029.          simple colour map. This texture is also displayed in the wireframe
  2030.          views when assigned to an object to help you see how the rings are
  2031.          placed and where the major axis runs. You can also scale, rotate
  2032.          and translate the texture to find the correct orientation for your
  2033.          wood.
  2034.  
  2035.          The wireframe display consists of a cylinder running along the
  2036.          major axis and approximately describe the first ring
  2037.          circumference.
  2038.  
  2039.          All the parameters can be set and adjusted in the editor. Note,
  2040.          that once the file has been exported, making changes will not be
  2041.          exported to the .INC file, unless you delete the .INC file. See
  2042.          Texture Exporting above for an explanation.
  2043.  
  2044.  
  2045.          12.2.5.   ImageMap textures
  2046.  
  2047.          This texture is also displayed in the wireframe views when
  2048.          assigned to an object to help you see how the image will be
  2049.          mapped. You can also scale, rotate and translate the texture to
  2050.          find the correct orientation for the imagemap.
  2051.  
  2052.          MORAY supports three projection types: planar, spherical and
  2053.          cylindrical.
  2054.  
  2055.          For the planar imagemap, the wireframe display consists of a
  2056.          square with arrows on the axis, describing the orientation of the
  2057.          image. The origin of the two arrows represents the lower left
  2058.          corner of the image file. The closed arrow runs along the X-axis
  2059.          (horizontal) of the image, while the open arrow runs along the Y-
  2060.          axis (vertical) of the image.
  2061.  
  2062.          For the spherical imagemap, the wireframe display consists of a
  2063.          circle around the equator of the sphere and a line along the seam
  2064.          from one pole to the other. The closed arrow runs along the X-axis
  2065.          (horizontal) of the image, while the open arrow runs along the Y-
  2066.          axis (vertical) of the image.
  2067.  
  2068.          For the cylindrical imagemap, the wireframe display consists of a
  2069.          circle around the bottom of the cylinder and a line along the seam
  2070.          from the bottom to the top of the cylinder. The closed arrow runs
  2071.          along the X-axis (horizontal) of the image (around the cylinder),
  2072.          while the open arrow runs along the Y-axis (vertical) of the
  2073.          image.
  2074.  
  2075.  
  2076.           User Manual                    Page 41              MORAY V1.5
  2077.           --------------------------------------------------------------
  2078.  
  2079.  
  2080.          All the lighting parameters can be set and adjusted in the editor.
  2081.          Changing the colour will not have an effect, since the colour
  2082.          comes from the image file.
  2083.          Note, that if the scene has been exported before, these changes
  2084.          will not be reflected in the .INC file, unless you delete the .INC
  2085.          file. See Texture Exporting above for an explanation.
  2086.  
  2087.          The Imagemap texture also has it's own editor, next to the editing
  2088.          facilities in the texture editor. Here you can set the filename,
  2089.          tiling and smoothing of the imagemap texture.
  2090.  
  2091.          To get to this editor, press Alt-E or click on EDIT from the main
  2092.          menu, while this texture is selected. You will then see a new
  2093.          editing menu.
  2094.  
  2095.          From this editing menu, click on FILENAME to specify the filename
  2096.          to use for the texture map. You need to specify the extension,
  2097.          too, since MORAY extracts the extension when exporting to POV to
  2098.          specify the image file type.
  2099.  
  2100.          Click on the ONCE/TILED button to toggle between the two. The
  2101.          displayed status is the status that will be exported. If the
  2102.          button says ONCE the texture will only be mapped once onto this
  2103.          body.
  2104.  
  2105.          Click on the ROUGH/SMOOTH button to switch on (or off) the
  2106.          interpolation parameter. The displayed status is the one that is
  2107.          used.
  2108.  
  2109.  
  2110.  
  2111.          12.3. Deleting a texture
  2112.  
  2113.          You can only remove unused textures, i.e. textures that are not
  2114.          being used by objects. To delete textures that are not being used
  2115.          in the scene, click on the DEL UNUSD button.
  2116.  
  2117.  
  2118.  
  2119.          12.4. Copying a texture
  2120.  
  2121.          You can use the COPY button in the Texture Editing menu to make a
  2122.          copy of the currently selected texture. You will be prompted for a
  2123.          new name and the texture will then be created, if it doesn't exist
  2124.          already.
  2125.  
  2126.  
  2127.  
  2128.          12.5. Replacing a texture
  2129.  
  2130.          You may change your mind about what type of texture to assign to
  2131.          an object, or you may work with dummy textures until the geometry
  2132.          (i.e. scene layout) is finished and then wish to set the textures
  2133.          to their correct setting.
  2134.  
  2135.  
  2136.           User Manual                    Page 42              MORAY V1.5
  2137.           --------------------------------------------------------------
  2138.  
  2139.  
  2140.          This function can be used to accomplish this. You select the
  2141.          texture in the list on the left of the menu that you want to
  2142.          replace and then click on REPLACE. You then need to create the
  2143.          texture (see above). If you've defined it somewhere already then
  2144.          create a pre-defined one with the correct name. When done, MORAY
  2145.          will replace all references to the first texture by references to
  2146.          the newly created one.
  2147.  
  2148.  
  2149.  
  2150.          12.6. Texture display
  2151.  
  2152.          The imagemap textures are displayed in the wire frame display to
  2153.          aid you in placing (scaling, moving, rotating) it relative to your
  2154.          object. They have arrows on the two axis that represent the image
  2155.          to assist you in seeing exactly how the image file will be mapped
  2156.          onto the object.
  2157.  
  2158.          The wood texture is also displayed in the wire frame display to
  2159.          help you place it correctly. It is displayed as a cylinder around
  2160.          center of the wood. Use this as a reference when scaling  the
  2161.          texture.
  2162.  
  2163.  
  2164.           User Manual                    Page 43              MORAY V1.5
  2165.           --------------------------------------------------------------
  2166.  
  2167.  
  2168.  
  2169.  
  2170.          13.  The main screen
  2171.  
  2172.  
  2173.          The main screen is divided into four views. To the right and below
  2174.          these views are menu areas. On the main screen the area to the
  2175.          right contains the Main menu and the area below the views is
  2176.          empty.
  2177.  
  2178.          Most of the menu buttons have underlined letters. These letters
  2179.          are the corresponding hotkeys of these buttons.
  2180.  
  2181.  
  2182.  
  2183.          13.1. The three 2D Views
  2184.  
  2185.          The 2D views represent views from above, from the side and from
  2186.          the front. Each view can be separately panned and zoomed and can
  2187.          have a labelled grid to aid you in placing objects.
  2188.  
  2189.  
  2190.          13.1.1.   Disabling a view
  2191.  
  2192.          You can disable a view by moving the cursor over it and pressing
  2193.          the '-' key. The view will be cleared and will not be refreshed
  2194.          when you change the scene.
  2195.  
  2196.  
  2197.          13.1.2.   Enabling a View
  2198.  
  2199.          You can enable a disabled view by moving the cursor over it and
  2200.          pressing the '+' key. The view will from then on be updated when
  2201.          you change the scene.
  2202.  
  2203.  
  2204.          13.1.3.   Enlarging a View
  2205.  
  2206.          You can enlarge a view by placing your cursor over the view in
  2207.          question and pressing either the middle button, if you have a
  2208.          three-button mouse, or both left and right buttons if you have a
  2209.          two-button mouse. The view will be enlarged to cover the area
  2210.          previously covered by the three views. If you are using a two-
  2211.          button mouse it is a good idea to make sure the right button is
  2212.          pressed slightly ahead of the left button.
  2213.  
  2214.          Pressing the same button(s) again will make the view revert to its
  2215.          original size.
  2216.  
  2217.  
  2218.          13.1.4.   Toggling the Grid in a View
  2219.  
  2220.          You can turn the grid in a view on and off by moving the cursor
  2221.          into the specific view in question and pressing Alt-G. This will
  2222.          turn the grid off if it was on and on if it was off.
  2223.  
  2224.  
  2225.           User Manual                    Page 44              MORAY V1.5
  2226.           --------------------------------------------------------------
  2227.  
  2228.  
  2229.          13.1.5.   Panning a View
  2230.  
  2231.          Each view can be separately panned to bring certain areas of a
  2232.          scene into view. To do this, move the cursor into the view you
  2233.          want to pan. Press and hold the CTRL-key. Now press and hold the
  2234.          left mouse button and drag the scene. The scene will follow the
  2235.          mouse. When done release everything.
  2236.  
  2237.  
  2238.          13.1.6.   Zooming a View
  2239.  
  2240.          To zoom into or out of a view, move the cursor to the view in
  2241.          question. Now press and hold the ALT-key. Press and hold the left
  2242.          mouse button and move the mouse up (away from you), to zoom out of
  2243.          the view or move it down (towards you) to zoom into the view.
  2244.  
  2245.          To zoom the view in such a way that all objects will be visible in
  2246.          the view, press Alt-Z.
  2247.  
  2248.          You can also define a rectangle in the view that defines an area
  2249.          of interest that you want to zoom into. Do this by additionally
  2250.          pressing and holding the Shift key. In other words, press and hold
  2251.          ALT and Shift and the left mouse button. Then drag open a
  2252.          rectangle about the area of interest and let go of all the
  2253.          buttons. This rectangle will be zoomed into the view.
  2254.  
  2255.  
  2256.  
  2257.          13.2. The 3D View
  2258.  
  2259.          The 3D view is the view that the selected camera sees and the view
  2260.          that the raytracer will create. If this window is blank, you
  2261.          either don't have a camera defined, or it's pointing away from any
  2262.          objects in the scene, or you're out of memory.
  2263.  
  2264.          This view can also be enlarged and disabled (see above).
  2265.  
  2266.  
  2267.          13.2.1.   The Rendering Window
  2268.  
  2269.          You can set the rendering window for POV in this view, too. This
  2270.          is an area of the view that POV will trace. MORAY will create a
  2271.          GO.BAT file with the correct commandline parameters for POV,
  2272.          reflecting the window you have defined.
  2273.  
  2274.          You define this window by opening a rectangle in this view (no Alt
  2275.          or Crtl or Shift) about the area you want rendered. MORAY will
  2276.          create a GO.BAT file in your POV scene directory (i.e. where the
  2277.          POV file is also written to), that has the correct commandline
  2278.          switches.
  2279.  
  2280.  
  2281.           User Manual                    Page 45              MORAY V1.5
  2282.           --------------------------------------------------------------
  2283.  
  2284.  
  2285.          13.3. Interacting with Objects
  2286.  
  2287.          You interact graphically with the selected object in the views on
  2288.          the screen. All interaction is done by moving the cursor over the
  2289.          view where you want to interact with the object, depressing the
  2290.          left mouse button and moving the mouse until the object has been
  2291.          manipulated to your satisfaction and then releasing the mouse
  2292.          button.
  2293.  
  2294.          What happens to the object when you do this is determined by the
  2295.          currently set interaction mode.
  2296.  
  2297.          There are three basic interaction modes: scaling, rotating and
  2298.          moving. Scaling is divided into uniform and non-uniform scaling.
  2299.  
  2300.  
  2301.          13.3.1.   Setting the interaction mode
  2302.  
  2303.          The interaction mode is set by either clicking on the mode you
  2304.          need on the main menu, or by pressing the corresponding key on the
  2305.          keyboard. You cannot change interaction modes while having the
  2306.          mouse button depressed.
  2307.  
  2308.          To set:
  2309.  
  2310.           - non-uniform scaling mode, press 'S' or click on SCL.
  2311.  
  2312.           - uniform scaling mode, press 'U' or click on USCL.
  2313.  
  2314.           - rotation mode, press 'R' or click on ROTATE.
  2315.  
  2316.           - translation mode, press 'T' or click on TRANS.
  2317.  
  2318.  
  2319.          13.3.2.   Using Scaling mode
  2320.  
  2321.          To scale objects, you need to move the mouse into the view that
  2322.          displays the objects in the dimensions you want to scale. If you
  2323.          have uniform scaling mode set, this doesn't matter, since all
  2324.          dimensions of the object are scaled equally. Now press the left
  2325.          mouse button and drag the mouse to the upper right. The object
  2326.          will follow the mouse movement. When you've scaled enough, release
  2327.          the button.
  2328.  
  2329.  
  2330.          13.3.3.   Using Rotation mode
  2331.  
  2332.          To rotate an object move the mouse into the view where the axis of
  2333.          rotation would come out of the monitor. Move the mouse to a point
  2334.          away from the objects origin, press and hold the left mouse button
  2335.          and drag the mouse around the objects origin. It will rotate about
  2336.          its origin, following your mouse.
  2337.  
  2338.  
  2339.           User Manual                    Page 46              MORAY V1.5
  2340.           --------------------------------------------------------------
  2341.  
  2342.  
  2343.          13.3.4.   Using Translation mode
  2344.  
  2345.          To move an object move the mouse into the view representing the
  2346.          plane in which to move the object, i.e. the dimension that should
  2347.          remain the same should be the one that would stick out of the
  2348.          screen.
  2349.  
  2350.  
  2351.  
  2352.          13.4. Limiting interaction dimensions
  2353.  
  2354.          You can lock the translation and scaling of objects to certain
  2355.          dimensions. This helps you if you want to move an object in one
  2356.          direction only, for example. Say you have a cube at the correct
  2357.          height (Z), but need to move it to the left (X+). You go to the XZ
  2358.          view and press the 'Z' key. This 'locks' the Z-coordinate of the
  2359.          object. Then use the mouse to move the cube. It will only slide
  2360.          along the X-axis, the Z-position will stay fixed.
  2361.  
  2362.          To see whether a dimension is locked, look at the cursor position
  2363.          display in the lower right corner. The buttons of those dimensions
  2364.          that are locked are depressed.
  2365.  
  2366.          The 'X', 'Y' and 'Z' keys act as toggles on their respective
  2367.          dimensions.
  2368.  
  2369.  
  2370.  
  2371.          13.5. Interaction strangeness
  2372.  
  2373.          When you select an object and attempt to scale, rotate or move it,
  2374.          it may not follow your mouse. This happens when the object is part
  2375.          of a hierarchy of objects that have also been rotated or scaled.
  2376.  
  2377.          For example consider the following set-up: you have a group
  2378.          containing two non-transformed cubes. Now you rotate the group by
  2379.          90 degrees around the Z-axis. If you now select one of the cubes
  2380.          and attempt to move it along the X-axis, it will move along the Y-
  2381.          axis! This is because the transformation of the cube (translation
  2382.          in X) is appended to the group transformation (rotation about Z).
  2383.          So the cubes X translation gets rotated to a (in the absolute
  2384.          world) Y translation.
  2385.  
  2386.          So when designing scenes, start from the bottom up and only group
  2387.          objects once all subobjects have the correct relative position to
  2388.          one another.
  2389.  
  2390.  
  2391.  
  2392.          13.6. The Main Menu
  2393.  
  2394.          The main menu is the menu that you see when the program has
  2395.          started up. It has two main regions. The top half or so contains
  2396.          information about the current object. Specifically it displays the
  2397.          name of the object and its transformations.
  2398.  
  2399.  
  2400.           User Manual                    Page 47              MORAY V1.5
  2401.           --------------------------------------------------------------
  2402.  
  2403.  
  2404.          13.6.1.   The Transformation blocks
  2405.  
  2406.          The very first button contains the name of the object. The second
  2407.          one shows what type of object is selected. Then follow three
  2408.          blocks of transformation information, as well as the current
  2409.          transformation mode indicators (more on that later).
  2410.  
  2411.          The first block of three buttons contain the scaling that is being
  2412.          applied to the object in X, Y, Z order.
  2413.  
  2414.          The second block contains the rotation in degrees that is being
  2415.          applied to the object in X, Y, Z order.
  2416.  
  2417.          The third block contains the translation that is being applied to
  2418.          the object.
  2419.  
  2420.          Beneath this last block is a UNDO XFRM button. This allows you to
  2421.          undo the very last object transformation that you did. When you
  2422.          select a new object, this information is lost.
  2423.  
  2424.  
  2425.          13.6.2.   The menu items
  2426.  
  2427.          Following the transformation block are a couple of menu items that
  2428.          allow you to access certain functions of the program.
  2429.  
  2430.  
  2431.          13.6.2.1. The CREATE button
  2432.  
  2433.          This button brings you to a menu where you can create new objects,
  2434.          cameras or textures.
  2435.  
  2436.          Hotkey : Alt-N
  2437.  
  2438.          The SELECT button
  2439.  
  2440.          This button can be used if you want to select an object by name
  2441.          instead of graphically (see later).
  2442.  
  2443.          Hotkey : Alt-S
  2444.  
  2445.  
  2446.          13.6.2.2. The EDIT button
  2447.  
  2448.          This button can be used to edit the currently selected object. If
  2449.          no object is selected you will be placed in the Object Browser to
  2450.          select one. If you do select one you will then be placed in this
  2451.          objects editing menu.
  2452.  
  2453.          Hotkey: Alt-E
  2454.  
  2455.  
  2456.           User Manual                    Page 48              MORAY V1.5
  2457.           --------------------------------------------------------------
  2458.  
  2459.  
  2460.          13.6.2.3. The COPY button
  2461.  
  2462.          This button makes one or more copies of the currently selected
  2463.          object. If no object is selected you will be placed in the Object
  2464.          Browser in order to select one.
  2465.          You will then be presented with another menu, where you specify a
  2466.          few things about the new object(s). This menu is explained in more
  2467.          detail later.
  2468.  
  2469.          Hotkey : Alt-C
  2470.  
  2471.  
  2472.          13.6.2.4. The CAMERAS button
  2473.  
  2474.          This brings you to the camera list editor. Here you can create,
  2475.          delete or rename cameras.
  2476.  
  2477.  
  2478.          13.6.2.5. The TEXTURES button
  2479.  
  2480.          This button brings you to the texture editor where you can create,
  2481.          edit, replace or delete textures.
  2482.  
  2483.  
  2484.          13.6.2.6. The FILES button
  2485.  
  2486.          This button brings you the files submenu. Here you can load, save,
  2487.          merge and export scenes.
  2488.  
  2489.          Hotkey : Alt-F
  2490.  
  2491.  
  2492.          13.6.2.7. The OPTIONS button
  2493.  
  2494.          This button brings up the options menu, where you can set various
  2495.          parameters for MORAY to use.
  2496.  
  2497.          Hotkey : Alt-O
  2498.  
  2499.  
  2500.          13.6.2.8. The QUIT button
  2501.  
  2502.          This button will exit the program. If you have changed the scene
  2503.          and have not saved it, you will be asked to confirm this action.
  2504.  
  2505.          Hotkey : Alt-X
  2506.  
  2507.  
  2508.          13.6.3.   The information block
  2509.  
  2510.          Below the main menu are six buttons that give you information
  2511.          about the current state of MORAY.
  2512.  
  2513.  
  2514.           User Manual                    Page 49              MORAY V1.5
  2515.           --------------------------------------------------------------
  2516.  
  2517.  
  2518.          The first three show the X, Y and Z position of the cursor when in
  2519.          one of the 2D views. They also indicate when a coordinate is
  2520.          locked (see page 46).
  2521.  
  2522.          The fourth button shows the amount of available conventional
  2523.          memory and the amount of available EMS in the shareware program.
  2524.          In the registered version it shows the total amount of memory
  2525.          available.
  2526.  
  2527.          The fifth button shows the number of points currently being
  2528.          calculated for every refresh and the percentage of the point list
  2529.          used.
  2530.  
  2531.          The sixth button shows the number of edges currently being drawn
  2532.          during a refresh and the percentage of the edge list used.
  2533.  
  2534.          When the percentages in either of these buttons gets close to
  2535.          100%, you should increase the memory available for the edge and
  2536.          vector list. This is done by changing the values in the
  2537.          'MemoryUse' variable in the MORAYPOV.CFG file (see Configuration,
  2538.          page 10)
  2539.  
  2540.  
  2541.           User Manual                    Page 50              MORAY V1.5
  2542.           --------------------------------------------------------------
  2543.  
  2544.  
  2545.  
  2546.  
  2547.          14.  The FILES Menu
  2548.  
  2549.  
  2550.          The files menu is used to load, save, merge and export files
  2551.          to/from disk, to start a render (under certain conditions), to
  2552.          delete the scene in memory and to set some options.
  2553.  
  2554.          The actions that can be executed use the current filename, which
  2555.          is shown below the list of available drives. If it is empty, the
  2556.          action buttons are inactive.
  2557.  
  2558.          To enter a new filename click on the filename button. An editing
  2559.          window will pop up where you can enter a filename.
  2560.  
  2561.          To select a filename already on disk, simply click on the name in
  2562.          the list button showing the MDL files in the ModelPath (see
  2563.          Configuration, page 10) directory. It will appear in the filename
  2564.          button above the list. If your file is in another directory you
  2565.          can navigate through the directories by clicking on the directory
  2566.          names, which are surrounded by square brackets.
  2567.  
  2568.          When you are done, press DONE or the cancel button to leave the
  2569.          FILES menu.
  2570.  
  2571.  
  2572.  
  2573.          14.1. LOAD
  2574.  
  2575.          Once you have selected or entered a name, click on LOAD to load
  2576.          the MDL file. If there is a scene in memory you will be asked
  2577.          whether to delete this scene. Answer YES if you want to discard
  2578.          the scene in memory and load the one on disk. If you press NO,
  2579.          MORAY will not load the file.
  2580.  
  2581.  
  2582.  
  2583.          14.2. MERGE
  2584.  
  2585.          You can add files to your current scene by clicking on MERGE. The
  2586.          selected filename will be loaded and added to the scene. This can
  2587.          be used to import objects from a library for example.
  2588.  
  2589.  
  2590.           User Manual                    Page 51              MORAY V1.5
  2591.           --------------------------------------------------------------
  2592.  
  2593.  
  2594.          14.3. SAVE
  2595.  
  2596.          If you loaded a file and now want to save it again, you can click
  2597.          on SAVE directly, since the filename will still be the same
  2598.          (unless you merged in another file). MORAY will keep the old file,
  2599.          changing its extension to BAK, and will save the scene to the
  2600.          original name.
  2601.  
  2602.          If you want to enter a new name under which to save the scene, do
  2603.          this *before* clicking on SAVE.
  2604.  
  2605.  
  2606.  
  2607.          14.4. SAVE SEL
  2608.  
  2609.          If you want to save an object of a scene only, you can use this
  2610.          button to do so. The object you wish to save must be selected. You
  2611.          can use this button to create your own library of objects, which
  2612.          you can share with others.
  2613.  
  2614.          You are prompted for a filename.
  2615.  
  2616.  
  2617.  
  2618.          14.5. OPTIONS
  2619.  
  2620.          Clicking on this button will open a menu below the views, which
  2621.          allows you to change a few options.
  2622.  
  2623.          You can call an ABOUT box, which shows the current version number
  2624.          and the name of the user to which this program is registered.
  2625.  
  2626.          You can call the texture checking routine. This searches the scene
  2627.          for objects that have no textures assigned to them. This object
  2628.          will be selected and you can the edit it and assign a new texture.
  2629.  
  2630.          You can enable or disable the grid snap. You can also set the snap
  2631.          grid size. The default values for this setting can be set in the
  2632.          CONFIG section of the MORAYPOV.CFG file (see page 13).
  2633.  
  2634.          You can also set the global visibility level.
  2635.  
  2636.          The registered mode version also has a REGISTER button available.
  2637.          You will receive instructions for using this button once you have
  2638.          registered the program.
  2639.  
  2640.  
  2641.  
  2642.          14.6. EXPORT
  2643.  
  2644.          This button is used to actually write the scene in memory to a
  2645.          .POV and an .INC scene file. MORAY will create the files in the
  2646.          target directory as specified in the CFG file (see page 11). You
  2647.          can then leave MORAY and start POV to trace the scene you just
  2648.          created.
  2649.  
  2650.  
  2651.           User Manual                    Page 52              MORAY V1.5
  2652.           --------------------------------------------------------------
  2653.  
  2654.  
  2655.          14.7. RENDER
  2656.  
  2657.          This button is a combination of buttons. It first does a SAVE,
  2658.          then an EXPORT, and then it quits with an exit code of 16. This
  2659.          can be used in a batchfile to call POV. See LoopBatchFile on page
  2660.          11 and automatic rendering on page 14.
  2661.  
  2662.  
  2663.  
  2664.          14.8. NEW
  2665.  
  2666.          This button clears the scene in memory. It will ask you to verify
  2667.          this decision first, though.
  2668.  
  2669.  
  2670.           User Manual                    Page 53              MORAY V1.5
  2671.           --------------------------------------------------------------
  2672.  
  2673.  
  2674.  
  2675.  
  2676.          15.  Extended Editors
  2677.  
  2678.  
  2679.          Two object types have further editors that change the object
  2680.          geometry; the Bezier patches and the sweeps.
  2681.  
  2682.  
  2683.  
  2684.          15.1. The Bezier Patch Editor
  2685.  
  2686.          This editor allows you to change the control points of your patch
  2687.          and the graininess of the patch display, i.e. how fine to draw the
  2688.          patch.
  2689.  
  2690.          The patch is drawn in the 2D-Views and the 3D-Views, and you
  2691.          manipulate the points similar to how you would manipulate the
  2692.          objects in the main screen. The views can be panned and zoomed
  2693.          just as on the main screen.
  2694.  
  2695.          The patch is manipulated by moving control points. MORAY allows
  2696.          you to move a single control point or a selection of control
  2697.          points. There are a couple of ways to move the control points, you
  2698.          can move them, you can scale them and you can rotate them.
  2699.  
  2700.  
  2701.          15.1.1.   Mesh density
  2702.  
  2703.          You can adjust the amount of mesh lines that MORAY will create for
  2704.          your patch. If you want a detailed view, you would select a high
  2705.          density, i.e. move the slider to the right. This will slow down
  2706.          screen redraws and chew up memory. If you're satisfied and don't
  2707.          need that much detail you could then select a lower setting.
  2708.  
  2709.          This setting is only relevant for MORAY, since POV-Ray handles the
  2710.          bezier patches itself.
  2711.  
  2712.  
  2713.          15.1.2.   Redraw Rate
  2714.  
  2715.          Apart from using the Mesh density setting to decrease the amount
  2716.          of lines that need to be drawn, you have two more options of
  2717.          increasing the redraw rate while moving the control points.
  2718.  
  2719.          The SHOW MESH button can be used to hide or show the mesh while
  2720.          moving the control points. The mesh redrawing can take quite some
  2721.          time, so it may be good to hide it while moving the points. Once
  2722.          you release the mouse button, after dragging the points, the mesh
  2723.          will be redrawn.
  2724.  
  2725.          Hotkey : M
  2726.  
  2727.  
  2728.           User Manual                    Page 54              MORAY V1.5
  2729.           --------------------------------------------------------------
  2730.  
  2731.  
  2732.          The SHOW CTRL button can be used to hide or show the control point
  2733.          grid while moving control points.
  2734.  
  2735.          Hotkey : C
  2736.  
  2737.  
  2738.          15.1.3.   Selecting and deselecting control points
  2739.  
  2740.          To select points move the cursor to a view where the control
  2741.          points are visible.
  2742.          Press the Left-Shift-key and then open a rectangle that encloses
  2743.          the points. Do this by clicking the left mouse button, keeping it
  2744.          pressed and moving the mouse. When the points are inside the
  2745.          rectangle release the mouse button. The selected points will now
  2746.          be marked.
  2747.  
  2748.          You can see the number of points you have selected in the
  2749.          corresponding button on the menu.
  2750.  
  2751.          You can also depress the Left-Shift-key and press and release the
  2752.          left mouse button. In this case all points near the cursor will be
  2753.          selected.
  2754.  
  2755.          To deselect points, do the same as above, but enclose the selected
  2756.          points.
  2757.  
  2758.          MORAY tries to guess at what you're attempting to do with respect
  2759.          to selecting or deselecting.
  2760.  
  2761.          If you do a select operation on points that are already selected,
  2762.          MORAY assumes you want to deselect them and does so.
  2763.  
  2764.          If you do a select operation on points that are all deselected,
  2765.          MORAY assumes you want to select them.
  2766.  
  2767.          If you do a select operation where you enclose selected and
  2768.          deselected points, MORAY can't know what you want to do, so it
  2769.          looks at the keyboard modifier. If you've pressed Left-Shift,
  2770.          MORAY assumes you want to select and if you've pressed Right-
  2771.          Shift, MORAY assumes you want to deselect.
  2772.  
  2773.          Naturally, you can change views between selection operations. So
  2774.          if you wanted to select a point in the side view and there are
  2775.          other points 'behind' this point you'll have selected all these
  2776.          points. Then to deselect those that are behind the point of
  2777.          interest, you would go to the top view and deselect the ones that
  2778.          you're not interested in.
  2779.  
  2780.          There are three buttons that you can use to change the selection.
  2781.  
  2782.          You can select all the control points by pressing on MARK ALL.
  2783.          This is good for moving the whole origin of the patch somewhere
  2784.          else.
  2785.  
  2786.  
  2787.           User Manual                    Page 55              MORAY V1.5
  2788.           --------------------------------------------------------------
  2789.  
  2790.  
  2791.          You can deselect all points by clicking on UNMARK ALL. This is
  2792.          useful, if it would be a bit tedious to deselect the points by
  2793.          hand.
  2794.  
  2795.          You can change the state of all the points by clicking on TOGGLE
  2796.          MARKS. This selects deselected points and deselects selected
  2797.          points. If you want to select all points but one, you could select
  2798.          that one and then click on this button.
  2799.  
  2800.  
  2801.          15.1.4.   Changing the control point positions
  2802.  
  2803.          Once you've selected points to manipulate you have seven
  2804.          possibilities of moving them. While moving the control points, the
  2805.          control grid and the actual patch mesh can be made to disappear
  2806.          (see Redraw Rate, above). Once you are finished moving the points
  2807.          about, the mesh will reappear.
  2808.  
  2809.          You can select three basic modes: scaling, rotation and
  2810.          translation. Scaling and rotation can be made to work locally
  2811.          (more later) and scaling can be switched to and from uniform
  2812.          scaling.
  2813.  
  2814.  
  2815.          15.1.4.1. Translate
  2816.  
  2817.          Use this mode if you want to just move all the selected points to
  2818.          a new location. Move them just like you would an object. Press and
  2819.          hold the left mouse button and move the mouse.
  2820.  
  2821.          Hotkey : T
  2822.  
  2823.  
  2824.          15.1.4.2. Scale
  2825.  
  2826.          Use this mode to move the points in such a way that it would
  2827.          represent scaling the points relative to the whole patch. When you
  2828.          move the mouse, after pressing and holding the left mouse button,
  2829.          the points will be scaled accordingly.
  2830.  
  2831.          Hotkey: S
  2832.  
  2833.  
  2834.          15.1.4.3. Local Scale
  2835.  
  2836.          If you want to scale the points in relation to each other, i.e.
  2837.          want to get them closer together or further apart, you would use
  2838.          this mode. MORAY calculates the center of gravity of all selected
  2839.          points and scales relative to this point.
  2840.  
  2841.          Hotkey : L (after pressing S)
  2842.  
  2843.  
  2844.           User Manual                    Page 56              MORAY V1.5
  2845.           --------------------------------------------------------------
  2846.  
  2847.  
  2848.          15.1.4.4. Uniform
  2849.  
  2850.          If you press the UNIFORM button then scaling will be uniform, i.e.
  2851.          MORAY will scale the selected points equally in all three
  2852.          dimensions.
  2853.  
  2854.          Hotkey : U (toggle)
  2855.  
  2856.  
  2857.          15.1.4.5. Rotate
  2858.  
  2859.          If you want to rotate the points about the origin use this mode.
  2860.          Again, press and hold the left mouse button and move the cursor in
  2861.          a circular path around the origin.
  2862.  
  2863.          Hotkey : R
  2864.  
  2865.  
  2866.          15.1.4.6. Local Rotate
  2867.  
  2868.          If you want to rotate the points in relation to each other, i.e.
  2869.          about their center, use this mode. MORAY calculates the center of
  2870.          gravity of all selected points and rotates the points around this
  2871.          point, according to the movement of the cursor.
  2872.  
  2873.          Hotkey : L (after pressing R)
  2874.  
  2875.  
  2876.          15.1.4.7. Mirroring the patch
  2877.  
  2878.          You can use the three MIRROR buttons to flip a patch about an
  2879.          axis. It will flip the whole patch, not only the marked points.
  2880.  
  2881.  
  2882.          15.1.4.8. Snapping Coordinates
  2883.  
  2884.          You may want to snap points to certain numbers at times. For
  2885.          example, you may want a point place *exactly* at X=0. While you
  2886.          could do so by endlessly zooming into the point and always moving
  2887.          it to the zero line, this is a bit awkward. The SNAP POINTS button
  2888.          does just this. It asks you for a number and rounds the
  2889.          coordinates of all the marked points to a multiple of this number.
  2890.          If you entered, say 0.1, it would set all the components of the
  2891.          marked points to a number that's divisible (without rest) by 0.1.
  2892.          For example if you have marked a points at (4.6605, 9.429) and
  2893.          snap with 0.1 it will be moved to (4.7,9.4), if you enter 0.05, it
  2894.          will be moved to (4.65, 9.45).
  2895.  
  2896.          To limit the snapping to certain components you need only arrest
  2897.          those coordinates that you don't want snapped. As a reminder the
  2898.          editor that pops up asking you for a value will say which
  2899.          components are not arrested and will be snapped.
  2900.  
  2901.  
  2902.           User Manual                    Page 57              MORAY V1.5
  2903.           --------------------------------------------------------------
  2904.  
  2905.  
  2906.          15.2. The Sweep Editor
  2907.  
  2908.          The three sweep types (rotational, translational, tapering) all
  2909.          have the same editor.
  2910.  
  2911.          Sweeps consists of a number of curved line segments, forming a
  2912.          closed outline.
  2913.  
  2914.          For a translational sweep, this outline is swept along a straight
  2915.          line from Z=0 to Z=1.
  2916.          For a rotational sweep the outline is rotated about the Z-axis.
  2917.          For a tapering sweep the outline is swept from Z=1 to Z=0, but is
  2918.          also shrunk to a point at the same time.
  2919.  
  2920.          The editing screen can be panned and zoomed like the views on the
  2921.          main menu, except that Alt-Z and the area selection are not
  2922.          active.
  2923.  
  2924.          The editor starts out with four segments, arranged in a square. At
  2925.          each end of a segment is a point with two handles (a knot). These
  2926.          handles determine at what angle the curves leave the knot.
  2927.  
  2928.          To move the handles, move the cursor over a handle, press and hold
  2929.          the left mouse button and move the handles about. The handles only
  2930.          rotate about the position of the knot, i.e. where the two curve
  2931.          segments meet.
  2932.  
  2933.          Normally the two handles are locked in relation to each other.
  2934.          To move only one of them, press and hold the Shift key before
  2935.          pressing the mouse button.
  2936.  
  2937.  
  2938.          15.2.1.   Curve divisions
  2939.  
  2940.          The divisions slider determines how many times the line segments
  2941.          are subdivided. For editing, this setting only influences the
  2942.          display on the screen, but once you leave the editor, it
  2943.          determines how fine the wire frame will be displayed. This of
  2944.          course directly influences the amount of memory the object
  2945.          requires and how fast it can be redrawn.
  2946.  
  2947.          The divisions setting also determines the number of divisions used
  2948.          for exporting.
  2949.  
  2950.  
  2951.          15.2.2.   Moving a knot
  2952.  
  2953.          To move a knot, move the cursor over the knot position, press and
  2954.          hold the left mouse button and drag the knot around. The attached
  2955.          curve segments will move along with the knot. When you have placed
  2956.          the knot correctly, let go of the mouse button.
  2957.  
  2958.  
  2959.           User Manual                    Page 58              MORAY V1.5
  2960.           --------------------------------------------------------------
  2961.  
  2962.  
  2963.          15.2.3.   Smoothing a knot
  2964.  
  2965.          In order for a sweep to be continuous across a knot, the handles
  2966.          need to be at the same angle or 180 degrees apart.
  2967.          To make the handles of a knot form a straight line you can use the
  2968.          FLATTEN button. Click on it, then move the cursor over the knot in
  2969.          question and click again. The handles will be set to the same
  2970.          angle and the sweep will not have a visible edge there.
  2971.  
  2972.  
  2973.          15.2.4.   Adding a knot
  2974.  
  2975.          To add a knot, click on the INSERT KNOT button. Then move the
  2976.          cursor onto the curve at the position where you wish to insert the
  2977.          knot. Click the mouse. A knot will be inserted there, in such a
  2978.          way as not to create an edge. You can then move or edit this knot.
  2979.  
  2980.  
  2981.          15.2.5.   Deleting a knot
  2982.  
  2983.          To delete a knot, click on the DELETE KNOT button, move the cursor
  2984.          over the knot you wish to delete and click the mouse. The knot
  2985.          will be removed and the knots on either side of the deleted knot
  2986.          will be joined. You can delete all knots except three, since you
  2987.          cannot make a useful outline with two segments.
  2988.  
  2989.  
  2990.          15.2.6.   Entering values
  2991.  
  2992.          You can also directly enter the values for the last selected knot.
  2993.          Simply click on the corresponding button and enter the new value.
  2994.  
  2995.  
  2996.          15.2.7.   Mirroring a sweep
  2997.  
  2998.          You can use the two MIRROR buttons to flip a sweep about an axis.
  2999.  
  3000.  
  3001.          15.2.8.   Rotation divisions
  3002.  
  3003.          When you edit rotational sweeps, you can determine the number of
  3004.          divisions that should be made when rotating about the axis during
  3005.          exporting.
  3006.  
  3007.  
  3008.          15.2.9.   Exporting to a RAW file
  3009.  
  3010.          You can export sweeps to a file in raw format. This will allow you
  3011.          to create sweeps that you can use with other programs that can
  3012.          read raw files. Raw files are normal ASCII text-files that contain
  3013.          data that define triangles. There are nine numbers per line, three
  3014.          sets of XYZ coordinates.
  3015.  
  3016.  
  3017.           User Manual                    Page 59              MORAY V1.5
  3018.           --------------------------------------------------------------
  3019.  
  3020.  
  3021.          There is a program called RAW2POV.EXE by Steve Anger that creates
  3022.          POV files from RAW files, that are tightly bounded and may speed
  3023.          up rendering. RAW2POV.EXE can be found on CompuServe (GO GRAPHDEV,
  3024.          LIB 8) or on most BBS that have POV.
  3025.  
  3026.  
  3027.           User Manual                    Page 60              MORAY V1.5
  3028.           --------------------------------------------------------------
  3029.  
  3030.  
  3031.  
  3032.  
  3033.          16.  Appendix A: Hotkeys
  3034.  
  3035.  
  3036.          Most menus in MORAY have buttons with a letter that is underlined.
  3037.          Pressing this letter while the menu is active is the same as
  3038.          clicking on the button, i.e. they are all hotkeys.
  3039.  
  3040.          Apart from these normal menu keys there are also other special
  3041.          keys in some of the menus.
  3042.  
  3043.  
  3044.  
  3045.          16.1. Main menu
  3046.  
  3047.          Alt-n     where n is 1 to 9 sets the global visibility level to n.
  3048.          Alt-0     Sets the global visibility level to 10.
  3049.          Alt-B     Selects the bounding box of the currently selected
  3050.                    object.
  3051.          Alt-C     Calls the Object Duplicator to make copies of the
  3052.                    currently selected object.
  3053.          Alt-D     Deletes the currently selected object (doesn't delete
  3054.                    textures and cameras). No questions asked.
  3055.          Alt-E     Edit the currently selected object.
  3056.          Alt-F     Calls the Files Menu.
  3057.          Alt-G     Toggles the grid display in the window the cursor is
  3058.                    over.
  3059.          Alt-I     Toggles the updating of the cursor position display.
  3060.          Alt-N     Calls the Create menu.
  3061.          Alt-O     Calls the Option Menu.
  3062.          Alt-P     Selects the parent object of the currently selected
  3063.                    object.
  3064.          Alt-R     Refreshes the screen.
  3065.          Alt-S     Calls the Object Browser.
  3066.          Alt-T     Selects the texture of the currently selected object.
  3067.          Alt-U     Deselects all objects.
  3068.          Alt-V     Verifies that all the objects in the scene have a texture
  3069.                    attached to them.
  3070.          Alt-X     Quit the program.
  3071.          Alt-Z     Zooms the view under the cursor to enclose all objects.
  3072.          '-'       Disable the view under the cursor.
  3073.          '+'       Enable the view under the cursor.
  3074.          'D'       Deletes the currently selected objects. Asks for
  3075.                    verification first.
  3076.          'M'       Calls the camera edit menu.
  3077.          'R'       Set the transformation mode the rotation.
  3078.          'S'       Set the transformation mode to non-uniform scaling.
  3079.          'T'       Set the transformation mode to translation.
  3080.          'U'       Set the transformation mode to uniform scaling.
  3081.          'X'       Arrests movement in the X-axis.
  3082.          'Y'       Arrests movement in the Y-axis.
  3083.          'Z'       Arrests movement in the Z-axis.
  3084.          'L'       If the selected object is a camera, make the translation
  3085.                    transformations move the lookat point.
  3086.  
  3087.  
  3088.           User Manual                    Page 61              MORAY V1.5
  3089.           --------------------------------------------------------------
  3090.  
  3091.  
  3092.          'P'       If the selected object is a camera, make the translation
  3093.                    transformations move the camera position.
  3094.  
  3095.  
  3096.           User Manual                    Page 62              MORAY V1.5
  3097.           --------------------------------------------------------------
  3098.  
  3099.  
  3100.          16.2. Object Browser
  3101.  
  3102.          Alt-1     Collapses the object tree to display only top level
  3103.                    objects.
  3104.          Alt-n     Collapses the object tree to display only the top n
  3105.                    levels of objects.
  3106.          Alt-0     Shows the complete object tree.
  3107.          Alt-B     Selects the bounding box of the currently selected
  3108.                    object.
  3109.          Alt-C     Calls the object duplicator with the currently selected
  3110.                    object.
  3111.          Alt-D     Deletes the currently selected object (no questions
  3112.                    asked).
  3113.          'D'       Deletes the currently selected object (asks for
  3114.                    verification first).
  3115.          'L'       Allows you to change the visibility level of the object.
  3116.          Alt-E     Edit the currently selected object.
  3117.          Alt-N     Allows you to edit the name of the selected object.
  3118.          Alt-O     Calls the Options menu.
  3119.          Alt-P     Select the parent object of the currently selected
  3120.                    object.
  3121.  
  3122.  
  3123.          16.3. Bezier Editor
  3124.  
  3125.          Alt-S     Toggle Grid Snap
  3126.          Alt-O     Call the options menu
  3127.          'C'       Toggle the display of the control grid.
  3128.          'G'       Toggle the display of the grids.
  3129.          'M'       Toggle the display of the mesh.
  3130.          'T'       Select translation mode for moving the control points.
  3131.          'S'       Select non-uniform scaling mode for moving the control
  3132.                    points.
  3133.          'U'       Select uniform scaling mode for moving the control
  3134.                    points.
  3135.          'R'       Select rotation mode for moving the control points.
  3136.          'L'       Select local mode if either scaling or rotation mode is
  3137.                    selected.
  3138.          'N'       Deselect the selected points.
  3139.          'A'       Select all points.
  3140.          'X'       Arrests movement in the X-axis.
  3141.          'Y'       Arrests movement in the Y-axis.
  3142.          'Z'       Arrests movement in the Z-axis.
  3143.          'P'       Asks for a number and snaps all non-arrested components
  3144.                    of marked points to a multiple of this number.
  3145.          '+'       Disable the view under the cursor.
  3146.          '-'       Enable the view under the cursor.
  3147.  
  3148.  
  3149.           User Manual                    Page 63              MORAY V1.5
  3150.           --------------------------------------------------------------
  3151.  
  3152.  
  3153.  
  3154.  
  3155.          17.  Appendix B: Tips
  3156.  
  3157.  
  3158.          -  Use the visibility setting of objects to hide fine details when
  3159.             working with large scenes. This will improve redraw speed.
  3160.  
  3161.          -  Use the relative visibility setting on nested objects. This
  3162.             allows you to quickly hide large objects when working on the
  3163.             details of other objects.
  3164.  
  3165.          -  Since CSG objects are not displayed in their final form, you
  3166.             should make the subobjects of a difference have a visibility
  3167.             level that's higher than the base object, i.e. the first object
  3168.             of the CSG difference should have a lower visibility level than
  3169.             all the other sub-objects. This will avoid the cluttering of the
  3170.             display by all those shapes that cut away from the base shape.
  3171.  
  3172.          -  Design Group- or CSG-Objects with their origin at the global
  3173.             origin, then move the group. Don't group objects at their final
  3174.             location, move the group to the final location. This makes
  3175.             editing subobjects easier.
  3176.  
  3177.          -  Don't transform Group- or CSG-Objects until all their subobjects
  3178.             have been correctly placed. This helps you transform subobjects
  3179.             with the mouse, without getting confused.
  3180.  
  3181.          -  Don't assign textures to subobjects of Group- or CSG-objects,
  3182.             unless they have a different texture from the rest of the Group
  3183.             object, since textures are inherited to subobjects. This lets
  3184.             you easily change the texture of the whole object later, without
  3185.             having to go to each subobject to change the texture.
  3186.  
  3187.          -  Group objects logically. If you make a body, group the eyes
  3188.             together. Then group the eyes, nose, mouth and skull together.
  3189.             Then group the upper body with the head and arms, etc. This lets
  3190.             you transform the entities better, e.g. turning the bodies head,
  3191.             involves only the changing of the rotation of the head. Eyes,
  3192.             mouth and skull will follow.
  3193.  
  3194.          -  Don't make the divisions of sweeps and beziers too high. During
  3195.             editing, set the divisions as high as you want, but when
  3196.             finished, set it to an acceptable level, where you can make out
  3197.             enough detail. This is so that your display doesn't get
  3198.             cluttered, the redraw speed stays high, and memory is saved.
  3199.  
  3200.          -  If you use the snap to grid function, use it from the very
  3201.             beginning. This is because only the cursor is snapped, not the
  3202.             objects themselves. So if an object has an X translation of 0.05
  3203.             and you set the X-Snap to 0.5, moving the object will change the
  3204.             X translation by 0.5 (in this example to 0.55).
  3205.  
  3206.  
  3207.           User Manual                    Page 64              MORAY V1.5
  3208.           --------------------------------------------------------------
  3209.  
  3210.  
  3211.          -  Use the '-' key to disable views if you only need one view to
  3212.             edit in. This will improve the redraw rate. When done use the
  3213.             '+' key to redraw the disabled views.
  3214.  
  3215.          -  If your bezier patches are coming out with holes or have other
  3216.             irregularities, you may have to increase the u_steps and v_steps
  3217.             or decrease the flatness of the patches (in the objects Editing
  3218.             Menu).
  3219.  
  3220.          -  Bound your CSG Differences. Although POV 2.0 has bounding slabs,
  3221.             they are not active for differences.
  3222.  
  3223.          -  If you are creating an object that is to use hierarchical
  3224.             linkage, you should proceed from the outside in and create and
  3225.             place the objects in such a way that the axis of rotation is
  3226.             along one of the main axis at the origin.
  3227.             You may want to look at the sample file ROBOT.MDL for an
  3228.             example.
  3229.  
  3230.  
  3231.           User Manual                    Page 65              MORAY V1.5
  3232.           --------------------------------------------------------------
  3233.  
  3234.  
  3235.  
  3236.  
  3237.          18.  Appendix C: Frequently Asked Questions
  3238.  
  3239.  
  3240.  
  3241.          Q:   Not all my disk drives are being displayed in the FILES menu.
  3242.          A:   MORAY limits the amount of available drives to 8, so you need
  3243.               to install MORAY on one of your first eight drives.
  3244.  
  3245.          Q:   Why can't I see the imagemap texture I created?
  3246.          A:   You need to assign it to an object first. Then it will become
  3247.               visible. There's no point in displaying it if it hasn't been
  3248.               assigned to an object.
  3249.  
  3250.          Q:   When I export the imagemap, Moray outputs the string 'ugh' in
  3251.               the output file, which POV doesn't swallow.
  3252.          A:   This happens when you haven't set the filename of the imagemap
  3253.               in its editing menu. Moray looks at the filename and tries to
  3254.               figure out whether it's a GIF, a TGA or a POT file. If it's
  3255.               none of those it outputs 'ugh'.
  3256.  
  3257.          Q:   How do I set the name of image file/smoothness/interpolation
  3258.               of an imagemap texture?
  3259.          A:   You can set these from the imagemaps editing menu. To get
  3260.               there you need to select the imagemap texture. This can only
  3261.               be done once the imagemap is assigned to an object. Select
  3262.               this object then press Alt-T to select it's texture. Now press
  3263.               Alt-E to call the imagemaps editor where you'll find the
  3264.               correct buttons.
  3265.  
  3266.          Q:   I can't see my heightfield, althoug the wireframe shows it's
  3267.               in the cameras field of view.
  3268.          A:   Did you assign a texture to the heightfield? Heightfields are
  3269.               objects like all others too and need to have a texture.
  3270.  
  3271.          Q:   I want a heightfield to have the same colors as those that
  3272.               make up the heightfield in its image file.
  3273.          A:   You need to create an imagemap texture that uses the same
  3274.               filename as the heightfield and assign this texture to the
  3275.               heightfield.
  3276.  
  3277.          Q:   How do I create a difference/intersection?
  3278.          A:   Create the objects that make up the difference/intersection.
  3279.               Then create a CSG object. This will cause the Object Browser
  3280.               to appear. First select the object that will be the base
  3281.               object, e.g. the one *from* which you are going to subtract.
  3282.               Then click the right mouse button. Then proceed with all other
  3283.               subobjects you want to subtract. When done again click on the
  3284.               right button without selecting an object.
  3285.  
  3286.          Q:   I've created a CSG object correctly, but POV always displays
  3287.               it as a union.
  3288.          A:   You have probably forgotten to set the CSG operation in the
  3289.               CSG Object editor.
  3290.  
  3291.  
  3292.           User Manual                    Page 66              MORAY V1.5
  3293.           --------------------------------------------------------------
  3294.  
  3295.  
  3296.          Q:   MORAY crashes after a while and writes the following line to
  3297.               the MORAY.ERR file:
  3298.               [INTEGRITY CHECK FAILED.. ABORTING]
  3299.          A:   - This may be caused by the use of a compressed drive like
  3300.               Stacker or DblSpace. Try installing MORAY on an uncompressed
  3301.               drive.
  3302.               - This may also be caused by tampering with the EXE. You will
  3303.               need to re-extract MORAY.EXE from the ZIP and try again.
  3304.  
  3305.          Q:   I get holes when rendering Bezier patches. Why?
  3306.          A:   This can be the case if you have a pretty convoluted or
  3307.               heavily-twisted and deformed patch and can be rectified by
  3308.               decreasing the flatness and/or increasing the step parameters
  3309.               in the patches Editing menu.
  3310.  
  3311.          Q:   My bezier patches look very square and blocky. Why?
  3312.          A:   You need to decrease the flatness or increase the steps in the
  3313.               patches editing menu.
  3314.  
  3315.          Q:   When I press on NEW to assign a texture to an object, then
  3316.               create one and come back, it still complains that there is no
  3317.               texture attached.
  3318.          A:   When you click on NEW you are placed in the Texture Editor.
  3319.               Here you can create any number of textures, you can edit,
  3320.               delete, etc. textures. When you quit from the Texture Editor,
  3321.               no texture is passed back to the Object Editor, only the list
  3322.               is updated. To now actually assign this texture you need to
  3323.               click on it in the list box.
  3324.  
  3325.          Q:   I cannot change the LookAt of the camera.
  3326.          A:   Since the camera has two 3D points associated with it
  3327.               (location and lookat), you need to tell MORAY which point you
  3328.               want to move. Press 'L' to move the LookAt point and 'P' to
  3329.               move the Position of the camera.
  3330.  
  3331.  
  3332.           User Manual                    Page 67              MORAY V1.5
  3333.           --------------------------------------------------------------
  3334.  
  3335.  
  3336.  
  3337.  
  3338.          19.  Appendix D: Definition of Shareware
  3339.  
  3340.  
  3341.          Shareware distribution gives users a chance to try software before
  3342.          buying it. If you try a Shareware program and continue using it,
  3343.          you are expected to register.
  3344.  
  3345.          Copyright laws apply to both Shareware and commercial software,
  3346.          and the copyright holder retains all rights, with a few specific
  3347.          exceptions as stated below. Shareware authors are accomplished
  3348.          programmers, just like commercial authors, and the programs are of
  3349.          comparable quality. (In both cases, there are good programs and
  3350.          bad ones!) The main difference is in the method of distribution.
  3351.          The author specifically grants the right to copy and distribute
  3352.          the software, either to all and sundry or to a specific group. For
  3353.          example, some authors require written permission before a
  3354.          commercial disk vendor may copy their Shareware.
  3355.  
  3356.          Shareware is a distribution method, not a type of software. You
  3357.          should find software that suits your needs and pocketbook, whether
  3358.          it's commercial or Shareware. The Shareware system makes fitting
  3359.          your needs easier, because you can try before you buy. And because
  3360.          the overhead is low, prices are low also. Shareware has the
  3361.          ultimate money-back guarantee -- if you don't use the product, you
  3362.          don't pay for it.
  3363.  
  3364.  
  3365.           User Manual                    Page 68              MORAY V1.5
  3366.           --------------------------------------------------------------
  3367.  
  3368.  
  3369.  
  3370.  
  3371.                                            G
  3372.  
  3373.          20.  Appendix E: Index            Grid
  3374.                                              setting snap, 51
  3375.                                              toggling, 43
  3376.                                            Group Object, 22
  3377.                                              adding subobjects, 34
  3378.                                              creation, 25
  3379.          B                                   editing, 34
  3380.                                              removing subobjects, 34
  3381.          Bezier patch
  3382.            creation, 24
  3383.            editing, 53
  3384.            editor hotkeys, 62              H
  3385.            general, 20
  3386.            mirroring, 56                   Heightfield, 21
  3387.            snap points, 56                   editing, 32
  3388.          Browser, 28                       Hotkeys, 60
  3389.            hotkeys, 62
  3390.  
  3391.  
  3392.                                            I
  3393.          C
  3394.                                            Imagemap
  3395.          Camera, 22                          editing, 41
  3396.          Checker                           Installation, 10
  3397.            display, 39                     Interaction
  3398.          Cone, 19                            general, 18
  3399.          Configuration, 10
  3400.          CSG Object, 21
  3401.            changing order, 35
  3402.            creation, 25                    L
  3403.            editing, 34
  3404.            operation, 35                   Light source, 21
  3405.            removing subobjects, 35           editing, 32; 33
  3406.          Cube, 18
  3407.          Cylinder, 19
  3408.  
  3409.                                            M
  3410.  
  3411.          E                                 Main menu, 46
  3412.                                              hotkeys, 60
  3413.          EMS                               MDL
  3414.            free display, 49                  directory, 10
  3415.            page caching, 12                  startup scene, 11
  3416.            warning, 12
  3417.  
  3418.  
  3419.                                            O
  3420.          F
  3421.                                            Object
  3422.          Files                               assign a bounding box, 30
  3423.            exporting, 22; 51                 assign a texture, 30
  3424.            general, 50                       bounding box, 16
  3425.            loading, 50                       browser, 28
  3426.            merging, 50                       creation, 24
  3427.            saving, 51                        deleting all, 52
  3428.                                              editing, 30
  3429.                                              general, 16
  3430.  
  3431.  
  3432.           User Manual                    Page 69              MORAY V1.5
  3433.           --------------------------------------------------------------
  3434.  
  3435.  
  3436.            interaction, 45                   deleting, 41
  3437.            name, 32                          display, 42
  3438.            no_shadow flag, 31                editing, 38
  3439.            primitives, 18                    exporting, 22
  3440.            selection, 28                     imagemap, 27
  3441.            texture, 17                       imagemap display, 40
  3442.            transformations, 16               opaque, 26; 39
  3443.            visibility, 17; 31                pre-defined, 26
  3444.          Options, 51                         pre-defined list, 11
  3445.                                              replacing, 41
  3446.                                              wood, 27; 40
  3447.                                            Torus, 19; 32
  3448.          P                                   editing, 32
  3449.                                            Transformations
  3450.          POV                                 limiting, 46
  3451.            calling, 52                       mode, 45
  3452.            creating file, 51                 undo last, 47
  3453.            overwriting files, 12
  3454.  
  3455.  
  3456.                                            U
  3457.          R
  3458.                                            Undo, 47
  3459.          RAW
  3460.            exporting to, 58
  3461.            RAW2POV.EXE, 59
  3462.          Registering                       V
  3463.            instructions, 2
  3464.                                            View
  3465.                                              disabling, 43
  3466.                                              enabling, 43
  3467.          S                                   enlarging, 43
  3468.                                              grid display, 43
  3469.          Scene                               panning, 44
  3470.            starting a new, 52                zooming, 44
  3471.          Selecting                         visibility, 31
  3472.            objects, 28                       changing an objects, 31
  3473.            the bounding box, 29              general, 17
  3474.            the parent, 29                    relative, 31
  3475.            the texture, 29                   setting global, 60
  3476.            via Browser, 28
  3477.          Sphere, 19
  3478.          Sweep
  3479.            editing, 57                     W
  3480.            export to RAW, 58
  3481.            mirroring, 58                   Wood
  3482.            rotational, 19                    display, 40; 42
  3483.            rotational divisions, 58
  3484.            tapering, 20
  3485.            translational, 19
  3486.  
  3487.  
  3488.  
  3489.          T
  3490.  
  3491.          Texture
  3492.            checker, 26; 39
  3493.            copying, 41
  3494.            creation, 26
  3495.