Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.27 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.27 KB

L-System-Generator

alt tag

Settings

alt tag

  • Tree color - The color to use when not using the texture
  • Textured - Whether to texture the tree or not
  • Leaf color - The color to use when not using the texture
  • Leafs - Whether to use leafs or not (must have selected a leaf before generating)
  • Initial String - The seed to use for the L-System
  • F Grammer - Grammer rule 1
  • B Grammer - Grammer rule 2
  • Min Bend Angle - Minimum angle that each branch can bend
  • Max Bend Angle - Maximum angle that each branch can bend
  • Segment Length - The length of each branch
  • Iterations - Howmany times the L-System is going to iterate with the grammer
  • Base Radius - The radius size of the stump

The source files are in the src folder.

You'll need Autodesk 3ds Max to run this script. Simply open it and compile (Ctrl-E)

Some Examples