slim templates

Slim enables artists to interactively create shading networks. Unlike most other systems Slim also allows custom nodes to be created programmatically. This page shows several custom nodes and explains how they were created.

 

This project served a dual purpose. In one hand, we learned how to script our own Slim templates without the influence of a shader. This is useful for creating custom nodes when building a shader network. In the other hand, this project also served as a great refresher into RSL as it was basically a re-hashing of our ST coloration project from Programming I.

Our objective for this project was to create a template that blended two colors based on a sine function. We could chose rather create a linear pattern, such as stripes, or a radial pattern. We also had to have user controlled functions that could control frequency of the pattern, and the blending falloff.


 

Below shows the overall interface of my final template and the variables that are involved.



  • S Location
S Location determines where the circle pattern center is location on the S axis.
  • T Location
T Location determines where the circle pattern center is location on the T axis.
  • Radius
Radius determines the radius of the center circle. Ultimately useless because of Frequency and Scale.
  • Blend
Decides how the two colors are blended. The lower the number, the closer to Color 1 it gets, and vice versa.
  • Frequency
Frequency determines the number of circles that radiate from the middle.
  • Scale
Scale decides the overall size of the entire pattern.