10.14489/vkit.2014.08.pp.023-028 |
DOI: 10.14489/vkit.2014.08.pp.023-028 Рябинин К. В. Аннотация. Предложен способ сглаживания границ объектов на изображении, основанный на суперпозиции модифицированных алгоритмов суперсэмплинга и быстрого аппроксимированного антиалиасинга. Данный способ обеспечивает высокое визуальное качество результата, скорость визуализации и независимость от программно-аппаратной платформы. Программная реализация оптимизирована для работы на мобильных устройствах. Ключевые слова: визуализация; сглаживание границ; антиалиасинг; мобильные устройства; шейдеры.
Ryabinin K. V. Abstract. Rasterization of graphical scenes is a discrete sampling process that results in sampling artifacts called aliasing. These artifacts are jagged edges of the scene objects and they make the rendered images look unnatural. To defeat jaggedness so-called anti-aliasing algorithms are used. Almost all modern graphical platforms provide programmer with built-in multisampling anti-aliasing, however this algorithm has some significant limitations: it hits the performance and sometimes causes the unwanted blur of objects. In this paper we propose the new anti-aliasing technique based on the combination of super sampling anti-aliasing and fast approximate anti-aliasing. The described technique ensures high visual quality of the image and is independent from the platform. Therefore it can be used on the mobile devices as well as on the desktop computers. The proposed technique is adaptive, because it automatically switches off the anti-aliasing while the animation is playing or while the user interacts with the scene. After the scene reaches it’s stable state, the anti-aliasing is switched on back again. The toggling of anti-aliasing costs no more than the time needed to render a single frame. Thanks to this, high performance is achieved. Also the internal parameters of the proposed technique are automatically adjusted according to the hardware limitations of the particular platform. Thanks to this multiplatform portability is achieved. The technique is adaptable, because the programmer can decide which objects should be anti-aliased and which should be rendered directly with no modifications. Thanks to this the programmer can combine objects with and without anti-aliasing on the single scene avoiding the artifacts of unwanted edges’ blurring of the objects that are aligned parallel to the screen’s bounds. The proposed technique solves all the main problems of built-in multisampling anti-aliasing on the most platforms. The code of the used algorithms was been optimized for the mobile devices. Keywords: Visualization; Edge Smoothing; Anti-aliasing; Mobile devices; Shaders.
РусК. В. Рябинин (Пермский государственный национальный исследовательский университет) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript EngK. V. Ryabinin (Perm State University) E-mail: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript
Рус1. Multisampling Anti-Aliasing: A Closeup View / 3DCenter Translation Team. 2003. URL: http://alt.3dcenter. org/artikel/multisampling_anti-aliasing/index_e.php (дата обращения: 03.06.2014). Eng1. Multisampling Anti-Aliasing: A Closeup View. (2003). 3DCenter Translation Team. Available at: http://alt.3dcenter.org/artikel/multisampling_anti-aliasing/index_ e.php (Accessed: 03.06.2014).
РусСтатью можно приобрести в электронном виде (PDF формат). Стоимость статьи 250 руб. (в том числе НДС 18%). После оформления заказа, в течение нескольких дней, на указанный вами e-mail придут счет и квитанция для оплаты в банке. После поступления денег на счет издательства, вам будет выслан электронный вариант статьи. Для заказа статьи заполните форму: {jform=1,doi=10.14489/vkit.2014.08.pp.023-028} . EngThis article is available in electronic format (PDF). The cost of a single article is 250 rubles. (including VAT 18%). After you place an order within a few days, you will receive following documents to your specified e-mail: account on payment and receipt to pay in the bank. After depositing your payment on our bank account we send you file of the article by e-mail. To order articles please fill out the form below: {jform=2,doi=10.14489/vkit.2014.08.pp.023-028}
. .
|