previous | index | next |
| ||
My language consists of variable assignments and procedure calls. A procedure is called with a list of name/value pairs within curly braces. The arguments may appear out of order, and default values are used for any unspecified parameters. As a convention in these examples, user-defined functions and materials appear in all caps.
This simple chocolate candy was created from a polygon mesh shown on the previous slide to which a single layer of chocolate was applied to fill the interior. In the bottom image, I have used a clip plane CSG tool to visualize the interior of the candy. Now I’m going to show how easy it is to iteratively edit the script… |