summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7db926)
raw | patch | inline | side by side (parent: b7db926)
author | tavmjong <tavmjong@users.sourceforge.net> | |
Wed, 31 Oct 2007 21:26:46 +0000 (21:26 +0000) | ||
committer | tavmjong <tavmjong@users.sourceforge.net> | |
Wed, 31 Oct 2007 21:26:46 +0000 (21:26 +0000) |
Specular Lighting Filter:
Expand "Surface Scale" range.
Increase "Constant" precision.
Expand "Surface Scale" range.
Increase "Constant" precision.
src/ui/dialog/filter-effects-dialog.cpp | patch | blob | history |
index 80f6428527bc79280b0ad1ea953f372c3c4f5377..6a492eed12fe24f1932b74a33ce5cab94b945b74 100644 (file)
_settings->type(NR_FILTER_DIFFUSELIGHTING);
_settings->add_color(SP_PROP_LIGHTING_COLOR, _("Diffuse Color"));
- _settings->add_spinslider(SP_ATTR_SURFACESCALE, _("Surface Scale"), -10, 10, 1, 0.01, 1);
- _settings->add_spinslider(SP_ATTR_DIFFUSECONSTANT, _("Constant"), 0, 100, 1, 0.01, 1);
+ _settings->add_spinslider(SP_ATTR_SURFACESCALE, _("Surface Scale"), -1000, 1000, 1, 0.01, 1);
+ _settings->add_spinslider(SP_ATTR_DIFFUSECONSTANT, _("Constant"), 0, 100, 0.1, 0.01, 2);
_settings->add_dualspinslider(SP_ATTR_KERNELUNITLENGTH, _("Kernel Unit Length"), 0.01, 10, 1, 0.01, 1);
_settings->add_lightsource();
_settings->type(NR_FILTER_SPECULARLIGHTING);
_settings->add_color(SP_PROP_LIGHTING_COLOR, _("Specular Color"));
- _settings->add_spinslider(SP_ATTR_SURFACESCALE, _("Surface Scale"), -10, 10, 1, 0.01, 1);
- _settings->add_spinslider(SP_ATTR_SPECULARCONSTANT, _("Constant"), 0, 100, 1, 0.01, 1);
+ _settings->add_spinslider(SP_ATTR_SURFACESCALE, _("Surface Scale"), -1000, 1000, 1, 0.01, 1);
+ _settings->add_spinslider(SP_ATTR_SPECULARCONSTANT, _("Constant"), 0, 100, 0.1, 0.01, 2);
_settings->add_spinslider(SP_ATTR_SPECULAREXPONENT, _("Exponent"), 1, 128, 1, 0.01, 1);
_settings->add_dualspinslider(SP_ATTR_KERNELUNITLENGTH, _("Kernel Unit Length"), 0.01, 10, 1, 0.01, 1);
_settings->add_lightsource();