mmf
Class MMF_TrapShapefBm

Object
  extended by common:Generic
      extended by common:TrapShape
          extended by mmf:MMF_TrapShapefBm

class 
TrapShape:MMF_TrapShapefBm

A TrapShape wrapper for Alternative fBm


Ultra Fractal Source

Toggle UF Source Code Display

 class MMF_TrapShapefBm(common.ulb:TrapShape) {
 ; A TrapShape wrapper for Alternative fBm<br>
 public:
   func MMF_TrapShapefBm(Generic pparent)
     TrapShape.TrapShape(pparent)
     texture = new @texture(this)
     texture.GlobalInit(0)
   endfunc
 
   float func Iterate(complex pz)
     TrapShape.Iterate(pz)
     if @diviter=="Divide by Iterations"
       return texture.GetfBm(pz/m_Iterations)
     elseif @diviter=="Divide by Iterations^2"
       return texture.GetfBm(pz/sqr(m_Iterations))
     else
       return texture.GetfBm(pz)
     endif
   endfunc
 
 private:
   MMF_AltfBm texture
 
 default:
   title = "MMF Alternative fBm Trap Shape"
   int param v_mmftrapshapefbm
     caption = "Trap Shape fBm (MMF)"
     enum = "1.0"
     default = 0
     hint = "This field is to absolutely ensure backward compatibility, \
             the default will always be set to the latest version, but \
             there may be some cases where an older effect that you like \
             is lost in an update and you could still use it by selecting \
             the older version number."
     visible = false
   endparam
   MMF_AltfBm param texture
     caption = "Trap Texture"
     default = MMF_AltfBm
   endparam
   int param diviter
     caption = "Texture Density Reduction"
     enum = "None" "Divide by Iterations" "Divide by Iterations^2"
     default = 0
     hint = "Sometimes the change in density of the texturing can be \
             a bit high with respect to changes in iteration value. \
             Use the divide options to somewhat reduce this."
   endparam
 }
 


Constructor Summary
MMF_TrapShapefBm()
           
MMF_TrapShapefBm(Generic pparent)
           
 
Method Summary
 float Iterate(complex pz)
          call this for each iteration being trapped
 
Methods inherited from class common:TrapShape
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

MMF_TrapShapefBm

public MMF_TrapShapefBm(Generic pparent)

MMF_TrapShapefBm

public MMF_TrapShapefBm()
Method Detail

Iterate

public float Iterate(complex pz)
Description copied from class: TrapShape
call this for each iteration being trapped

Overrides:
Iterate in class TrapShape