Search in sources :

Example 1 with CannabisCurveWFFunc

use of org.jwildfire.create.tina.variation.CannabisCurveWFFunc in project JWildfire by thargor6.

the class CannabisCurveDOFBlurShape method prepare.

@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
    super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
    s = new XYZPoint();
    d = new XYZPoint();
    xform = new XForm();
    fnc = new CannabisCurveWFFunc();
    fnc.setParameter(CannabisCurveWFFunc.PARAM_FILLED, 1.0);
    fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
Also used : XForm(org.jwildfire.create.tina.base.XForm) XYZPoint(org.jwildfire.create.tina.base.XYZPoint) CannabisCurveWFFunc(org.jwildfire.create.tina.variation.CannabisCurveWFFunc) Layer(org.jwildfire.create.tina.base.Layer)

Aggregations

Layer (org.jwildfire.create.tina.base.Layer)1 XForm (org.jwildfire.create.tina.base.XForm)1 XYZPoint (org.jwildfire.create.tina.base.XYZPoint)1 CannabisCurveWFFunc (org.jwildfire.create.tina.variation.CannabisCurveWFFunc)1