An Efficient Curve-Scanline Intersection Locator Design for 2D Graphics Rendering
This paper presents an efficient intersection locator design used to generate the intersection information of curves and scan-lines required for the two-dimensional (2D) graphics rasterization process. The conventional method of calculating the intersection point first approximates the curve with enough number of line segments and then solves the two simultaneous equations of each line segment and scan-line. By extending the adaptive-forward-difference (AFD) algorithm to choose the proper successive sampling point of the curve, the proposed design can not only locate the intersection points precisely, but more importantly, it can avoid the use of complex functional units like multipliers and dividers which are typically used in solving simultaneous equations. In addition, our design also reuses the functional units of the locator for the computation of the initial coefficients of AFD algorithm.The intersection information generated by our locator can lead to over 99.6% accuracy. Our experimental results show that the proposed design requires about 18.1k gates, and can run at 150MHz with 90nm technology. The proposed locator is suitable for embedded dedicated 2D graphics systems.
adaptive-forward-difference openvg vector graphics bzier curve forward-difference