View Single Post
Old 13th March 2015, 09:29   #773  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by maverick477f View Post
One last question though, will xySubFilter be able to fade overlapping text in the future like libass can?
I assume you mean fade overlapping text without a subpixel gap between border and body. Unfortunately, the answer is probably not. Our developer didn't have much interest refactoring the alpha blending code to compensate for all corner cases. He deemed that adding the draw method was a more straightforward way to target the problem cases directly, simpler to implement, and likely better for overall performance.

With XySubFilter's current method, only the portions of the bounding boxes which overlap will use alpha blending, while non-overlapping portions will use the draw method. It's not an all or nothing thing. The main problem comes when the text is 3d transformed, since the bounding boxes are rectangular and can result in a false positives in terms of overlap from the excess empty space. In that respect, the overlap detection code could be improved if someone came up cache friendly method of dealing with the problem.
cyberbeing is offline   Reply With Quote