Fri, 05 Jan 2007 23:22:51 +0100 Jasper van de Gronde <th.v.d.gronde@...528...> kirjoitti:
In any case, I tried making this work but somehow couldn't figure out how to do it correctly, so if anyone knows how to do this (or knows of a better way to fix this problem) that would be great. As far as I can see nr_arena_item_invoke_render is where the borders for gaussian blur are added to the rendered area and then clipped to a bounding box. My guess is that the following line shouldn't be there: nr_rect_l_intersect (&carea, &carea, &item->bbox); But simply commenting that out gives weird results (if I remember correctly the exported image got borders around it and the artifacts remained).
Now, as far as I know, it is justified to clip to bounding box: due to it's nature, an object does not expand outside the bounding box. That is, if we take any point that lies outside the bounding box, it will be completely transparent.
Well, those bbox calculations have to be revised anyway, as filter effects area (which must be accounted for in item->bbox) is now calculated in screen coordinates whereas it should be calculated in object coordinates -> hilarity ensues with rotated / skewed coordinate systems.