/* === E N T R Y P O I N T ================================================= */
Metaballs::Metaballs():
- Layer_Composite(1.0,Color::BLEND_STRAIGHT),
+ Layer_Composite(1.0,Color::BLEND_COMPOSITE),
gradient(Color::black(), Color::white()),
threshold(0),
threshold2(1),
centers.push_back(Point( 0, -1.5)); radii.push_back(2.5); weights.push_back(1);
centers.push_back(Point(-2, 1)); radii.push_back(2.5); weights.push_back(1);
centers.push_back(Point( 2, 1)); radii.push_back(2.5); weights.push_back(1);
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
);
ret.push_back(ParamDesc("centers")
- .set_local_name(_("Points"))
+ .set_local_name(_("Balls"))
);
ret.push_back(ParamDesc("radii")