[Webkit-unassigned] [Bug 39004] Crash on SVG feLigthing effects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 19 09:31:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39004





--- Comment #9 from Dirk Schulze <krit at webkit.org>  2010-05-19 09:31:56 PST ---
(In reply to comment #8)
> As I am thinking more and more about the whole I like less and less my solution.
We have this problem on multiple effects, like GaussianBlur, ConvolveMatrix, Morphology and so on. You know the current position in the (4, 4) input, so if your matrix takes a point outside of this rect, just set the value to zero. I don't see the problem.

> I was also thinking about the light positions as well. If the light position is (2, 2, z) and the effects rect is (-2, -2, 6, 6), shouldn't it be translated by (2, 2) pixels? (If we calculate the light for the original rectangle, this transformation is not needed of course)

I don't understand the problem here either. You calculate the value of a certain point. And the matrix should calculate the value relative to this point. So it shouldn't matter how much pixel you use around the (4, 4) effect. The result shouldn't change.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list