g_Cross_Section

Reference
Index

    This generator creates a function by sampling a cross section of a linked percent-type component.

How Does It Work?

    The CROSS SECTION generator supplies a simple way to generate a function from a percent-type component. The component providing the new function is linked to CROSS SECTION's Background parameter. CROSS SECTION samples the linked component texture along the X-axis (basically from the visible left side to the right side).  The Y and Z sample values are fixed at 0.0. The result is a "cross section" of the background texture space that's interpreted as a function whose Y values correspond to the percent values along the background texture's X-axis. As an example, sampling a black and white percent- type Checkerboard component in this way will result in a square wave function.  The resulting function curve can then be controled using the standard generator parameters.

Hints!

    Since CROSS SECTION samples at fixed Y- and Z-axis values, you cannot just move to a new sampling area. However, you can apply transforms to the background component texture to get a new sampling area. Or you can try a new Input Seed if your linked background component has a random number generator.

Standard Generator Parameters

 

Amplitude

Describes the function height above and below the horizontal axis. The default value is 50.0%. Increase the function height up to 100.0% or it flatten out at 0.0%.

 

Shift

Repositions the function vertically, above or below its default position on the horizontal axis. At 100.0% the function is entirely above this axis; at 0.0% it's entirely below. The default is 50.0%.

 

 

 

 

Frequency

Compresses the function horizontally when the value is greater than the default of 1.0. Or stretches the function horizontally when the value is less than 1.0.

 

Phase Amount

Phase repositions the function along the horizontal axis. Phase Amount gives a percent value for the phase range set by Phase Min and Phase Max.

 

 

 

 

Phase Min

Sets one end of the phase range.

 

 

 

 

Phase Max

Sets the other end of the phase range.

 

Lower Clamp

Controls the minimum function value. The default is 0.0%.

 

Upper Clamp

Controls the maximum function value. The default is 100.0%.

 

 

 

 

Invert

When enabled, flips the function about the horizontal axis.

 

 

 

 

Reverse

When enabled, reverses the function. For symmetrical functions, you may not see the difference.

 

Input

Function re-mapping input. Link this to an linear time component to shift the function into the time domain.

Percent Component Parameters

 

 

 

 

Repeat Flag

When checked, the function will repeat (swapping directions each repeat).

 

 

Background.

Percent component sampled to get the cross section.

Darkling Simulations
Copyright 1996-2003