Slim
|
Unfortunately, another
type of Slim document, known as an appearance slim, also uses the same file extension.
Therefore, the only way to identify a slim template is to open it with a text editor.
Superficially, both types of Slim documents are similiar. The main difference between
them is that a Slim appearance file accompanies a compiled shader. It define the details
of the GUI that will be presented to an artist when using a shader in Maya's HyperShade
editor.
|
Listing 1 (Simple.slim)
|
|
|
When an artist clicks the preview panel, Slim uses the RSL code within the |
|
|
|
|||
|
|
|
Barebones TemplatesCutter comes with a number of examples of templates. They are available from Cutter's Templates menu - figure 10. |
Because templates are written in TCL there must be at least one white space character before each open curly brace. |
|
© 2002- Malcolm Kesson. All rights reserved.