Lsystem
|
IntroductionThis tutorial presents a tcl script that implements a procedural primitive - otherwise known as a RenderMan helper application. An introduction to procedural primitives can be found at Helper App Basics and Helper App - TCL Script The script listed below uses LMan.tcl to generate graphics at render time. Before using the script the first two lines of LManProcedural.tcl must be edited. LManProcedural.tcl
|
TestingIf TCL is installed on the host computer, LManProcedural.tcl can be used with Maya (plus Pixar's mtor plugin) or with Houdini. It is useful, however, before committing time and effort to either of these applications to test the script directly with a RIB file. A typical test RIB is shown below. If the reader uses OSX or Linux the call to tclsh should be changed to, /usr/bin/tclsh procedural_tester.rib
Because the "tree-like" shape generated by this Lsystem grows taller with additional iterations it has been necessary to apply a scaling factor and to use large bounding box values. |
© 2002- Malcolm Kesson. All rights reserved.