Mesh Gradients: Auto Smoothing
Hi,
I've implemented some auto-smoothing algorithms for mesh gradients in trunk. It would be very helpful others can have a look a it. Normal Coons Patch mesh gradients suffer from abrupt changes in the color derivatives along patch boundaries which leads to undesirable visible artifacts (Mach Banding). Both Illustrator and CoralDraw implement smoothing to eliminate this problem. I will be proposing to the SVG working group that SVG 2 mesh gradients should have an auto-smoothing option.
I've turned on some experimental features in trunk including meshes. Information on how to edit meshes and what smoothing options are implemented can be found at:
http://wiki.inkscape.org/wiki/index.php/Mesh_Gradients
Most of the derivative calculations are currently being done using a "Catmul-Rom" method which assumes an evenly spaced grid. I'll change this to allow for un-even grids in the near future.
Thanks,
Tav
Great Smooth! I couldent use the shortcuts defined in the wiki. Are them abailable? My sistem is a Debian 7 with Gnome 3. When shortcut it nothing happens or the item remove the mesh knots like unselect node tool. Maybe can be a shortcut conflict?
Thanks, Jabier.
On Mon, 2015-02-02 at 14:02 +0100, Tavmjong Bah wrote:
Hi,
I've implemented some auto-smoothing algorithms for mesh gradients in trunk. It would be very helpful others can have a look a it. Normal Coons Patch mesh gradients suffer from abrupt changes in the color derivatives along patch boundaries which leads to undesirable visible artifacts (Mach Banding). Both Illustrator and CoralDraw implement smoothing to eliminate this problem. I will be proposing to the SVG working group that SVG 2 mesh gradients should have an auto-smoothing option.
I've turned on some experimental features in trunk including meshes. Information on how to edit meshes and what smoothing options are implemented can be found at:
http://wiki.inkscape.org/wiki/index.php/Mesh_Gradients
Most of the derivative calculations are currently being done using a "Catmul-Rom" method which assumes an evenly spaced grid. I'll change this to allow for un-even grids in the near future.
Thanks,
Tav
Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Mon, 2015-02-02 at 16:10 +0100, Jabier Arraiza wrote:
Great Smooth! I couldent use the shortcuts defined in the wiki. Are them abailable? My sistem is a Debian 7 with Gnome 3. When shortcut it nothing happens or the item remove the mesh knots like unselect node tool. Maybe can be a shortcut conflict?
Sorry, it's Alt not Ctrl for the corner operations (accept select all). I'll fix in Wiki.
Tav
No problem, thanks!!
On Mon, 2015-02-02 at 16:36 +0100, Tavmjong Bah wrote:
On Mon, 2015-02-02 at 16:10 +0100, Jabier Arraiza wrote:
Great Smooth! I couldent use the shortcuts defined in the wiki. Are them abailable? My sistem is a Debian 7 with Gnome 3. When shortcut it nothing happens or the item remove the mesh knots like unselect node tool. Maybe can be a shortcut conflict?
Sorry, it's Alt not Ctrl for the corner operations (accept select all). I'll fix in Wiki.
Tav
participants (2)
-
Jabier Arraiza
-
Tavmjong Bah