home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / 2328 / readme < prev    next >
Text File  |  1994-02-07  |  7KB  |  152 lines

  1. ┌─────────┬────────────────────────────────┬───────────────────────────────┐
  2. │ Name:   │ LPARSER                        │ (C) RenderStar Technology BV. │
  3. ├─────────┼────────────────────────────────┼──────────┬───────┬────────────┤
  4. │ Author: │ Laurens J. Lapre               │ Version: │  3.0  │ 1994-01-31 │
  5. ├─────────┴────────────────────────────────┴──────────┴───────┴────────────┤
  6. │ RenderStar Technology BV, Keizersgracht 448                              │
  7. │ 1016 GD Amsterdam, the Netherlands                                       │
  8. │ Fax (+31) 20 622 4939                                                    │
  9. ├─────────┬─────────────────────┬───────────────────┬──────────────────────┤
  10. │ Email:  │ 2:283/203.8 fidonet │ 'Lj Lapre' PCGnet │  ljlapre@hacktic.nl  │
  11. └─────────┴─────────────────────┴───────────────────┴──────────────────────┘
  12.  
  13.  
  14. First a quick look ...
  15. ──────────────────────────────────────────────────────────────────────────── 
  16. Do 'go lsys00' and use the cursorkeys to move the form around. You can use 
  17. the go batch file with any of the .ls files. Press ESC to get back to dos.
  18.  
  19.  
  20. About L-systems ...
  21. ──────────────────────────────────────────────────────────────────────────── 
  22. An l-system is a rule like description of a 3d form. It contains  
  23. descriptions of parts and how they should be assembeld together. The program 
  24. reads a l-system description in and processes it into a 3d form which can 
  25. then be outputed in several formats, including DXF and POV. 
  26.  
  27. The description is applied to itself a number of times (= recursion levels) 
  28. so fractal and recursive forms are very easy to describe in an l-system. 
  29. That's why they are used a lot for plants and natural looking organic forms. 
  30. By increasing the recursion level the form slowly 'grows' and becomes more 
  31. complex. 
  32.  
  33. This implementation of a l-system parser also allows 'mutations' to take 
  34. place during the growing of the form. These mutations can change the form 
  35. slightly or quite dramaticly. This allows you to create a form once and then 
  36. create a whole series of forms all clearly 'descendant' from the original 
  37. l-system.
  38.  
  39. Too help people get started a lot of example l-systems have been included.
  40.  
  41.  
  42. Where is what ...
  43. ──────────────────────────────────────────────────────────────────────────── 
  44. The file LPARSER.TXT documents the options of the lparser which generates and 
  45. mutates the form.
  46.  
  47. The file LVIEWER.TXT explains the keys you can use in the lviewer, which 
  48. allows you to see the form, and the other file formats it can readin.
  49.  
  50. The file LV2POVID.TXT contains explainations how to get a form with a 
  51. selected viewport into a scene file for a raytracer (POV, VIVID, BOB)
  52.  
  53.  
  54. For those who lparsed before, changes and additions in v3.0 ...
  55. ──────────────────────────────────────────────────────────────────────────── 
  56. Speedup of the lparser. Forms which used to take up to an half hour to 
  57. generate are now parsed in couple of seconds ! This makes much larger and 
  58. complexer l-systems posible and workable. Much higher recursions levels are 
  59. now also attainable. A number of extra, much larger and lifelike, tree 
  60. sample files based on ABOP have been worked out and included.
  61.  
  62. Values can have some randomness automaticly added to them. Using ~(xx) 
  63. will now add a random direction component to the current orientation with 
  64. maximum of xx in all three directions. This way you can mark at which 
  65. locations in your l-system 'jitter' needs to be introduced. Using this option 
  66. no two 'instances' of the same l-system will look the same.
  67.  
  68. With the the new -i option you can use a connected 8 sided cylinder as a base 
  69. shape. It will connect the bottom part of the cylinder to a previous top and
  70. can connect branches to the stem, creating a continous tube like element. 
  71. This is meant to be used with polygonal plant and tree forms.
  72.  
  73. The new -s option allows you to set the maximum size of the production string 
  74. in Kbytes. This string has to be stored twice and is the main data 
  75. structure. For a 4meg system the maximum will be about 1500 K. The default 
  76. value is 1024 Kbytes (= 1 meg). This is to allow much larger strings to be 
  77. processed on larger memory systems. 
  78.  
  79. The nested polygons concept from ABOP chapter 5 (page 127) has been added. 
  80. This allows you to create complex 'shell' like forms consisting of faces. See 
  81. bop10.ls and shell*.ls for examples.
  82.  
  83. The new -f option in the lviewer allows you to startup with the main view 
  84. directly. The side views will be skipped.
  85.  
  86. The new [Q] key in the lviewer allows you to cycle the main view through all 
  87. possible viewer setups.
  88.  
  89.  
  90. Automatic POV/VIVID/BOB output with LV2POVID in six easy steps.
  91. ──────────────────────────────────────────────────────────────────────────── 
  92. From the lv2povid.doc.
  93.  
  94. 1) First start the Lparser program with a .ls file of your choice, be sure 
  95. to use a small one. (fi TROPISM.LS) To do this, execute: 
  96.  
  97.     lparser tropism
  98.  
  99. 2) The program creates a 'output.vol' file for you, we will use it later. 
  100. Now we need to get a POVRAY compatible output of the Lparser for the same .ls 
  101. file, so try one of the following lines :
  102.  
  103.     lparser -v  tropism
  104.     lparser -bc tropism
  105.     lparser -Bc tropism
  106.     
  107. 3) 'Feed' the output.vol to the Lviewer program by typing:
  108.  
  109.     lviewer output  
  110.  
  111. 4) After the Lviewer has completed its startup screen, press [F1]. Now 
  112. rotate, translate, zoom etc. the picture as desired, and if you have found a 
  113. nice view, press [F1] again, and leaf the Lviewer (ESC). (remember to press 
  114. at the start of the lviewer AND after you've found your viewport)
  115.  
  116. 5) The output.pov or output?.inc or output.inc file(s) and the info.txt 
  117. file should be in the same directory as the Lv2povid.exe program. Type 
  118.  
  119.     lv2povid 2
  120.  
  121. and press [Enter]. Lv2povid will create a POVRAY v2.0 compatible scene file 
  122. for you, called 'Lpar2pov.pov'. Rename it as desired. 
  123.  
  124. 6) Now 'feed' it to POVRAY v2.0, than try an other one and more and more 
  125. and.. 
  126.  
  127.  
  128. Lparser images on Internet FTP site
  129. ──────────────────────────────────────────────────────────────────────────── 
  130.  
  131. Host wuarchive.wustl.edu
  132.     Location: /graphics/graphics/ray/pov-dkb-archive/incoming/ljlapre
  133.        FILE -rw-r--r--         733 Dec 19 08:45 lp1.txt
  134.        FILE -rw-r--r--     1145684 Dec 19 08:45 lp1.zip
  135.        FILE -rw-r--r--        1579 Dec 19 08:46 readme.txt
  136.        FILE -rw-r--r--      358852 Dec 19 06:50 lsys__38.gif
  137.        FILE -rw-r--r--       65402 Dec 19 06:51 lsys__43.gif
  138.        FILE -rw-r--r--      121766 Dec 19 06:52 lsys__55.gif
  139.        FILE -rw-r--r--      242348 Dec 19 06:55 lsys__58.gif
  140.        FILE -rw-r--r--      190143 Dec 19 06:57 lsys__60.gif
  141.        FILE -rw-r--r--       83608 Dec 19 06:58 lsys__64.gif
  142.        FILE -rw-r--r--      126423 Dec 19 07:00 lsys__67.gif
  143.        FILE -rw-r--r--      249785 Dec 19 07:02 lsys__69.gif
  144.        FILE -rw-r--r--      176486 Dec 19 07:06 lsys__70.gif
  145.        FILE -rw-r--r--      363202 Dec 19 07:10 lsys__72.gif
  146.        FILE -rw-r--r--       53064 Dec 19 07:12 lsys__73.gif
  147.        FILE -rw-r--r--      171792 Dec 19 07:46 lsys__74.gif
  148.        FILE -rw-r--r--      470543 Dec 19 07:51 lsys__75.gif
  149.        FILE -rw-r--r--      156342 Dec 19 08:48 tree__01.gif
  150.        FILE -rw-r--r--      228886 Dec 19 08:52 tree__07.gif
  151.  
  152.