|
|
How Does It Work? The SCALE component scales the Background texture in the X, Y, and Z directions. The amount of scale depends on the Percent_Moved parameter. A Percent_Moved parameter value of 0% indicates no scaling at all and a value of 100% indicates the full amount of scaling specified by the X_Amount, Y_Amount, and Z_Amount parameters. With the Normalize flag "off", a scale Amount (X/Y/Z) of "2.0" will scale the texture to twice its current size in that direction. A scale Amount of "0.5" will scale the texture to half its size in that direction. A scale amount of "1.0" indicates no scaling. In other words, scale Amounts greater than "1.0" will scale the texture larger in that direction while scale Amounts less then "1.0" will scale the texture smaller. With the Normalize flag "on", a scale Amount (X/Y/Z) of "2.0" will scale the texture to twice its current size in that direction. A scale Amount of "-2.0" will scale the texture to half its size in that direction. A scale amount of "0.0" indicates no scaling. Note, when using two SCALE components, one to cancel out the other, you must have the Normalize flags "on" in both components. Otherwise, the components will not scale at the same rate and won't counter each other evenly. Changing the Normalize flag automatically recalculates the Amount values so that the scaling effect is the same. The scale amounts may be linked to bump textures which creates uneven scaling and causes the Background texture to distort as the Percent_Moved value increases. The scaling defaults to being around the center (origin) of the Background texture. The X_Center, Y_Center, and Z_Center parameters allow you to shift the point of scaling to be off center. A Center (X/Y/Z) offset value of "1" is equal to moving the texture half of its visible width. As with the scale amounts, the Center values may be linked to bump textures which gives multiple centers of scaling for the Background and can have some interesting results. Hints! Remember, for an animated texture, the Percent_Moved parameter needs to be linked to a percent component that varies over time. It is often useful to manually vary the Percent_Moved parameter in the component editor to check the amount and direction of scaling before linking the parameter to an animated subtree. You'll often need to scale a portion of a DarkTree while keeping some of its children still. This can be accomplished by inserting a second SCALE component into the tree and setting its X/Y/Z Amount parameters to have a sign that is the opposite of the Amount parameters in the first SCALE component. This two scaling operations will cancel each other out. Note, as explained above, the Normalize flag must be "on" for this to work correctly. |
|
|
|
Darkling Simulations |