Re: [Inkscape-devel] Coefficients in FeColorMatrix, Fecomposite (limits, behaviour with neg val...)
Cairo does the job fairly fast and you can set up multithreading in
Edit/Preferences/Rendering/
I set the number of threads to 8 some days ago and I was a bit disappointed to see no enhancement at reboot. Just forgot I set inkscape preferences file to be read-only. Fool.
Now it's better :)
Basically, each filter primitive constitutes a very expensive copy of the
image.
Yes know that. By the way, is there any chart about CPU consumption of each primitive ? (say for 1px wide). I would say lighting is the more CPU intensive, am I right ?
(if you're really interested, I'd recommend searching the archives).
Is there any other way to search the archives than the sourceforge web interface ? The UI is crappy and inefficient (or maybe I missed something obvious)
all these problems are non-trivial to solve.
Maybe it lacks at least one trivial optimisation. It looks like Inkscape render all primitives even if they're not "connected" to output. Exemple Create new filter. Add a Fill => rendering is lightning fast. Add 50 blur stages with a 100 px radius => it should be slower or way slower or ssslllloooowwwweeerrr (depending on your hardware). Logical. Move the fill at the last stage of pipeline. Still slow. It shouldn't. It's uneccesary to compute any blur stage at all.
You'll ask why the hell do you add unnecessary stages ? When I design filter I often ask myself "what will it looks like if I disconnect these block of 5 primitives " As adding primitive is very slow with the current interface (*) I don't remove the block but I only disconnect it. As time goes by there are more and more dead blocks and I sometimes forget to remove them. I'm not 100% sure but I think I saw dead blocks in filters fitting with inkscape
* any news about this blueprint ? http://wiki.inkscape.org/wiki/index.php/SpecFilterEditorUI No ? So I should think about buying a new monitor. Mine (1920*1200) is too small for designing filters. lol
I'm not 100% sure but I think I saw dead blocks in filters fitting with inkscape
Yes you are right. These are mainly disabled functions by default.
ivan
------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On 26/10/2012 20:02, pennec victor wrote:
(if you're really interested, I'd recommend searching the archives).
Is there any other way to search the archives than the sourceforge web interface ? The UI is crappy and inefficient (or maybe I missed something obvious)
for example:
http://news.gmane.org/gmane.comp.graphics.inkscape.devel -> search interface: http://search.gmane.org/form.php?group=gmane.comp.graphics.inkscape.devel&sort=date
http://inkscape.13.n6.nabble.com/Inkscape-Dev-f2781808.html -> search interface: http://inkscape.13.n6.nabble.com/template/NamlServlet.jtp?macro=adv_search_page&node=2781808
and probably other webmail interfaces…
On 2012-10-26 20:02, pennec victor wrote:
(if you're really interested, I'd recommend searching the archives).
Is there any other way to search the archives than the sourceforge web interface ? The UI is crappy and inefficient (or maybe I missed something obvious)
You may want to have a look at the thread called "Alternative to Inkscape for Windows 7" from the beginning of september (this year). (It's on the user mailing list btw. ~suv already gave some excellent suggestions for where to search)
all these problems are non-trivial to solve.
Maybe it lacks at least one trivial optimisation. It looks like Inkscape render all primitives even if they're not "connected" to output.
You could very well be right that Inkscape does not prevent rendering "unused" filters. If you feel like trying your hand at implementing your own suggestion, some of the relevant files are:
src/sp-filter* display/nr-filter.* display/nr-filter-primitive.* display/nr-filter-slot.* filters/*
There are, however, some things to keep in mind. Specifically, I recommend a close reading of: http://www.w3.org/TR/SVG11/filters.html#CommonAttributes (So filter primitives without an explicitly set "result" /can/ be used.)
participants (4)
-
Ivan Louette
-
Jasper van de Gronde
-
pennec victor
-
~suv