Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Evaluation of Antialiasing Techniques on Mobile...
Search
Tiago Almeida
November 21, 2019
Programming
0
15
Evaluation of Antialiasing Techniques on Mobile Devices
Tiago Almeida
November 21, 2019
Tweet
Share
More Decks by Tiago Almeida
See All by Tiago Almeida
Awesome features of RecyclerView
talmeida99
1
100
Other Decks in Programming
See All in Programming
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
24
11k
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
230
僕がつくった48個のWebサービス達
yusukebe
18
17k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
170
役立つログに取り組もう
irof
27
8.7k
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
440
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.4k
破壊せよ!データ破壊駆動で考えるドメインモデリング / data-destroy-driven
minodriven
16
4.1k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
250
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
250
カスタムしながら理解するGraphQL Connection
yanagii
1
1.2k
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Designing Experiences People Love
moore
138
23k
What's in a price? How to price your products and services
michaelherold
243
12k
4 Signs Your Business is Dying
shpigford
180
21k
Rails Girls Zürich Keynote
gr2m
93
13k
Music & Morning Musume
bryan
46
6.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
32
2.4k
Transcript
Evaluation of Antialiasing Techniques on Mobile Devices Tiago Almeida, João
Madeiras and João Jorge ICGI 2019
Motivation 2 Horizon Zero Dawn
Motivation 3 Horizon Zero Dawn Source: VentureBeat
Outline • Goals • Antialiasing techniques • Methodology • Results
• Conclusions • Demo 4
Goals • Study state of the art antialiasing solutions •
Compare the techniques on a mobile device • Develop a mobile application for benchmarks 5
Goals • Which antialiasing techniques are faster? • Which one
obtains the best image quality? • What should be explored on mobile antialiasing? 6
Aliasing 7
Antialiasing techniques • Multisampling • FXAA • Morphological AA •
Temporal AA 8
Multisampling Antialiasing (MSAA) 9
Fast Approximate Antialiasing (FXAA) • Post-processing technique • Based on
the contrast among neighbors • Blend colors to prevent discontinuities 10
Morphological Antialiasing (SMAA) • Identify perceptually visible edges • Re-vectorize
edges to calculate area • Blend with neighbors according to area 11
Temporal Antialiasing 12 History Temporal pass • Use frame history
information • Camera frustum jitter • Reprojection using velocity buffer
Methodology 13
Methodology 14 150k vertices Textures 1 million vertices Crytek Sponza
Hairball
Methodology • Collect performance metrics using Snapdragon Profiler ◦ GPU
utilization, memory, temperature • Compare image results with Structural Similarity Index (SSIM) • Analyze image details produced by each technique 15
Results - Framerate 16 Crytek Sponza (FPS)
Results - Framerate 17 Hairball (FPS)
Results - GPU Memory 18 Average Memory Read per Frame
(MB)
Performance results • FXAA obtained best results • MSAA slower
on high-polygon • SMAA with temporal reprojection is the slowest 19
Results - Image Quality 20 MSAA 4x FXAA SMAA 1x
SMAA T2x TAA No AA
Results - Structural Similarity Index (SSIM) 21
Image quality results • SMAA and MSAA with best quality
• FXAA blurs the details 22
Demo 23
Conclusions • Multisampling and FXAA have better performance • SMAA
with temporal reprojection has better image quality • MSAA provides the best balance 24
Thank you Tiago Almeida
[email protected]
25
Results - GPU Shader Processing 26 Fragment Instructions per Frame
(in millions)
Results - GPU Shader Processing 27 No AA MSAA 4x
FXAA SMAA 1x SMAA T2x TAA % Shaders Busy 91.4 79.3 92.1 92.3 87.1 85.6 % Time ALU working 53.6 43.6 53.6 50.7 49.5 52.3 % Time Shading Fragments 37.4 38.7 41.0 48.8 53.2 44.8 Mean values on Crytek Sponza
Summary • Research novel antialiasing techniques • Created an Android
application to test them • SMAA obtains the best image quality • MSAA and FXAA best performance 28