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

  1.     DRAWFN3D - 3d parametric surfaces drawing program
  2.     -------------------------------------------------
  3.  
  4.   BECAUSE DRAWFN3D IS LICENSED FREE OF CHARGE, I PROVIDE ABSOLUTELY NO
  5. WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW. EXCEPT WHEN
  6. OTHERWISE STATED IN WRITING, I GERSHON ELBER PROVIDE DRAWFN3D PROGRAM "AS IS"
  7. WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  8. NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  9. PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  10. PROGRAM IS WITH YOU. SHOULD THE DRAWFN3D PROGRAM PROVE DEFECTIVE, YOU ASSUME
  11. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  12.  
  13.   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL GERSHON ELBER,
  14. BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES,
  15. OR OTHER SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  16. USE OR INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR A
  17. FAILURE OF THE PROGRAM TO OPERATE WITH PROGRAMS NOT DISTRIBUTED BY GERSHON
  18. ELBER) THE PROGRAM, EVEN IF YOU HAVE BEEN ADVISED OF THE POSSIBILITY OF
  19. SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
  20.  
  21.     This program allows drawing of 3D free form explicit algebraic
  22. surfaces of the form: x = X(u,v), y = Y(u,v), z = Z(u,v), where u,v are
  23. the parametric domain parameters.
  24.     The program displays the surface by sampling it along its isoparametric
  25. curves, and approximating (with settable accuracy) them as piecewise linear
  26. polylines. It it also possible to save the surface as a collection of polygons
  27. approximating the surface (again with settable accuracy).
  28.     As on line help is available (you can modify it (!) if you like, as it
  29. is all saved in the drawfn3d.hlp plain ascii file).
  30.  
  31. Options:
  32. --------
  33.   -z : displays current version and state as read from configuration file
  34.        drawfn3d.cfg (see below).
  35.  
  36. Configuration:
  37. --------------
  38.   The program can be configured using a configuration file named drawfn3d.cfg.
  39.   This is a plain ascii file you can edit directly and set the parameters
  40. according to the comments there. executing 'drawfn3d -z' will show the
  41. current configuration as read from the configuration file. This file can be
  42. in any directory which is in your path - the same place as drawfn3d.exe is
  43. probably a good choice.
  44.   The program was mainly tested on HERCULES graphics card, some on CGA,
  45. and almost nothing on a VGA system. However it uses the Turbo C BGI excellent
  46. package and so there is a good chance it will work on the laters, without any
  47. problem. I am going to fully support only HERCULES card, till I will have
  48. enough money to buy new VGA (you can buy me one!).
  49.   The BGI autodetect feature is used, but if this fails, or the VGA mode does
  50. not work as you expect, you can always coerce it to a specific card - see
  51. the drawfn3d.cfg file.
  52.   The program will use 80?87 if it detects one - again uses the Turbo C 80?87
  53. autodetect, or will run (much!) slower without it...
  54.   The program will use the mouse, if detected. If this detection fails you can
  55. coerce it (to TRUE - exists, or FALSE) in the drawfn3d.cfg configuration file.
  56.  
  57. Usage:
  58. ------
  59.   The control of the program is performed by moving the graphical cursor along
  60. the menu and performing EXECUTE operation (see below). Moving the cursor can
  61. be made using the numerical keypad/arrows (shifted for faster movement) or
  62. if mouse is available, using the mouse. Two operation are defined and allowed:
  63.   EXECUTE - the <Return> key on the keyboard, or left  mouse button if exists.
  64.   ABORT   - the <Space>  key on the keyboard, or right mouse button if exists.
  65. The EXECUTE operation is used to request performing the selected menu item.
  66. The ABORT operation is used to request abortion of current operation (handy for
  67. big data files).
  68.   In addition if the first character of the menu entry is unique (i.e. only one
  69. menu entry starts with the letter X) that letter may be used to pick that
  70. entry.
  71.   Each string entry (such as function) can be edited as follows:
  72. 1. Left/Right arrows : to move left and right along the line.
  73. 2. Home/End : to move to beginning/end of line.
  74. 3. Delete : to delete character cursor is on.
  75. 4. Back space : to delete one char backward.
  76. 5. Insert : toggles insert/overwrite mode. Node cursor shape is modified.
  77. 6. Esc : clear the entire line.
  78. 7. CR : to accept line and quit.
  79.   ALT-Q can be used, at any time the cursor is shown, for program abortion
  80. exactly as 'Quit' menu item.
  81.  
  82.   Expressions are regular infix expressions with regular precedence:
  83. lowest  (-, +) (*, /, %, min, max) (^) (unar -) highest. Note the modulo
  84. operator (%) which operates on the truncated numbers. Also "min" and "max"
  85. are provided as binary operators.  The following built in functions
  86. are also provided (sorted lexicographically):
  87.  
  88. ABS - absolute value function.
  89. ARCCOS - arc cosine (in radians) function.
  90. ARCSIN - arc cosine (in radians) function.
  91. ARCTAN - arc tangent (in radians) function.
  92. COS - cosine (in radians) function.
  93. EXP -exponent (based e) function.
  94. LN - logarithm (natural base) function. 
  95. LOG - logarithm (base 10) function.
  96. SIN - sin (in radians) function.
  97. SQR - square function
  98. SQRT - square root function.
  99. TAN - tangent function.
  100.  
  101. Bugs:
  102. -----
  103.   O.k. if you do have any question, suggestion, or even want to report a bug
  104. (including VGA problems, but I dont promise anything about this one), feel
  105. free to send me email (see below)
  106.  
  107.   Feel free to make copies of this program, and distribute them FREE of
  108. charge, provided that all this package is distributed.
  109.   I am not going to be responsible for any damage of any kind, that this
  110. package may cause (I always wanted to say that...), but I hope you will
  111. enjoy it as I did my best you will. At list I enjoyed writing it.
  112.   
  113. Have Fun
  114.  
  115. Gershon Elber
  116. gershon@cs.utah.edu
  117.