home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR37 / POVCAD3.ZIP / POVCAD.DOC < prev    next >
Text File  |  1993-11-20  |  54KB  |  1,360 lines

  1.                  POVCAD(c) 3.0 by 
  2.                 Alfonso Hermida 
  3.              Pi Square BBS (301)725-9080
  4.             CompuServe 72114,2060
  5.                 11/20/93
  6.  
  7. NOTE: POVCAD is written in Visual Basic 3.0 for Windows (Microsoft Corp).
  8.       To run it you'll need the runtime module VBRUN300.DLL.        
  9.       
  10. POVCAD USERS: The book "Adventures in Raytracing" published by QUE has
  11.           a whole chapter on POVCAD for Windows.  The chapter is
  12.           divided into tutorials and the figures help understand how
  13.           to use it.  The book was written by "yours truly" <g>.
  14.             
  15. -------------------------------------------------------------------------
  16. Copyright (c) 1993 by Alfonso Hermida.
  17. All rights reserved.  The program POVCAD.EXE is distributed "As is". 
  18. The author assumes no responsibility for damages resulting from the use of
  19. this program.  The program has been tested but no software is "bug-free" 
  20. so...use at your own risk!
  21. -------------------------------------------------------------------------
  22.  
  23. Distribution:
  24. Feel free to distribute POVCAD.EXE and it's companion file POVCAD.DOC for
  25. non comercial purposes.  Distributors may charge up to $5 for this program.
  26. If you wish to distribute this program with a comercial software or book
  27. please contact the author at the BBS number given above or by mail:
  28.        
  29.        Alfonso Hermida, 9346 Kings Grant Rd, Laurel, MD 20723.
  30.  
  31. This program is distibuted as Shareware.  You may use this program for
  32. a period of 30 days at which you must either register this software or
  33. stop using it.  Registration entitles you to support thru the BBS.  
  34.  
  35. Registration cost is only $15 and helps continuing work to improve this
  36. software.  To register send your check or money order to the above address
  37. with your name, address, phone number and a password(for BBS access).  Check
  38. at the end of this document for registration form.
  39.  
  40. --------------------------------------------------------------------------
  41.  
  42. THANKS!
  43. I want to take the opportunity and thank a lot of people and BBS that have
  44. helped POVCAD become such a success.  I would like to thank Albert Waltner,
  45. Peter Jack, Curtis Olson for Beta testing and all the helpful comments.  
  46. Dan Farmer was kind enough to upload the file to COMPUSERVE.  Steve Anger
  47. gave me some help with the smooth triangle problem I was having (it turns
  48. out that the POVRAY version I was running had a bug!).  Alexander Enzmann,
  49. author of the Polyray raytracer (thanks!) was enthusiastic about adding 
  50. support for Polyray users...(support is limited but it should improve with 
  51. time.)  Phil Long, Jerry Thomaston, Amanda Osborne and James P. Hawkins 
  52. helped a lot.  Thanks also to Andrew Jones for his DXF (3DFACE) input routine.
  53.  
  54. There were also some great BBS such as:
  55.  
  56. * You Can Call Me Ray BBS (Illinois)
  57.    Bill Minus/Aaron Collins (SysOps)
  58.    (708)358-5611
  59.  
  60. * The Graphics Alternative BBS (California)
  61.    Adam Shiffman (SysOp)
  62.    (510)524-2780
  63.  
  64. * Trace of Reality BBS (Virginia)
  65.    Joe Liccel (SysOp)  
  66.    [system is down at this time]
  67.  
  68. * Monsoon BBS (Maryland)
  69.    Sunil Gupta (SysOp)
  70.    (410)235-2365
  71.  
  72.  
  73. * InspirVision BBS (New York)
  74.    Steve Lao (SysOp)
  75.    718-854-6411
  76.  
  77. In Europe: Raytech BBS - "The UK's only Raytracing BBS"
  78.    Paul Smith (SysOp)
  79.    +44 862 88340
  80.  
  81. *  Digital Imagery BBS
  82.    Philip Harris
  83.    +44 295 272881     V32 MNP 5
  84.    support available for POVCAD, message and file areas also
  85.    [system is down at this time]
  86.  
  87. *  CIX (UK equivalent of CompuServe)
  88.    ECS conference, POVCAD topic
  89.    +44 081 390 1255
  90.  
  91.  
  92.  
  93. who helped me distribute my programs and overall support.
  94.  
  95. And for other specific thanks, check the BUG LIST at the end of this document.
  96. Finally, all of you who were so kind to register their copies.  This proves
  97. that Shareware is alive and well.
  98. ----------------------------------------------------------------------------
  99.  
  100.  
  101.  
  102. What's POVCAD?
  103.  
  104. POVCAD is a small solid object modeling tool to create scene files for
  105. raytracers.  It's based primarily on the POV(Persistence of Vision)
  106. raytracer written by the Persistence of Vision Group.  POV is a copyrighted
  107. freeware raytracer.  If you would like to get in contact with them, 
  108. contact Compuserve (800)848-8990, GraphDev forum or call YCCMR BBS 
  109. (708)358-5611, which is a raytracer specific BBS.  POVCAD also supports
  110. the Polyray raytracer by Alexander Enzmann.  The support is not complete at
  111. this point but a lot can be done.
  112.  
  113.  
  114. With POVCAD you're able to create visually the scene file and have a
  115. pretty good idea (geometry-wise) of how the objects are positioned in 
  116. 3D space.  There is no support for textures and color visualization since
  117. POVCAD is a wire frame-based program.  Nor, you'll see the results of
  118. any constructive solid geometry operation (boolean operation..for short).
  119.  
  120.  
  121. POVCAD supports the following objects and features:
  122. * planes
  123. * disc
  124. * cylinder
  125. * cone
  126. * sphere
  127. * ellipsoid
  128. * torus 
  129. * box
  130. * height_field
  131. * Raw data files (loading)
  132. * Sweep (solid of revolution)
  133. * Extrude (operation on curves)
  134. * Bezier patches
  135. * B-Spline and Catmull-Rom Spline curve smoothing
  136. * light_source/spotlight 
  137. * camera(POV) and viewpoint(Polyray)
  138. * DXF input/output
  139. * 2D Curve Editor with BSpline preview
  140.  
  141. and operations such as union, difference,intersection and composite 
  142. objects.  Textures can be selected from a list without need of typing.
  143. The scene view can be changed between isometric,YX,YZ and ZX.
  144. A session list shows the steps you took to create any image and you may
  145. select any of the objects from the list by clicking on it.
  146.  
  147. An interesting feature is the ability to create or read data files
  148. with path information for animation software.  You can create linear
  149. interpolated data, circular motion, parabolic, helix or just freehand
  150. mode, where you sketch the path with the mouse.  POVCAD does not do
  151. animation but it plots the path files so you can see how things look
  152. on the screen.  The data can be transformed like any object in POVCAD.
  153.  
  154. In the File menu, there is an option to save the session file and to 
  155. Export to POV (that is to create the POV session file).  There is also
  156. various functions to interact with DXF files.
  157.  
  158. ***** PRINTOUT **********************************************************
  159. You may select the FILE menu, then the PRINT command to get a hardcopy
  160. of the image on the screen.  You must have a printer configured to do so.
  161. ************************************************************************* 
  162.  
  163. AN IMPORTANT NOTE:  All rotations and translations are absolute(measured
  164. from the origin).  Therefore, if an object has been translated to (1,1,1)
  165. and you change the x to 1.5, it will be (1.5,1,1) and not (2.5,1,1).
  166.  
  167. My best suggestion is that you play with it for a while to get a better
  168. understanding of the program.  
  169.  
  170.  
  171. What's NEW on versions 2.0c thru  3.0 ************************************
  172.  
  173.     1) Catmull-Rom Curve fitting
  174.        The PATH menu has Catmull-Rom Spline selections.  Use this to smooth out
  175.        a curve created with the POINTS command or from a data file.
  176.  
  177.     2) POV 2.0 support
  178.  
  179.     3) Convert RAW data files to DXF files (found in the FILE menu) using
  180.        3DFACE entities.
  181.  
  182.     4) Read DXF files and convert to RAW (found in the FILE menu)  
  183.        POVCAD can read 3DFACE and POLYLINE entities.  You must select the 
  184.        appropriate command to extract a specific entity...i.e., the 3DFACE command
  185.        will only extract the 3DFACE objects from the selected DXF file.  The same
  186.        applies for POLYLINE.
  187.  
  188.     5) 2D Curve Editor with B-Spline previewer (MISC menu)
  189.         You can load, save and manipulate Curves in 2D, get the points from the buffer and
  190.           put them back...etc.
  191.  
  192.     6) Extrude Along Path
  193.         Now you can create a contour and extrude along a 3D path.  You can have constant            or variable scaling in the contour.
  194.         
  195.  
  196.     7) Disc / Washer object
  197.  
  198. **********************************************************************************
  199.  
  200.  
  201. Creating an Object
  202.  
  203. To create an object is easy.  Here are the steps:
  204.  
  205. 1) Click on the Object menu and click again on the object you would
  206.    like to create.  All objects start at the origin, except the sphere
  207.    which asks for the center coordinates. 
  208.  
  209. 2) To rotate/translate or scale the object, click on Xform and select
  210.    the appropiate transformations.  The way this program was developed,
  211.    rotations are ALWAYS applied first THEN the translations.   Keep that
  212.    in mind.
  213.  
  214. 3) If you need to edit/delete an object, click on Session and click on the
  215.    object to be modified.  On the bottom right part, the current object
  216.    is shown, with it's texture.  If the object is already there,  you can
  217.    operate on it without having to click on Session.
  218.  
  219. NOTE:The LAST object created is ALWAYS the current object.  If you wish
  220.      to transform it, just go directly to Xform or Texture (if you want
  221.      to put a texture to it).  
  222.  
  223.    To delete an object, either select it (thru the Session menu) or just
  224.    go to Edit if it's the last object drawn and click on Del.  You may use 
  225.    the mouse to select an object too...read the section below titled
  226.    "Selecting objects with a mouse..."
  227.  
  228.  
  229. TEXTURES AND COLORS 
  230.  
  231. To attach a texture or color, select an object (if you do not select an 
  232. object, the current selected object will be used).  Click on TEXTURE or 
  233. COLOR and select the color or texture.  You may edit the text box that 
  234. appears.  Press the OK icon.
  235.  
  236. To change the texture, simply reselect the object and click on a new texture 
  237. or color.  
  238.  
  239.  
  240.         ****************** NEW ********************
  241.  
  242. Adding more TEXTURE and COLOR definitions
  243.  
  244. POVCAD uses 2 files per ray tracer to read the color and texture definitions:
  245.  
  246. For POV     :  colors.pv  and textures.pv  (version 1.0)
  247.            colors.pv2 and textures.pv2 (version 2.0)
  248.  
  249. For POLYRAY :  colors.def and textures.def
  250.  
  251.  
  252. You may edit them and include the names of any new colors or textures you come
  253. up with.  All of the files have the same format: 1 name per line, the name
  254. being 1 word, i.e, it must not have any spaces.  The name my_texture is 
  255. acceptable while my texture is not.
  256.  
  257.  
  258. ***** To attach textures and colors to CSG objects check the *************
  259.        "Creating Constructive Solid Geometry" section
  260.  
  261. Creating Solids of Revolution (Sweep command)
  262.  
  263. WITH POINTS:
  264.  
  265. 1) Click on the PointOff button (to enable point creation)
  266. 2) Select a View different than Iso (i.e. YX,ZX or YZ)
  267. 3) Click on the window and draw a contour (up to 50 points)
  268. 4) Select the Sweep command from the Objects menu
  269. 5) give a filename.ext (the data will be saved in RAW format)
  270. 6) indicate sweep angle and number of segments
  271.  
  272. * If you wish to erase the points and start all over use the Del Points
  273.   command in the Edit menu.
  274. * SnapOn forces the points to fall in the intersections of the grid
  275.   lines, while GridOff let's you select any place on the screen.
  276.  
  277.         ****************** NEW ********************
  278.  
  279. WITH DATA FILE:
  280.  
  281. POVCAD can now SWEEP a data file that have been created with the path command
  282. or with any other program.  The data files must consist of a list of X,Y and Z
  283. coordinates that define a curve or contour.  Select the SWEEP/DATA FILE 
  284. command and select the file to be swept, and follow steps 5) and 6) from
  285. the previous command (WITH POINTS).
  286.  
  287. NOTE: The format of RAW and SWEEP data files is:
  288.   x1 y1 z1 x2 y2 z2 x3 y3 z3
  289.   x4 y4 z4 x5 y5 z5 .......
  290.   ...... ect ..............
  291.  
  292. where each line represents a triangle.  Usually I use Steve Anger's
  293. RAW2POV program to create objects with RAW data files.  RAW2POV will
  294. optimize A LOT the image, while POVCAD will just convert the data to
  295. triangles and that's it! 
  296.  
  297.  
  298. Creating an EXTRUDEd (Extrude Straight-Path) object (saves data in RAW format)
  299.  
  300. The EXTRUDE command (under the OBJECT menu) works in the same way the
  301. SWEEP command does.  SWEEP rotates and copies a curve while EXTRUDE 
  302. displaces and copies the curve.  As an example, if you create a line and
  303. extrude it, it will look like a plate.  The EXTRUDEd object will be diplaced
  304. in an orientation perpendicular to the computer screen and in the 
  305. direction going into the monitor.  In other words, if you are currently in
  306. the YX view, the cuve will be EXTRUDEd in the +Z direction(into the screen).
  307.  
  308. To create an EXTRUDEd curve do the following:
  309. 1) select a view different from ISOmetric (YX,YZ or ZX)
  310. 2) click on the PointsOFF icon to enable point creation
  311. 3) create a curve by clicking on the drawing window
  312. 4) click on the OBJECT menu, then on EXTRUDE
  313. 5) give a name for the file to be created (RAW format)
  314. 6) enter the extrusion length
  315.  
  316. * The file will be saved in a RAW data format.  
  317. * Click on ISO to view the final object.
  318.  
  319.  
  320. Try this with EXTRUDE:
  321.  
  322. You can create letters with the EXTRUDE command that will look like sheets
  323. of metal that were bent to form letters.  As an example create a series of
  324. points to form the letter "S".  Use the EXTRUDE command and save it to a
  325. file.  Since that file is in RAW format, use Steve Anger's RAW2POV and make
  326. smooth surfaces.  The final product shows a nice "S" letter that looks like
  327. it was "rolled" instead of "bent" to form the letter "S".  You can have both
  328. effects.  POVCAD will generate a "bent" effect while RAW2POV can create both
  329. effects.
  330.           ****************** NEW *********************
  331.  
  332. Extruding Data Files:
  333.  
  334. POVCAD can Extrude a data File.  After selecting this command, click on the
  335. data file to be Extruded (it can be any data file - PATH or Curves). 
  336.           ****************** NEW *********************
  337.  
  338. Extruding Along A Curved Path
  339.  
  340. The command Extrude Along Path found in the Object menu can be used to extrude
  341. a 2D or 3D contour along a "curved" 3D path.  The curve can be straight, even though these give
  342. the most trouble<g>.  The routine will try it's best to figure out how to extrude the contour.
  343.  
  344. If the function finds a problem with colinear points, it will beep and display a message and the number of the point.  In order to fix this, try displacing slightly the point so it's not colinear anymore...use the 2D Curve Editor (under the MISC menu).
  345.  
  346. Constant Contour
  347. The routine works by asking for the contour curve first THEN for the path curve.  These must be
  348. data files already created by you using POVCAD or any other program that generates path data.
  349. After selecting the files, enter a name for the RAW data file to be created.
  350.  
  351. Variable Contour
  352. This works the same way as Constant Contour except that you can load a third curve called a
  353. "profile" curve.  This profile curve indicates the scaling factor to be applied at each section of the extrusion.  A profile data file is like any other path data file.  If your path data file for the extrusion has 40 points, create a profile curve with 40 points.  The routine uses the distance of each point to the X axis as the scaling factor.  In example:
  354.  
  355.  
  356. (Path data file - just a straight line)              (profile data file)
  357.                             Y axis
  358. oooooooooooooooooooooooo                 :   o                
  359.                             :      o    
  360.                             :        o            
  361.                             :      o
  362.                             :  o
  363.                             :   o
  364.                             :    o
  365.                             :      o
  366.                             :------------------------------------------ X axis
  367.                                1  2  3  4  5 .....
  368.  
  369.  
  370. the final extrusion will look like this:
  371.                                o
  372.        o                 o    
  373.    o       o       o   
  374. o              o
  375.  
  376. o              o
  377.     o      o       o
  378.         o                o
  379.                                o
  380.  
  381.  
  382.  
  383. If the path is curved the scaling factor will be applied in a "curved" fashing to follow the path.
  384. It's easier if you experiment with it.   Just remember that in the profile data file, the distance from the X axis to each point determines the scaling factor at that corresponding point in the path.
  385.  
  386. There are 2 choices for the Extrude commands QUICK and RAW.  QUICK only draws the outline as it moves along the path, this is the fastest redrawing method.  Using RAW will show how the extrusion really looks like but it's slow.  Both methods will generate RAW data ouput when exported to a raytracer.
  387.  
  388. Creating Bezier Patches
  389.  
  390. This was a new feature added to POVCAD 2.0b.  To generate a Bezier patch, 
  391. select the objects menu and click on Bezier.  When you select one of the 
  392. following objects you will be asked for a name.  Use any name, but use the
  393. extension *.BEZ.  The "Read A File" command only checks for *.BEZ patches.
  394. The selections available are the following:
  395.  
  396.     1) Read A File
  397.        Once you create patches with POVCAD you can load them at
  398.        anytime using this function.  You'll be asked for the name
  399.        of the file and the patch(es) will be integrated in you scene
  400.        file.  When you create a Bezier patch use the extension *.BEZ.
  401.        This extension is recognized by POVCAD when reading Bezier patches
  402.        later.
  403.  
  404.        NOTE: A Bezier object can have a maximum of 4 patches
  405.          (64 nodes or control points)
  406.  
  407.     2) Flat
  408.        This is a flat patch with 16 nodes.
  409.  
  410.     3) Cylinder - 2 Patches
  411.        This is a collection of 2 patches (16 * 2 = 32 control points)
  412.        that form a cylindical surface.
  413.  
  414.     4) Cylinder - 4 Patches
  415.        Same as in 3) but with 16 * 4 = 64 control nodes.
  416.  
  417.     5) Cone
  418.  
  419.     6) Ellipsoid
  420.  
  421.     7) Torus (Top)
  422.        This is only 1/2 of a torus
  423.  
  424. After creating a Bezier patch, you may deform it in the following way:
  425.  
  426.     1) Click the icon on the lower right corner named "Bezier Edit OFF".
  427.        This will toggle the icon and enable editing.
  428.  
  429.     2) The screen will be erased and only the patch will be drawn.
  430.  
  431.     3) To rotate the patch, click on the icon "Bezier XFORM" and
  432.        perform whatever operation you need (it's similar to the
  433.        XFORM function used with the other objects).
  434.  
  435.        NOTE: The XFORM operations will be saved to the original file.
  436.           If you need the original data, use a copy.
  437.  
  438.     4) To move an individual node, click on the node to be displaced.
  439.        It is suggested that you use the ISO view to select nodes.
  440.  
  441.     5) On the selected node will appear a red circle. 
  442.  
  443.     6) Now, switch to a different view such as YX, YZ or ZX.  You may
  444.        now click on the new position, where the node should be.  POVCAD
  445.        does not use a "click and drag" method but a "click to select"
  446.        and a "click to move".
  447.  
  448.  
  449.     7) If you choose to stay in the ISO view, the node will move in
  450.        X and Y only and it's not a reliable view if you need precision.     
  451.  
  452.  
  453.     8) Once the node has moved, in order to move that node or another
  454.        one, you must click on the node to be modified.  POVCAD doesn't
  455.        "remember" the last moved node. 
  456.  
  457. In the [MISC]ellaneous menu, there is a command named "Bezier Setup".  This
  458. option lets you select if you wish to see the control grid, the Bezier surface
  459. patch or both (or none!).  There is also the option of selecting the number
  460. of lines in the Bezier patch.  The number goes from 3 to 13 lines per side.
  461. The higher the number, the better it will look on the screen (but the slower
  462. it gets).  
  463.  
  464.  
  465. To exit the editing area, click on the icon "Bezier Edit ON" to toggle it to
  466. OFF.
  467.  
  468.  
  469. BEZIER PATCH FILE FORMAT (*.BEZ)
  470.  
  471. If you have a program that creates the control points for Bezier patches,
  472. POVCAD can read it.  The data file can have data for up to 4 patches in this
  473. format, (i.e., where cp31.x is patch #3, control point #1, X value):
  474.  
  475. cp11.x cp11.y cp11.z
  476. cp12.x cp12.y cp12.z
  477. cp13.x cp13.y cp13.z
  478. ....ect.....
  479. cp21.x cp21.y cp21.z
  480. cp22.x cp22.y cp22.z
  481. ....ect ....
  482. <up to 4 patches!>
  483.  
  484.  
  485. The file is straight ASCII with 1 control point per line.
  486.  
  487.  
  488. CREATING CONSTRUCTIVE SOLID GEOMETRY
  489.  
  490. Let's use an example to explain this topic:
  491. We'll assume we want to create a cylinder with a hole in the middle.
  492. Since the operation is a difference:
  493.  
  494. 1) click on CSG and then select "difference".
  495. 2) create the cylinder and position it.
  496. 3) create a sphere (the hole) and position it.
  497. 4) Click on CSG and then "Close".
  498.  
  499. Close is the command to tell the program that the current CSG operation
  500. has ended.  The Session list would look like this:
  501.  
  502. DIFFR
  503. CYL ........
  504. SPH ........
  505. ENDF
  506.  
  507. Where:
  508. DIFFR   = difference operation
  509. CYL ... = cylinder definition and transformations
  510. SPH ... = sphere definition and transformations
  511. ENDF    = tells the program that this is where the difference operation
  512.       ends
  513.  
  514. Now let's assume that you want to create a union of 2 cylinders each
  515. one with a hole in it:  This is how the Session list would look like:
  516.  
  517.               comments:
  518. UNION                  1) union operation starts here
  519. DIFFR                  2) difference operation starts here
  520. CYL ....               3) cylinder #1
  521. SPH ....               4) sphere #1
  522. END                    5) clicked on CSG then on Close
  523. DIFFR                  6) Start another difference
  524. CYL ....               7) cylinder #2
  525. SPH ....               8) sphere #2
  526. END                    9) clicked on CSG then Close
  527. ENDF                   10)clicked on CSG then Close 
  528.              (click on TEXTURE now to add one to the object)
  529.  
  530. As you can see, the software uses END and ENDF to distinguish between
  531. intermediate CSG operations and the final CSG operation...in this case
  532. the UNION was the final and the DIFFR were the intermediate.
  533.  
  534. The same idea applies to all CSG operations.  Composite is not a CSG but
  535. it was the best place to put it. <grin>
  536.  
  537.  
  538. (Polyray users)
  539.  
  540. The example given would be the same as:
  541. (POVCAD)              (Polyray output will look _something_ like this)
  542. UNION                  object {
  543. DIFFR                    object{
  544. CYL ....                   CYL ...
  545. SPH ....                 - SPH ... 
  546. END                      }
  547. DIFFR                  + object{
  548. CYL ....                   CYL ...
  549. SPH ....                 - SPH ...
  550. END                      }
  551. ENDF                   }
  552.  
  553. Polyray users must follow PoV's CSG format (...sorry!)  
  554.  
  555.  
  556. * TEXTURES ON CSG OBJECTS *
  557.  
  558. To put a texture on a CSG object click on ENDF(using the Session command)
  559. to make it the current object (you'll see ENDF at the bottom right part
  560. of the screen) then click on TEXTURE to add the one that you want.
  561.  
  562. * TEXTURES ON CSG OBJECT - POV 2.0 *
  563.  
  564. Since POV 2.0 does not support composite objects you can attach textures to
  565. individual objects inside a CSG definition or as explained in the previous
  566. paragraph.
  567.  
  568.  
  569. Transforming CSG /Composite objects
  570.  
  571. At this point it is NOT possible to transform (XFORM) the whole set of
  572. objects.  You may XFORM any of the individual objects that compose a CSG
  573. object.
  574.  
  575.  
  576. Quick Comment
  577.  
  578. If you want to clip an object with 2 planes do the following:
  579. 1) Click on "intersection"
  580. 2) create the object to be clipped
  581. 3) create plane #1
  582. 4) create plane #2
  583. 5) rotate plane #2 so that the normal is facing oposite
  584.    to plane #1's normal.  (When a plane is created, the normal
  585.    is ALWAYS in the + direction of the axis.) Also you must translate
  586.    plane #2 so they're not in the same place. 
  587.  
  588.    Example:
  589.    plane#1: PLANE_Y,Translate_Y = .5 
  590.    plane#2: PLANE_Y,Translate_Y = -.5,Rotate_Z = 180
  591.    
  592.    Plane #1's normal is pointing in the +Y direction, while
  593.    plane #2's normal is in the -Y direction (due to rotation
  594.           about Z of 180 degrees)
  595.  
  596.    Any object placed in the origin will be clipped at Y=0.5 and
  597.    Y=-0.5 . Try it and see!
  598.  
  599.  
  600. Selecting objects with the mouse/ rotations and translations
  601.  
  602. There are different methods for selecting objects so that you may modify them.
  603.  
  604.    1) Clicking on SESSION
  605.       You may click on the SESSION command in the main menu.  This will show
  606.       a list of all objects that are currently in the database.  To select 
  607.       any of them, simply click on the line where it appears, then click on 
  608.       OK. Observe that on the lower right corner, the object selected will be
  609.       displayed(with it's texture).  Now you may use XFORM or click on EDIT
  610.       or use any of the next methods.
  611.  
  612.       The current object always will appear on the lower right corner of the
  613.       screen.  If you wish to reselect a new one, you may either, click on 
  614.       the SESSION command, or click on the scroll bar on the lower right 
  615.       corner to move thru the objects.  The one being shown is the current 
  616.       one.  Any editing command will apply to the current selected object.
  617.  
  618.  
  619.    2) Use of the left button(mouse)
  620.       To select an object, check that the PointsOn/OFF icon is OFF.  Now,
  621.       move the mouse cursor to a point near the center of the object that
  622.       you want to select.  Press, the left button.  The object selected will
  623.       be redrawn in a light color.  If the computer selected the wrong one,
  624.       simply move the mouse to another position near the center point of the 
  625.       object and click.  If still the computer selects the wrong one, you may
  626.       change the current view (Iso,YX,YZ,ZX) to find a better viewpoint.
  627.  
  628.       This command may select the incorrect object when various objects share
  629.       a common center point, or the object you want to select is behind
  630.       another one.  In those cases, change the VIEW and retry.  In the worst  
  631.       case, use the SESSION command to select the object.
  632.  
  633.       * SWEEP and RAW objects can't be selected with the mouse! use the 
  634.        methods explained on step 1) *
  635.  
  636.       * CONEs are selected by clicking on the apex or near it *
  637.  
  638.       Once you click on an object and select it, the object will be drawn in
  639.       a light color. If you click on REDRAW, all the objects will be drawn in 
  640.       black, but the current object will stay current.      
  641.  
  642.   3)  Use of the right button(mouse)
  643.       Once an object has been selected, you may wish to Move,Copy,Copy and
  644.       Rotate or Copy and Translate.  To do this, select and object.  The next
  645.       step depends on the command:
  646.        
  647.     a) Move
  648.        To move the current selected object, move the mouse to the 
  649.        position where you want the object.  Press the right button and 
  650.        select MOVE.
  651.        
  652.     b) Copy
  653.        To copy the current selected object, move the mouse to the 
  654.        position where you want the new object.  Press the right button 
  655.        and select COPY. The texture of the new object will be the same 
  656.        as the old object's.
  657.       
  658.     c) Copy/Rotate
  659.        This command is used to make multiple copies of an object, all of 
  660.        them rotated by a certain amount of degrees.  To use this command, 
  661.        select an object, then move the mouse to the a point that will 
  662.        become the center of rotation.  Click the right button.  Select 
  663.        Copy/Rotate.  Enter the angle between objects (in degrees).  Enter 
  664.        the number of copies to make, NOT including the original one.
  665.  
  666.     d) Copy/Translate
  667.        This command is used to make multiple copies of an object, each 
  668.        one at a certain X,Y,Z distance from the other.  Select an object.  
  669.        Press the right button.  Enter the number of copies and the 
  670.        displacements of the new objects.  The displacement is a 
  671.        cumulative effect, for example:
  672.  
  673.          if a sphere is at (0,0,0) and you enter x=.2,y=.1,z=.5 and enter 
  674.          3 copies then, object #1 will be at (.2,.1,.5) the next one at 
  675.          (.4,.2,1.0)  and the last at (.6,.3,1.5).  
  676.     
  677.        You may enter a value of zero for any of the coordinates.  If you 
  678.        put all zeroes, you'll get multiple copies in the same place!!!  
  679.           
  680.           ****************** NEW *********************
  681.  
  682. Creating Polygons
  683.  
  684. POVCAD now supports polygon decomposition.  This commands takes a curve
  685. generated on the screen with the POINTS menu ("as is" or B-Splined or 
  686. Catmull-Rom Splined), or with the PATH command and assumes it is a polygon.  
  687. The polygon will be subdivided into smaller triangles.  
  688.  
  689.                 IMPORTANT !!!!!!
  690.  
  691. NOTE:  You should try to create path data and curves in the XY plane (view).
  692.        This increases the chance of the decomposition algorithm working.
  693.        It might work in other views but I can't guarantee it.
  694.  
  695.  
  696. The choices are:
  697.  
  698.     1) Freehand
  699.        Use the POINTS command to create a curve or contour of the polygon.
  700.        The polygon must not be closed, i.e. the first and last points should
  701.        be different.  The final polygon will match exactly with the curve.
  702.        The data is saved as a RAW data file.
  703.  
  704.     2) B-Spline
  705.        Use the POINTS command to create a curve or contour of the polygon.
  706.        The data will be processed with a B-Spline curve fitter and smoothed.
  707.        Then the polygon created will be subdivided into triangles.  The data
  708.        is saved as RAW.  The polygon will not match exactly the contour since
  709.        B-Spline approximates it but it will be smooth compared to the original.
  710.     
  711.     3) Path Data
  712.        Select a data file to decompose. Use this command if you already
  713.        created a data file with the PATH menu or with other programs.
  714.  
  715.  
  716.     4) Perforated
  717.        This command creates a polygon with a hole in it.  It requires 2 names:
  718.        1) the file that has the outer curve data and 2) the name of the file with the
  719.        inner curve (hole).  Finally it asks for the name of the RAW data file to be
  720.        created. A surface will be generated between the outer contour and the inner
  721.        contour (hole).  
  722.  
  723.        If you need to create more holes, use the MERGE OUTER/INNER command in the PATH
  724.        menu.  An example:
  725.         Let's assume that you have a 3 curves to create the letter "B"..the outer
  726.         curve of the letter, the top hole and the bottom hole.  Let's also assume that
  727.         the name of the files are B.DAT, TOPHOLE.DAT and BOTMHOLE.DAT.  First use the 
  728.         MERGE command in the PATH menu and MERGE B.DAT and TOPHOLE.DAT into 1 PATH file
  729.         called BTEMP.DAT.  Now you have 2 choices:  You can either MERGE BTEMP.DAT and 
  730.         BOTMHOLE.DAT and then use the PATH DATA command in the POLY menu OR you can use the
  731.         PERFORATED command in the POLY menu with BTEMP.DAT and BOTMHOLE.DAT.            
  732.  
  733. IMPORTANT BACKGROUND:
  734.  
  735. 1) When creating a curve to be used as a polygon, the first and last point 
  736.    may be different. (not necessary to be closed). 
  737.  
  738. 2) If you draw an imaginary line from the last point to the first on a curve,
  739.    it must NOT intersect any other line in the same curve.
  740.  
  741. 3) You may use any orientation when defining the curve,i.e it can be clockwise
  742.    or counterclockwise.  The algorithm will re-orient the data efficiently.
  743.    The object can be convex or concave.
  744.  
  745. 4) If the routine doesn't work properly, delete the RAW object created and try
  746.    again. The curve will still be there.
  747.  
  748. 5) Even though you must create the curves originally in the XY plane, the
  749.    Z values of each curve can be different. As an example, let's say that
  750.    you want to create a surface which will not be flat, but roughly looking
  751.    like a cone (truncated cone).  Create the outer contour first, then the
  752.    inner contour.  Now, use the XFORM command to translate the inner curve
  753.    in the +Z direction.  If you now look at the curves in the YZ plane, you
  754.    will see 2 lines...the leftmost line is the outer curve and the rightmost
  755.    curve is the inner contour.  Click on the PATH command to SAVE the inner
  756.    curve new data.  The save will be SAVEd as a *.pth data file.  Now,
  757.    using the PERFORATED command in the POLY menu, select the outer curve
  758.    and the *.pth file that you just created (the inner curve that has been
  759.    displaced in the +Z axis).  The surface will end up looking like a 
  760.    cone aligned with the Z axis.  This is pretty handy when creating 
  761.    beveled fonts.
  762.  
  763. Creating PATH data files for your animations
  764.  
  765. This feature allows you to create data files of paths that may be
  766. used in animations programs.  Simply select the Path menu and select
  767. which curve to create.  These data files can be XFORMed in the same
  768. fashion as any of the objects supported by POVCAD.
  769.  
  770. To create a curve, select the corresponding curve and you'll be asked
  771. for a filename to save the data. This is done to reduce memory
  772. requirements on your system.  The following is a brief description:
  773.  
  774. 0) Load and SAVE
  775.    Load read any 3D point ASCII file and converts it into a path,
  776.    i.e. lines will be drawn to connect the points sequentially.  Your
  777.    data file SHOULD NOT have an extension *.PTH since this is used by
  778.    POVCAD to save the final path files.
  779.  
  780.    SAVE converts your data file, i.e. filename.ext into filename.PTH.
  781.    Initially, filename.ext was a set of 3D points that you created
  782.    yourself or thru POVCAD.  Since you may want to rotate, scale or
  783.    translate the data, POVCAD takes those operations and changes your
  784.    data.  In order to keep the original data intact, POVCAD saves the
  785.    new data with the PTH extension.
  786.  
  787.    The EXPORT to POV function in the FILE menu also creates the *.PTH
  788.    files.  If you haven't created any 3D objects and you don't need to
  789.    create a POV file, simply use the SAVE function in the PATH menu, to
  790.    save your animation files.
  791.  
  792.    To merge 2 or more data files, drop to DOS or load a texteditor
  793.    and simply append one file to the other to create more complicated
  794.    path data files.  It's that simple! (gasp!...I hope it works)
  795.  
  796.  
  797. 1) Freehand
  798.    Converts a set of points created on the screen to a path.  Maximum
  799.    number of points is 50. 
  800.  
  801. 2) Linear
  802.    Click 2 points (more than that will be discarded) on the screen.
  803.    The routine will subdivide the line segment into a set of points.
  804.  
  805. 3) Circular
  806.    Creates a circular path.  No points have to be created with the
  807.    mouse.
  808.  
  809. 4) Parabolic
  810.    Follows the curve Y = aX^2 where a is the parabola coefficient
  811.    and the value of Y is the height.  The value of Z is zero but
  812.    you may create this curve from any view.  The routines will swap
  813.    the axis to reflect the view you're in.
  814.  
  815. 5) Helix
  816.    Creates a "spring".  The curve follows :
  817.     x = a cos(2*pi*t)
  818.     y = a sin(2*pi*t)
  819.     z = t
  820.     
  821.     Therefore Z is the "height" of the function.  This depends on the
  822.     current view setting.
  823.  
  824.  
  825. 6) B-Spline
  826.    Smooths a set of points created on the screen with the POINTS command.  
  827.    You will be asked for the amount of subdivisions of the final curve.  You
  828.    may accept the default or modify the number.  The final amount of 
  829.    subdivision is dependent on the amount of data and may be slightly
  830.    to what you specify.  The original curve is not erased from memory.
  831.    Use the "DEL PNTS" command inside the "EDIT" menu.
  832.  
  833.  
  834.           ****************** NEW *********************
  835. 7) Catmull-Rom { Same instructions as 6) B-Spline } 
  836.     Catmull-Rom splines pass thru the control points as opposed to B-Splines that simply approach the control points.   Also, you will be asked for a tension value when using Catmull-Rom Splines.  You may wish to use the default value 0.5 or a different one.  Values approaching 0 seem to create linear interpolation while numbers larger than 0.5 may not follow the data contour correctly.  Experimentation is a must on this one.
  837.  
  838. 8) Merge Outer/Inner
  839.    Use this command to join an outer contour and an inner contour in
  840.    one data file.  This becomes handy when creating polygons with more 
  841.    than one hole.  If you have one outer contour with various holes, you
  842.    may want to consider MERGEing the outer curve and the first inner into
  843.    a temporary file.  Then take the temporary file and MERGE it with the
  844.    next hole and create a new temporary.  Do this for all the holes.            
  845.  
  846.           
  847. 9) Flip Data File
  848.  
  849.    This commands flips a data file, i.e., the last point becomes the first
  850.    point and viceversa.  This command can be used before calling the 
  851.    Join 2 Curves command.  You may need to invert the data so that lines
  852.    don't cross. Example:
  853.  
  854.              a
  855.     ------------o   <- curve #1 starting point
  856.     |
  857.     |  ---------o   <- curve #2 starting point           
  858.     |  |         b
  859.     |  |
  860.     |  |
  861.     |  |           c
  862.     |  ----------o     
  863.     ----------o 
  864.                d
  865.  
  866. if you use the JOIN command the point "d" will connect to point "b". 
  867. POVCAD takes the last point from curve #1 and connects it to the starting
  868. point of #2.  Clearly, the line connecting d to c will cross over curve
  869. #2.  To eliminate this you may wish to FLIP curve #2 first then JOIN it to
  870. curve #1:
  871.  
  872.               a
  873.     ------------o   <- curve #1 starting point
  874.     |
  875.     |  ----------o              
  876.     |  |          c
  877.     |  |
  878.     |  |
  879.     |  |         b
  880.     |  --------o    <- curve #2 starting point 
  881.     ----------o 
  882.              d
  883.  
  884.  
  885. This will make a smooth transition from curve #1 to curve #2, which is 
  886. required if you need to create a polygon with the POLY menu later.
  887.  
  888.  
  889.  
  890. 10) B-Spline Data File
  891.    Works the same as the B-Spline {command 6) mentioned above} but it reads
  892.    a data or path file.
  893.  
  894. 11) Catmull-Rom Data File {similar to 10) }
  895.  
  896. After creating the curves you may use them to animate your raytraced
  897. images.  POVCAD simply creates the curves and shows them with the
  898. geometry so you have a better understanding of how things might look.
  899. Remember, you can scale, rotate and translate the data like any other
  900. object!  You may also use them in combination with the POLY menu to create
  901. flat surfaces.
  902.  
  903.  
  904.           ****************** NEW *********************
  905.  
  906. 2D Curve Editor (inside the MISC menu)
  907.  
  908. This feature lets you load or create a 2D contour or path and modify the location of the control points.  To create a point click on the Create button.  By clicking on the drawing area you create a contour.  If you wish to preview a BSpline smoothing on the curve, click on the BSpline button.  The scroll bar determines the smoothing factor on the curve..the higher the number the smoother the curve and correspondinly the number of points will increase.  The number is a multiplication factor for the current amount of points, i.e., if you created 5 points and select a factor of 5, the final curve will have approx. 5 X 5 points (25).
  909.  
  910. In order to move a point, click on Select and click on the point to be moved, you may select any point.  To move the point  simply drag it to the correct position.
  911.  
  912. If you want to close an open contour, click on the Close Curve icon.  
  913.  
  914.  
  915.  
  916. Creating LightSources
  917.  
  918. To create a light_source object, click on the MISC command in the main
  919. menu, then LIGHT.  Enter the origin coordinates of the light_source (x,y,z).  
  920. To add a color to the light_source, select it (Session) then click on the
  921. Color command in the main menu.  You may select any color or edit the
  922. string "red # green # blue #" by replacing the "#" with appropiate numbers.
  923. If you wish to move the light_source, click on XFORM and modify the
  924. translate parameters.
  925.  
  926. The rotation angles do not apply to light_sources.  The scale factors will
  927. only affect the size of the light_source symbol (resembles a 3D axis) in
  928. POVCAD, POV does not require a scaling factor.
  929.  
  930. When the scene file is EXPORTed to POV, the definition of the light_source
  931. will also include the spotlight keywords commented out.  If you need to use
  932. your light as a SPOTLIGHT, simply erase the "//" characters and replace the
  933. question marks "?" after each keyword with a proper value. Look at this
  934. example:
  935.        ***** part of a scene created with POVCAD ******
  936. // LIGHT_SOURCE
  937. object {
  938.   light_source{< .1   .2   .3  > color Blue
  939.     // If you need a spotlight, use the statements below
  940.     // replace ? with proper values
  941.     //spotlight
  942.     //point_at < ? ? ? >
  943.     //radius ?
  944.     //falloff ?
  945.     //tightness ?
  946.  }
  947. }
  948.  
  949.  
  950. Grid Spacing command
  951.  
  952. The Grid helps you determine relative distances between points or objects.
  953. To show the Grid, click on the GridOff icon to enable the Grid.  Initially,
  954. the World area will be divided into 20 columns and 20 rows (always equal in
  955. number).  If you wish to modify this number, click on the VIEW menu and
  956. select the GRID SPACING command.  Enter an integer number.  This number will
  957. indicate the amount of rows AND columns, i.e.  10 indicates 10 rows and 
  958. 10 columns.  The higher the number the more precision you'll get.
  959.  
  960. Use the SnapOFF/ON to select only points which are in the grid.  Turning
  961. SnapOFF let's you select any place in the screen.  Experiment with it.
  962.  
  963.  
  964. How does POVCAD save the objects?
  965.  
  966. POVCAD saves 3 files for every session: {(4) is optional }
  967. 1) *.CAD   This is the object definitions file
  968. 2) *.TEX   file with the textures of each object
  969. 3) *.WRL   world definition of the session
  970. 4) *.PTH   data files to be used in your animation programs
  971.  
  972. *.CAD file structure:
  973. This is the format that POVCAD uses for those of you that want to create
  974. external programs to deal with them.  The file is an ASCII file with 
  975. double quotes at the begining and end of each statement:
  976.  
  977. rx,ry,rz = rotations about each axis (absolute)
  978. tx,ty,tz = translations on each axis
  979. sx,sy,sz = scale factors for x,y and z
  980.  
  981. **** IMPORTANT: Each parameter is separated by 1 space.  This is important
  982.        if you're writing utilities for POVCAD.  This space is REQUIRED.
  983.  
  984.  
  985. 1) Plane:    "PLN axis rx ry rz tx ty tz sx sy sz" 
  986.  
  987. Example:
  988. "PLN X 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  989.      
  990. 2) Cylinder  "CYL radius height rx ry rz tx ty tz sx sy sz"
  991.  
  992. Example:
  993. "CYL .2 1 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  994.  
  995. 3) Cone:     "CON radius height rx ry rz tx ty tz sx sy sz"
  996.  
  997. Example:
  998.    "CON .2 1 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  999.  
  1000. 4) Sphere:   "SPH radius rx ry rz tx ty tz sx sy sz"
  1001.   (tx ty and tz are the center of the sphere)
  1002.   (sx sy sz must have the same value)
  1003.  
  1004. Example:
  1005.    "SPH .5 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  1006.  
  1007. 5) Ellipsoid: "ELI xradius yradius zradius rx ry rz tx ty tz sx sy sz"
  1008.  
  1009. Example:
  1010.    "ELI .5 .2 .3 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  1011.    
  1012. 6) Torus:     "TOR radius_major radius_minor rx ry rz tx ty tz sx sy sz" 
  1013.  
  1014. Example:
  1015.    "TOR .7 .2 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  1016.  
  1017. 7) Box:       "BOX rx ry rz tx ty tz sizex sizey sizez"
  1018. (the Box is a unit cube that has been scaled to size)
  1019.  
  1020. Example:
  1021.    "BOX 0.0 0.0 0.0 0.0 0.0 0.0 1 2 .1"
  1022.  
  1023. 8) HeightField "HFL filename.ext rx ry rz tx ty tz sx sy sz"
  1024. (POVCAD draws a pyramid to represent it, with dimensions x=1 y=1 z=1, 
  1025.  so it must be scaled properly.  Check POV's docs on height_field.)
  1026.  
  1027. Example
  1028.    "HFL mountain.gif 0.0 0.0 0.0 0.0 0.0 0.0 1000 1000 3245"
  1029.  
  1030. 9) RAW: "RAW filename.ext rx ry rz tx ty tz sx sy sz"
  1031.    (Consider using Steve Anger's RAW2POV, it's more efficient. Don't
  1032.     say I didn't tell you about it!)
  1033. Example:
  1034.     "RAW sweep.dat 0.0 0.0 0.0 0.5 1.3 0.0 1 1 1"
  1035.  
  1036. 10) Sweep
  1037.     (same as RAW only that the SWP keyword appears instead of RAW)
  1038.  
  1039. 11) Extrude 
  1040.     (same as RAW)
  1041.  
  1042. 12) Path
  1043.     "PTH filename.ext 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  1044.     This command points to a file with the format:
  1045.      p1.x p1.y p1.z
  1046.      p2.x p2.y p2.z
  1047.      ....ect .....
  1048.     
  1049.     which was created with POVCAD or that you made up yourself.
  1050.  
  1051. 13) Light Source
  1052.     "LTS 0.0 0.0 0.0 X Y Z .25 .25 .25"
  1053.     
  1054.     Comments: 
  1055.      * The first three numbers are not used at all.
  1056.      * X Y Z refer to the light source position
  1057.      * the three .25 values are scaling factors that only affect
  1058.        the drawing on POVCAD.   You may change those numbers to
  1059.        suit your needs by using the XFORM command (scale x,y,z).
  1060.      * The light_source color is in the *.TEX file.
  1061.  
  1062.  
  1063. 14) Bezier
  1064.     "BEZ filename.ext 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1"
  1065.     
  1066.      Comments:
  1067.      * The only parameter used is the filename.
  1068.     Bezier parameters are XFORMed and their data file is modified
  1069.     accordingly (using the Bezier XFORM icon).
  1070.  
  1071. 15) Disc: "DSC Ro Ri 0.0 0.0 0.0 0.0 0.0 0.0 1 1 1" 
  1072.     Ro = outer radius
  1073.     Ri = inner radius (if object is a washer)
  1074.     If Ri = 0 then a disc is drawn else a washer is drawn.
  1075.  
  1076.  
  1077. The *.TEX file structure:
  1078. The *.tex file has a line for every item in the *.cad file.  Some places
  1079. may be empty but the file length is the same as the *.cad file.  If you
  1080. created light_sources, the colors will appear here also.
  1081.  
  1082. The *.WRL file structure:
  1083. This file has 4 values (if it's not found in your directory, POVCAD
  1084. assumes a world definition of (-1,-1)-(1,1) ):
  1085.  
  1086. WXleft  WYbottom
  1087. WXright WYtop
  1088.  
  1089. These values correspond to the YX plane view.
  1090.  
  1091. The *.PTH file structure
  1092. This is a straight ASCII file with a list of 3D points:
  1093.  
  1094. p1.x p1.y p1.z
  1095. p2.x p2.y p2.z
  1096. ... ect...
  1097.  
  1098. The data has already been transformed by any operations you might have
  1099. done inside POVCAD.
  1100.  
  1101.  
  1102. TEXTURES.DEF,COLORS.DEF,TEXTURES.PV,COLORS.PV,TEXTURES.PV2,COLORS.PV2 files 
  1103.  
  1104. These files consist of texture and color names that POVCAD will read.
  1105. All files follow the same format: 1 name per line.
  1106. POVCAD will automatically load them if present in POVCAD's directory. 
  1107. Files are in ASCII format. 
  1108.  
  1109.  
  1110. Other Stuff
  1111. --------------------------------------------------------------------
  1112. Limits
  1113. At this point up to 100 objects may be created.  You may do complicated
  1114. objects by MERGEing files.  This will change on future versions.
  1115.  
  1116. Bezier objects can have up to 4 patches.
  1117.  
  1118. CSG/COMPOSITE Objects
  1119. You can not XFORM the whole CSG/COMPOSITE object...you may XFORM any of
  1120. the components.
  1121.  
  1122. World Coordinates Definition:
  1123. POVCAD starts with (-1,-1)-(1,1) => (lowerleftcorner)-(upperleftcorner).
  1124. Click on View and then World to change that or use the ZoomIn/Out icons
  1125. to scale up or down.  When you ZoomIn the world = world/scalefactor and 
  1126. when you ZoomOut the world = world * scalefactor.  
  1127.  
  1128. Pan
  1129. You can Pan(scroll) in all direction by clicking on the arrows.  You may
  1130. change the Pan Step Size to move faster or slower. Experiment with it.
  1131.  
  1132. Copy (from the Edit menu)
  1133. The Copy function will create an exact copy of the current object. That
  1134. means that it will be also in the SAME place as the original.  Then XFORM
  1135. will be shown and select the transformation necessary to put the new object
  1136. where it should be.  Click on redraw to refresh the screen if necessary.
  1137.  
  1138. Files
  1139. The Export to POV creates a POV format file of the current scene.  The
  1140. default name is POVCAD.OUT...the name can be changed.  It also creates 
  1141. any path files (*.PTH) that are in memory.
  1142.  
  1143. AutoRedraw ON/OFF
  1144. There's an icon to turn on/off the autoredraw feature.  With the option 
  1145. on ON the drawing is sent to a buffer first and then appears on the screen.
  1146. With the option on OFF the screen will be redraw everytime that you select
  1147. the TEXTURE, SESSION or XFORM windows.  Experiment which one works best for you.
  1148. The important point is that in ON you pay a price with memory.  Check
  1149. with your system, you decide.
  1150.  
  1151.  
  1152. Suggestions
  1153. Create a standard view file with lightsources and camera and put
  1154. somewhere the statement #include "myscene.pov" to include your scene.
  1155. That's what I do and works OK for me.
  1156.  
  1157.  
  1158. Your Suggestions
  1159. I do welcome your comments and suggestions!  Registered users have a
  1160. better chance of seeing their comments incorporated in the program.
  1161. If you like it or not let me know!
  1162.  
  1163.  
  1164. BUG LIST (ugh!) [Check Pi Square BBS for the latest updates!]
  1165. ---------------
  1166. Ver 1.0a 2/8/93   (thanks to Bill Martin!)
  1167.   - (fixed) error in height_field definition (was totally wrong!)
  1168.  
  1169.   - added "object { }" and "color" keywords to light_source object
  1170.  
  1171.   - error on cone definition (not sure what the problem is :( )
  1172.  
  1173. Ver 1.0b 3/27/93 
  1174.   - (fixed) You may press [OK] on the SESSION windows without having done
  1175.     a selection. (the program used to crash)
  1176.  
  1177.   - Cone_Y was changed to QCone_Y since Cone_Y was used in an old version
  1178.     of the SHAPES.INC include file.  If you have the old version, replace
  1179.     QCone_Y with Cone_Y.
  1180.  
  1181.   - (fixed)The 3D axis was not appearing at the beginning of the program.
  1182.  
  1183.   - The name of the file now appears at the top of the Window (caption).
  1184.     If no file is present, the caption "POVCAD version#" will appear.
  1185.  
  1186.   - When a POV file is created with the EXPORT function, the name of the
  1187.     file, date and time of creation will appear on the top.  
  1188.     
  1189.     (thanks to Phil Long!)
  1190.   - (fixed) The copy function was not copying the texture to the new object.
  1191.  
  1192.   - (fixed) When opening the texture window and color window, you may click
  1193.     on the texture or color word to accept it...no need to click on [OK].
  1194.   
  1195.     (thanks to Bill Martin!)
  1196.   - I added a scroll bar at the bottom right area of the screen, near the
  1197.     current object and texture info box.  Once an object is created, it will
  1198.     appear in the info box.  If you have more than one, simply scroll thru
  1199.     each one...no need to use the SESSION dialog box anymore unless you want
  1200.     to see more than one object at a time.  The object that appears in the box
  1201.     is the current object and may be XFORMed at any time.
  1202.  
  1203.     (thanks to Peter Jack!)
  1204.   - (fixed) Light source was not accepting negative numbers
  1205.  
  1206. Ver 1.0c 4/2/93  
  1207.     (thanks to Neil Clark and Kevin Luck!)
  1208.   - (fixed) The "SAVE AS.." command was not working properly.
  1209.  
  1210. Ver 2.0 4/10/93
  1211.     (thanks to Phil Long!)
  1212.   - Modified RAW data output (format).  Sometimes only "." would appear!
  1213.     The new format is "#.###E##".
  1214.  
  1215.   - (fixed) Bug in the SWEEP command.  The command worked ok only on the YX
  1216.     view...the others would give incorrect swept images.
  1217.  
  1218.     (thanks to Amanda Osborne!)
  1219.   - If you create a RAW data file with any other program, be sure to check
  1220.     that the first line doesn't have text or an empty line.  If it does,
  1221.     POVCAD chokes.  I'll try to check for it on a future minor release.
  1222.  
  1223. Ver 2.0a 4/24/93
  1224.   - (fixed) bug on Open command.  POVCAD would choke if texture (*.tex) file
  1225.     was not available. 
  1226.  
  1227.   - added support for the Polyray raytracer.  EXPORT works for PoV and
  1228.     Polyray.
  1229.  
  1230.   - added a viewpoint definition window (similar to PoV's camera).
  1231.     It can be found in the MISC menu.
  1232.  
  1233.   - CSG operations DO NOT work for Polyray at this point.
  1234.   
  1235.   - modified Export to POV routine to eliminate all rotate <0 0 0>,
  1236.     scale <1 1 1>, or translate<0 0 0>...they are not needed.
  1237.  
  1238.   - more experimentation with the CONE_Y definition...hope it works.
  1239.  
  1240.  Ver 2.0a 5/4/93 
  1241.  
  1242.   - added support for CSG in Polyray (user must follow PoV's CSG format)
  1243.     It _seems_ to work OK. <gulp!>
  1244.  
  1245.  Ver 2.0a 5/8/93
  1246.   - Increase point buffer from 25 to 50
  1247.  
  1248.  Ver 2.0b 7/9/93
  1249.   - Added Bezier patch features and objects
  1250.  
  1251.   Ver 2.0b 7/14/93  
  1252.   - Added polygon decomposition and B-Spline features. The decomposition 
  1253.     needs some work.  :(
  1254.  
  1255.   Ver 2.0b 7/18/93
  1256.   - Fixed most bugs in Decomposition and added Join 2 Curves, B-Spline
  1257.     and Flip commands to data files.
  1258.  
  1259.   Ver 2.0b 7/19/93
  1260.   - Fixed bug in decomposition algorithm
  1261.   - Added Extrude Data files option             
  1262.  
  1263.   Ver 2.0b 7/22/93
  1264.   - Fixed obscure bug in decomposition algorithm
  1265.  
  1266.   Ver 2.0b 7/24/93
  1267.   - Fixed bug RE: the "colors" keyword missing on the texture definition.
  1268.  
  1269.   Ver 2.0b 7/31/93
  1270.     (thanks to Peter Jack!)
  1271.   - Fixed bug in the File Box.  Was showing incorrect titles.
  1272.   - Added the "SWEEP DATA FILE" command.  Now POVCAD SWEEPs points or data
  1273.     files with points.
  1274.   Ver 2.0b 8/15/93
  1275.   - Worked a bug on the decomposition algorithm - needs more checking though.
  1276.  
  1277.  Ver 2.0b 8/25/93
  1278.     (thanks to Morten Hjerde!)
  1279.   - Found a bug in the exiting routine....POVCAD would stay in memory if ALT-F4 or the CLOSE                    icon was selected.
  1280.  
  1281.  Ver 2.0c 9/25/93
  1282.   - Switched to Visual Basic 3.0 and added Catmull-Rom Spline support.  
  1283.  
  1284.  Ver 2.0c 10/20/93
  1285.   - Supports POV 2.0 now.
  1286.  
  1287.  Ver 2.0c 10/24/93
  1288.   - Converts RAW data to DXF files
  1289.  
  1290.  Ver 2.0d 11/1/93
  1291.     (thanks to Andrew Jones!)
  1292.   - Added DXF to RAW routine (supporting 3DFACE entities)
  1293.  
  1294.  Ver 2.0d 11/4/93
  1295.   - Added DXF to RAW routine (suporting POLYLINE entities)
  1296.  
  1297.  Ver 2.0d 11/5/93
  1298.     (thanks to Jerry Thomaston!)
  1299.   - (fixed) bug in Bezier transformation routine was found
  1300.  
  1301.  Ver 2.0d 11/7/93
  1302.   - Added 2D Curve Editor (nothing fancy...though<g>..needs work)
  1303.  
  1304.   Ver 2.0d 11/13/93 - 11/16/93
  1305.   - Added Extrude along a curved path feature.
  1306.   - Added DISC object
  1307.   - increased limit in points buffer to 300 points
  1308.   - increased redrawing speed by eliminating redundant redraw calls
  1309.   - added more features to the 2D Curve Editor
  1310.  
  1311.  Ver 3.0 11/20/93
  1312.  - Added QUICK and RAW choices for Extrude along path feature.
  1313.     
  1314. ------------------------------------------------------------------------
  1315.  
  1316.     REGISTRATION FORM FOR POVCAD 3.0  (c) Alfonso Hermida 1993
  1317.                Windows Version
  1318.         COMPLETE THE REQUIRED INFORMATION
  1319.             Send check or money order to
  1320.              Alfonso Hermida
  1321.                9346 Kings Grant Rd
  1322.              Laurel MD 20723
  1323.  
  1324.  
  1325. Name   :_________________________________         Date:_________
  1326.  
  1327. Address:________________________________________________________   
  1328.  
  1329.     ________________________________________________________
  1330.  
  1331.     ________________________________________________________
  1332.  
  1333.  
  1334. Phone  :__________________________________
  1335.  
  1336.  
  1337. Your registration entitles you to support thru Pi Squared BBS.  Write
  1338. a temporary password to add your account to the BBS:
  1339.  
  1340. BBS password: _________________________
  1341.  
  1342.  
  1343. Registered users of a given version do not have to register for minor 
  1344. revisions. For example, if you registered version 1.0, then 1a,1b,1c are 
  1345. minor revisions, and version 2.0 will be a major revision.
  1346.  
  1347. Registration  fee:  Upgrade from version 1.x ....... $ 5.00 (USA).  
  1348.             New user........................ $15.00 (USA).
  1349.  
  1350. Would you be interested in the source code?  Yes[  ]   No[  ]
  1351. (written in Visual Basic 3.0)
  1352.  
  1353. Comments:__________________________________________________________
  1354.  
  1355. ___________________________________________________________________
  1356.  
  1357. ___________________________________________________________________
  1358.  
  1359. ----------------------------------------------------------------------
  1360.