previous | index | next |
| ||
Our language consists of variable assignments and procedure calls. A
procedure is called with a list of name/value pairs within curly
braces. As a convention in our examples, user-defined functions and
materials will appear in all capital letters.
This simple chocolate candy was created from a polygon mesh to which we applied a single layer of chocolate 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. |