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 Devices
Search
Tiago Almeida
November 21, 2019
Programming
0
10
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
93
Other Decks in Programming
See All in Programming
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
1
440
Getting along with YAML comments with Psych
qnighy
2
1.4k
Kubernetes Code Contribution入門
bells17
3
700
計算量オーダーの話
tsudaahr
1
130
スタックトレース始めてみた
kuro_kurorrr
5
1.3k
Rearchitect Ripper
yui_knk
2
330
Good first issues of TypeProf
mame
4
2.9k
SaaSを作るという仕事について
fujimura
11
4.6k
勉強会4_アップデートされたAssistantsAPIを試す
milky04
0
1.7k
AIで生成したものをAIでチェックしてる話
ippey
0
140
Secure Serverless Architecture
seike460
PRO
2
410
RubyKaigi参加歴をふりかえる / Looking Back on My RubyKaigi Participation History #kaigieffectLT
expajp
2
210
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
331
56k
Statistics for Hackers
jakevdp
790
220k
How GitHub (no longer) Works
holman
305
140k
In The Pink: A Labor of Love
frogandcode
138
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
85
45k
Unsuck your backbone
ammeep
664
57k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
It's Worth the Effort
3n
180
27k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6.1k
Rails Girls Zürich Keynote
gr2m
91
13k
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