use of org.jwildfire.create.tina.base.XYZPoint in project JWildfire by thargor6.
the class PerlinNoiseDOFBlurShape 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 DCPerlinFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.XYZPoint in project JWildfire by thargor6.
the class SineBlurDOFBlurShape 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 SineBlurFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.XYZPoint in project JWildfire by thargor6.
the class StarBlurDOFBlurShape 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 StarBlurFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.XYZPoint in project JWildfire by thargor6.
the class SubFlameDOFBlurShape method prepare.
@Override
public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
useColor = Tools.FTOI(params.get(PARAM_FLAME_COLORS)) > 0;
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new SubFlameWFFunc();
for (String paramName : getParamNames()) {
if (!PARAM_FLAME.equals(paramName) && !PARAM_FLAME_COLORS.equals(paramName)) {
fnc.setParameter(paramName, params.get(paramName));
}
}
fnc.setRessource(SubFlameWFFunc.RESSOURCE_FLAME, getFlameXML(Tools.FTOI(params.get(PARAM_FLAME))).getBytes());
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
use of org.jwildfire.create.tina.base.XYZPoint in project JWildfire by thargor6.
the class TaurusDOFBlurShape 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 TaurusFunc();
for (String paramName : getParamNames()) {
fnc.setParameter(paramName, params.get(paramName));
}
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
}
Aggregations