home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / IRITS.ZIP / IRIT.DOC < prev    next >
Encoding:
Text File  |  1990-05-05  |  7.7 KB  |  163 lines

  1.     IRIT - the polygonal CSG solid modeler
  2.     --------------------------------------
  3.  
  4.  
  5.   BECAUSE IRIT IS LICENSED FREE OF CHARGE, I PROVIDE ABSOLUTELY NO WARRANTY,
  6. TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN OTHERWISE STATED
  7. IN WRITING, I GERSHON ELBER PROVIDE IRIT PROGRAM "AS IS" WITHOUT WARRANTY OF
  8. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  9. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  10. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
  11. YOU. SHOULD THE IRIT PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
  12. NECESSARY SERVICING, REPAIR OR CORRECTION.
  13.  
  14.   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL GERSHON ELBER,
  15. BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES,
  16. OR OTHER SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  17. USE OR INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR A
  18. FAILURE OF THE PROGRAM TO OPERATE WITH PROGRAMS NOT DISTRIBUTED BY GERSHON
  19. ELBER) THE PROGRAM, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF
  20. SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
  21.  
  22.     This program is a batch based, polygonal CSG solid modeler. It reads
  23. commands either from keyboard or file and execute their commands in order to
  24. create new 3d polygonal objects. Full description of the commands can be
  25. found in the irit.hlp file which is also available from the solid modeler by
  26. typing 'help("topic");'. Try 'help("");'.
  27.  
  28. Options:
  29. --------
  30.  
  31. irit [-z] [file[.irt]]
  32.  
  33.   -z : Print version number and current defaults.
  34.  
  35. Configuration:
  36. --------------
  37.   The program can be configured using a configuration file named irit.cfg.
  38. Note the version for unix (irit-unx.cfg) is different from the msdos one
  39. (irit-dos.cfg) so rename to correct one to irit.cfg.
  40.   This is a plain ascii file you can edit directly and set the parameters
  41. according to the comments there. executing 'irit -z' will show the
  42. current configuration as read from the configuration file. In the msdos
  43. system, this file can be in any directory which is in your path - the same
  44. place as irit.exe is probably a good choice. In a unix environment the
  45. current directory is been checked or if IRIT_PATH environment variable is
  46. set, it is used as the full path (including postfix '/').
  47.   This program supports HERCULES and EGA/VGA type of display devices on msdos
  48. and X11R3 on unix systems. On msdos its uses autodetect to select the right
  49. device, and which can be overwrite in the irit.cfg file.
  50.   In msdos the program will use 80?87 if it detects one - again uses the
  51. Turbo C 80?87 autodetect, or will run (much!) slower without it...
  52.   In msdos the program will use the mouse, if detected. If this detection
  53. fails you can coerce it (to TRUE - exists, or FALSE) in the irit.cfg
  54. configuration file. Mouse is always been used in X11 environment...
  55.   The program will read a regular command file if one exists which can be used
  56. to initialize variables/aliases. The file will be searched as irit.cfg will,
  57. and its name is set via the StartFile option in the configuration file.
  58.   A session can be logged into a file named LogFile in the configuration file.
  59. see also the logfile command in irit.hlp.
  60.   When developing new model, it is extremely convenient to switch between the
  61. solid modeler and an editor of your choice to edit the .irt file. The solid
  62. modeler provides a way to fork to an editor of your choice to edit the
  63. current .irt program you develop. Set EditPrgm (in irit.cfg) to the editor of
  64. your choice, which should be small for fast access. Specify the full path to
  65. that editor. Use the edit command in irit to call it. Only one argument is
  66. given to the editor once forking to it - the .irt file name as given to the
  67. edit command (see edit command in irit.hlp). You can alias the command to
  68. make it even faster as it is done in the current iritinit.irt - irit
  69. initialization file. The above is obviously helpful in msdos system only and
  70. is disabled in the unix version (aliases are functional though).
  71.  
  72.   Unix version only:
  73.   Add the following options to your .Xdefaults. Most are self explanatory.
  74. The Trans attributes control the transformation window, while View control
  75. the view window. SubWin control the subwindows within the Transformation
  76. window.
  77.  
  78. irit*Trans*BackGround:        CornflowerBlue
  79. irit*Trans*BorderColor:        Red
  80. irit*Trans*BorderWidth:        3
  81. irit*Trans*TextColor:        cyan
  82. irit*Trans*SubWin*BackGround:    salmon
  83. irit*Trans*SubWin*BorderColor:  yellow
  84. irit*Trans*Geometry:        =150x400+450+50
  85. irit*Trans*CursorColor:        green
  86. irit*View*BackGround:        CornflowerBlue
  87. irit*View*BorderColor:        Red
  88. irit*View*BorderWidth:        3
  89. irit*View*Geometry:        =400x400+50+50
  90. irit*View*CursorColor:        green
  91.  
  92.  
  93. Usage:
  94. ------
  95.   Once fired, the program opens three windows: view, status and input window
  96. (Msdos version only. Unix version has no status window).
  97. Commands are entered through the input window, objects are viewed in the view
  98. window, and the status window is used as an auxiliary window as well.
  99.   All the commands are listed in irit.hlp file (you may want to print it),
  100. which is available on line as described above. Some important commands are:
  101. 1. include("file.irt"); - will execute the commands in file.irt. Note includes
  102.    can be recursive up to 10 levels. To execute the demo (demo.irt) simply
  103.    type 'include("demo.irt");'. Another way to run the demo is by typing DEMO
  104.    (must be capitalized as this is an alias loaded via the iritinit.irt
  105.    initialization file - see the alias command in irit.hlp for more).
  106. 2. help(""); - will print all available commands and how to get help on them.
  107. 3. exit(); - close everything and exit irit.
  108.  
  109.   Be careful. The operators are overloaded. This means that you can multiply
  110. two scalars (numbers) or two vectors or even two matrices (!) with the same
  111. multiplication symbol (*). The irit.hlp defines the way each operator is
  112. overloaded. To get it on line type 'help("*");'
  113.  
  114.   The best way I can think off, to learn this program (like any other
  115. program...) is by playing with it. Print irit.hlp file and study each of the
  116. commands available. study the programs (*.irt) given as well.
  117.  
  118.   Input from keyboard (msdos) can be edited using full ine editing features:
  119. 1. Up arrow : retrieve last typed command (only as first keystroke!).
  120. 2. Left/Right arrows : to move left and right along the line.
  121. 3. Home/End : to move to beginning/end of line.
  122. 4. Delete : to delete character cursor is on.
  123. 5. Back space : to delete one char backward.
  124. 6. Insert : toggles insert/overwrite mode. Note cursor shape is modified.
  125. 7. Esc : clear the entire line.
  126. 8. CR : to accept line and quit.
  127.  
  128. Hints:
  129. ------
  130.   These few lines are much of a manual... Lets see if I can think of some
  131. helpful hints:
  132. 1. Poly3d-h and poly3d-r are rendering and hidden lines removal programs.
  133.    Both assumes input data (such as dumped by gdump command) consists of
  134.    convex polygons only. if 'final' is your final geometry model you wish
  135.    to dump, issue the command 'final = convex(final)' which will ensure only
  136.    convex polygons in the output.
  137. 2. The unix version has very limited editing facilities. I found it much
  138.    easier to run it from an editor that can fork a shell and execute command
  139.    like gnu emacs.
  140.  
  141.  
  142. Bugs:
  143. -----
  144.   O.k. if you do have any question, suggestion, or even want to report a bug
  145. feel free to send me email (see below)
  146.  
  147.   Feel free to make copies of this program, and distribute them FREE of
  148. charge, provided that all this package is distributed.
  149.   I am not going to be responsible for any damage of any kind, that this
  150. package may cause (I always wanted to say that...), but I hope you will
  151. enjoy it as I did my best you will. At list I enjoyed writing it.
  152.  
  153. Have Fun
  154.  
  155. Gershon Elber
  156. gershon@cs.utah.edu
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.