Bug 5865
Summary: | SVG Lighting gets y component of normals the wrong way round with some images. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ian, jeffschiller, zimmermann |
Priority: | P4 | Keywords: | NeedsReduction |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
Bug Depends on: | |||
Bug Blocks: | 68469, 26389 |
Oliver Hunt
Okay, if we look at http://www.w3.org/Graphics/SVG/Test/20030813/htmlframe/full-filters-light-01-
f.html we can see that all the images produced by the current lighting filters is correct, but if we look at
http://www.w3.org/TR/2002/CR-SVG11-20020430/images/filters/filters01.svg the light appears to be
come from below, rather than from above, as it should.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
It's not clear to me that the lighting "comes from below" as you suggest. Please add additional information to this bug (preferably as a test case).
Oliver Hunt
If you compare the svg http://www.w3.org/TR/2002/CR-SVG11-20020430/images/filters/filters01.svg to the expected output:
http://www.w3.org/TR/2002/CR-SVG11-20020430/images/filters/filters01.png
You can see that there is a significant difference in the highlights -- in the svg the highlight is towards the bottom of the rendered image. In the png it is towards the top.
There are some not insignificant differences in the overall colour of the rendered image, but i'm currently attributing these to a combination of colour matching and a slightly incorrect gaussian blur.
Eric Seidel (no email)
Marking this as a P4 as this is not a very user-visable issue.
Eric Seidel (no email)
*** Bug 16714 has been marked as a duplicate of this bug. ***
Nikolas Zimmermann
This is long invalid. We don't even have the CI based filters anymore.