Functional

Reference
Index

Many parameters used to control components in DarkTree are Functional. A Functional parameter is designed to be linked to a Generator class component.  Functional parameters pass extra information to the component their linked to that allow Generator class components to remap the parameter value to a function.  For example, the Y Strip Width parameter of the Weave component contains extra distance information about the Y strips of the weave.

You can tell which parameters are Functional by looking for the Function Icon .  When you go to link a parameter up, any Functional parameters will have the Function Icon next to them.  As you can see in Figure 1 (below), Y Strip Width and X Strip Width are Functional, the rest are not. Some Function Icons are shaded pink .  This means that the only way this value can be changed is through being linked to a Generator component.

F1

Figure2 below shows three typical uses of Functional parameters. The first example shows how the Blend Function parameter can re-map the color gradient of a Clouds component.  The second example shows a Spline controlling the center location of Stripes.  The third example shows Bell controlling the Bevel Profile of Dots.

F2

Darkling Simulations
Copyright 1996-2003