reb
Class ImageTrapModeAverage
Object
common:Generic
reb:ImageTrapMode
reb:ImageTrapModeWithThreshold
reb:ImageTrapModeSum
reb:ImageTrapModeAverage
class
- ImageTrapModeSum:ImageTrapModeAverage
This trap mode averages the trapped points that are within the threshold.
Ultra Fractal Source
Toggle UF Source Code Display
class ImageTrapModeAverage(ImageTrapModeSum) {
; This trap mode averages the trapped points that are within the threshold.
public:
import "common.ulb"
; constructor
func ImageTrapModeAverage(Generic pparent)
ImageTrapModeSum.ImageTrapModeSum(pparent)
endfunc
; call in the final section of the coloring formula/class
func Result()
float ii = 1.0 / m_IterationPoints[0]
m_Distances[0] = m_Distances[0] * ii
m_UntransformedPoints[0] = m_UntransformedPoints[0] * ii
m_Textures[0] = m_Textures[0] * ii
m_TransformedPoints[0] = m_TransformedPoints[0] * ii
endfunc
default:
title = "Average"
int param v_average
caption = "Version (Average)"
default = 100
hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
visible = @v_average < 100
endparam
}
Method Summary |
void |
Result()
call in the final section of the coloring formula/class |
Methods inherited from class Object |
|
ImageTrapModeAverage
public ImageTrapModeAverage(Generic pparent)
- constructor
ImageTrapModeAverage
public ImageTrapModeAverage()
Result
public void Result()
- call in the final section of the coloring formula/class
- Overrides:
Result
in class ImageTrapMode