Difference between revisions of "LSystem SOP"

From TouchDesigner Documentation
Jump to: navigation, search
Line 369: Line 369:
 
|Name=Rule Substitution
 
|Name=Rule Substitution
 
|Summary=
 
|Summary=
 +
{{SubSection
 +
|title=Limitations to Rules
 +
|text=
 +
}}
 +
{{SubSection
 +
|title=Turtle Operators
 +
|text=
 +
}}
 
|OPfamily=SOP}}
 
|OPfamily=SOP}}
 
{{OPSubSection
 
{{OPSubSection
 
|Name=Rule Syntax
 
|Name=Rule Syntax
 
|Summary=
 
|Summary=
 +
{{SubSection
 +
|title=Context Sensitivity
 +
|text=
 +
}}
 
|OPfamily=SOP}}
 
|OPfamily=SOP}}
 
{{OPSubSection
 
{{OPSubSection
Line 381: Line 393:
 
|Name=Operator Override
 
|Name=Operator Override
 
|Summary=
 
|Summary=
 +
{{SubSection
 +
|title=Examples
 +
|text=
 +
}}
 +
{{SubSection
 +
|title=List of Operator Overrides
 +
|text=
 +
}}
 
|OPfamily=SOP}}
 
|OPfamily=SOP}}
 
{{OPSubSection
 
{{OPSubSection
Line 389: Line 409:
 
|Name=Expressions
 
|Name=Expressions
 
|Summary=
 
|Summary=
 +
{{SubSection
 +
|title=L-System Specific Expression Functions
 +
|text=
 +
}}
 +
{{SubSection
 +
|title=Conditions
 +
|text=
 +
}}
 +
{{SubSection
 +
|title=Probability
 +
|text=
 +
}}
 
|OPfamily=SOP}}
 
|OPfamily=SOP}}
 
{{OPSubSection
 
{{OPSubSection
 
|Name=Creating Groups with L-Systems
 
|Name=Creating Groups with L-Systems
 
|Summary=
 
|Summary=
 +
{{SubSection
 +
|title=Optional Group Parameters
 +
|text=
 +
}}
 
|OPfamily=SOP}}
 
|OPfamily=SOP}}
 
{{OPSubSection
 
{{OPSubSection

Revision as of 19:13, 23 May 2018

  • Invalid title: ""

Summary
[edit]

The Lsystem SOP implements L-systems (Lindenmayer-systems, named after Aristid Lindenmayer (1925-1989)), allow definition of complex shapes through the use of iteration. They use a mathematical language in which an initial string of characters is evaluated repeatedly, and the results are used to generate geometry. The result of each evaluation becomes the basis for the next iteration of geometry, giving the illusion of growth.

You begin building an L-system by defining a sequence of rules which are evaluated to produce a new string of characters. Each character of the new string represents one command which affects an imaginary stylus, or "turtle". Repeating this process will grow your geometry.

You can use L-systems to create things such as:

  • Create organic objects such as trees, plants, flowers over time.
  • Create animated branching objects such as lightning and snowflakes.

The file can be read in from disk or from the web. Use http:// when specifying a URL.

The Algorithmic Beauty of Plants

The descriptions located here should be enough to get you started in writing your own L-system rules, however, if you have any serious interests in creating L-systems, you should obtain the book:

The Algorithmic Beauty of Plants			
Przemyslaw Prusinkiewicz & Aristid Lindenmayer			
Springer-Verlag, New York, Phone: 212.460.1500			
ISBN: 0-387-94676-4, 1996.			

which is the definitive reference on the subject. It contains a multitude of L-systems examples complete with descriptions of the ideas and theories behind modelling realistic plant growth.

PythonIcon.png[[{{{opClass}}}]]


Parameters - Page

Template:ParMenu Template:ParFloat Template:ParFloat Template:ParInteger Template:ParToggle Template:ParToggle Template:ParToggle Template:ParToggle Template:ParTopRef Template:ParFloat Template:ParToggle


Parameters - Page

Template:ParInteger Template:ParInteger Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat Template:ParToggle Template:ParFloat


Parameters - Page

Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat Template:ParFloat


Parameters - Page

Template:ParTopRef Template:ParString Template:ParString Template:ParString Template:ParString Template:ParString Template:ParDatRef


TouchDesigner Build:

SOPs
Add • Alembic • Align • Arm • Attribute Create • Attribute • Basis • Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To SOPs id • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Profile • Project • Rails • Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Wireframe • ZED

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.