home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 245.lha / Scriptor_v1.2 / ReadMe < prev    next >
Text File  |  1989-05-26  |  6KB  |  161 lines

  1.  Additions and changes with Version 1.2:
  2.     
  3.  Now, whenever you create an object & don't enter anything for  mirroring,
  4.  index of refraction, reflect, or sreflect, these items are omitted rather
  5.  than putting in default values.  This is the better way to go.
  6.    
  7.  You can add bounding boxes from inside the program.  (Gadgets)
  8.    
  9.  Statistics are output to the CLI.   The statistics display  the number of
  10.  parallelograms, triangles,  lamps,  bounding boxes, etc. that are in your
  11.  script.  If this program is run from the Workbench, the output window  is
  12.  closed as the  program exits,  so you won't see the  statistics.
  13.    
  14.  The program also  checks to make sure that the  number of  BEGIN_BBOX and
  15.  END_BBOX statements are the same, and warns you if they are not.
  16.    
  17.  I added the Workbench startup code so that I could add an icon and  still
  18.  free up all of the memory that the program uses.   (This has been tested,
  19.  so no fragmentation here.)  A friend mentioned this, and since there's no
  20.  reason not to do it, it's been done.
  21.    
  22.  Since the program supports  WBench startup,  I put together an icon,  and
  23.  included it.  (Big deal, I know)
  24.    
  25.  The gadgets now have  Release Verify and  HighComp.  Everyone seems to be
  26.  doing it that way, so why not?
  27.    
  28.  -------------------------------------------------------------------------
  29.    
  30.  QRT is a GREAT program, but needs  some  way around all of the typing and
  31.  formatting necessary  to  produce  (readable)  script  files  for  it.  I
  32.  decided rather than waste hours and  hours  typing in the scripts, that I
  33.  could write a program that would  take  care of creating the script files
  34.  as well as taking care of a few other details.
  35.    
  36.  This program basically just  asks  for  each  parameter  as you define an
  37.  object.  It then creates the script  file  (fully-formatted)  for you.  A
  38.  couple of extra things that it does  is,  remember various items that may
  39.  be duplicated (like location of a vertex),  and provide defaults for most
  40.  items.
  41.    
  42.  I also provided a 'Ground' object,  which  is  just a LARGE parallelogram
  43.  that you only need to provide minimal info in defining.  The ground is at
  44.  (Y=0), which is logical.
  45.    
  46.  A script that had twenty objects in it  could take 30 minutes to type in.
  47.  (Even longer if you format if  completely)   I dare to say that with this
  48.  program, the same twenty  objects  can  be  entered into a script in less
  49.  than five.
  50.    
  51.  For those  already  familiar  with  QRT  and  those  that  should be (ie.
  52.  everybody else):
  53.    
  54.  The location for an object  is  stored,  so  that the next object that is
  55.  created can use the same  location  by  just  pressing  return.  (This is
  56.  ideal for prisms and the like, since one vertex location can define three
  57.  sides.)
  58.    
  59.  The variables entered for radius  and  the coefficients for the quadratic
  60.  function are all remembered.   I  did  this,  since  you  may be creating
  61.  duplicate spheres, ellipses, cylinders,  oblate spheroids, etc; and don't
  62.  want to type in that info every time.
  63.    
  64.  The color for the last object is  remembered  (ie. the diff coefficient),
  65.  in case you are  creating  many  similarly  colored  objects.   The other
  66.  values have some default associated with them, so that (if you don't want
  67.  to use any special characteristics) you  can just press return and accept
  68.  the defaults.  Remember that this program creates a text file, so you can
  69.  always edit what  you  enter.
  70.    
  71.  List of characteristics:
  72.    
  73.  (Note:  You MAY need to read the docs carefully to get much out of this.)
  74.    
  75.  Location is remembered from the last object entered.
  76.    
  77.  V1 & V2 default to "0.0" if  you  only  press  return.   I did this since
  78.  usually one or more of the (x,y,z) triples will be zero anyway.
  79.    
  80.  Ambience defaults to  0.2,  since  this  is  a  good  value for realistic
  81.  shadowing.
  82.    
  83.  Diffusion (object color) is  remembered  from the last object, so that if
  84.  you create 4 maroon spheres, you won't have to remember to type in (0.83,
  85.  0.0,0.54) for each of the spheres.
  86.    
  87.  Mirroring defaults to 0.0 in each of r,g,b;  and if you  press return for
  88.  each of the rgb values, no mirror statement will be put in the script.
  89.    
  90.  Index of refraction  defaults to being  omitted.   (Changed from previous
  91.  versions, since no refraction statement should be included since QRT  has
  92.  defaults.)
  93.    
  94.  Dithering defaults to 3.  (This was  suggested  as  a good default by the
  95.  author or QRT.)
  96.    
  97.  SReflect and Reflect are omitted if you don't enter anything.   (This has
  98.  been changed from previous versions.)
  99.    
  100.  Radius, Location, Color  and  Quad(A,B,C,D,XMax,XMin,YMax,YMin,ZMax,ZMin)
  101.  default to the last entered value for that parameter.
  102.    
  103.  FILE_NAME is entered as QRTScript.RAW, but can be changed externally.
  104.    
  105.  NOTE:  When you first load  up  the  program,  you  will  look at a blank
  106.  screen.   :)
  107.    
  108.  REAL NOTE:  You can choose 'NEW' from the project menu, to enter the name
  109.  of the script file that the program creates.  This file is opened, and is
  110.  continuously being written to  (buffered,  of course), so you should exit
  111.  the program with  the  'DONE'  option.   If  NO  FILE was opened when you
  112.  select one of the object or world menu options, then the program will ask
  113.  you for the name of the script file at that time.
  114.    
  115.  Be sure and LOOK at the scripts this program  creates.  The formatting is
  116.  very nice.  You don't actually have to look, since the files created with
  117.  this program are  complete  and  ready  to  use,  unless  you want to add
  118.  bounding boxes or instances.
  119.    
  120.  There are some future enhancements to this program, so tell me if there's
  121.  something in particular that you  would  like in the program.  (Besides a
  122.  graphical editor...that's a separate program.)    :)
  123.    
  124.  Send any comments or blank disks or (heaven forbid) bug reports to:
  125.    
  126.                             James A. Alexander
  127.                            4901 E. Sunrise #1014
  128.                              Tucson, AZ 85718
  129.    
  130.                               PLink: Modula*2
  131.                              CIS: Yeah, right.
  132.    
  133.    
  134.    
  135.    
  136.    
  137.    
  138.    
  139.    
  140.    
  141.    
  142.  
  143.                                                  
  144.  
  145.                                                  
  146.  
  147.                                                  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.