Standard
Class Standard_Emboss

Object
  extended by common:Generic
      extended by common:Coloring
          extended by common:GradientColoring
              extended by Standard:Standard_Emboss

class 
GradientColoring:Standard_Emboss

Object version of Emboss in Standard.ucl. Coloring algorithm for the Embossed family of fractal types. This coloring algorithm performs 3D lighting for these fractals. Uses 3 colors from the gradient, at index values of 0.2, 0.5 and 0.8. With Color Density set to 1, Transfer Function set to Linear, and Gradient Offset set to 0, these index values corresponding to the gradient positions 80, 200 and 320. Originally written by Kerry Mitchell.


Ultra Fractal Source

Toggle UF Source Code Display


Constructor Summary
Standard_Emboss()
           
 
Method Summary
 float ResultIndex(complex pz)
          Produce a resulting color index after a sequence is finished
 
Methods inherited from class common:GradientColoring
Init, IsGradient, IsSolid, Iterate, Result
 
Methods inherited from class common:Coloring
GetPixel
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_Emboss

public Standard_Emboss()
Method Detail

ResultIndex

public float ResultIndex(complex pz)
Description copied from class: GradientColoring
Produce a resulting color index after a sequence is finished

This corresponds to the final: section in a coloring formula. Once it is called, no further calls to Iterate() should be made without calling Init() first.

Overrides:
ResultIndex in class GradientColoring
Returns:
the gradient index (corresponding to #index in a coloring formula)