Smaa : enhanced morphological anti-aliasing

JaeyunLee1 1,832 views 22 slides Feb 13, 2012
Slide 1
Slide 1 of 22
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22

About This Presentation

smaa 테크닉에 대한 ppt


Slide Content

SMAA
Enhanced Subpixel Morphological Antialiasing

엔씨소프트
이재윤
http://cafe.naver.com/shader

| Abstract
•Image-based post-processing AA technique
–좋은 edge detection
–Simple and effective way to handle sharpness
•Geometric features
•Diagonal lines

•Works with MSAA / SSAA

•CryEngine3에 적용

http://cafe.naver.com/shader

| Introduction
•CG에서의 숙원사업 anti-aliasing
–Spatial domain
–Temporal domain

•MSAA/SSAA
–이제는 진부한 퀄리티와 (메모리+속도)의 trade-off

•MLAA에서 착안
–Practical MLAA의 모든 step을 rebuilding
http://cafe.naver.com/shader

| Previous MLAA
Original
Image
Edges
texture
Blending
weights texture
Antialiased
Image
http://cafe.naver.com/shader

| SMAA
•Edge detection
–Local contrast adaptation
•Pattern handling
–Sharp geometric features
–Diagonal patterns
–Accurate distances search
•Sub-pixel rendering
•Temporal re-projection
http://cafe.naver.com/shader

| Edge detection
•Luminance 사용
–RGB 보다 빠름
–Shading aliasing에도 적용 가능

•Top Right edge에 대해서만 검출

http://cafe.naver.com/shader

| Edge detection
Crossing edges Using Local contrast SMAA
http://cafe.naver.com/shader

| Edge detection
http://cafe.naver.com/shader

| Pattern handling
No AA MLAA SMAA
•Sharp geometric features
http://cafe.naver.com/shader

| Pattern handling
•Sharp geometric features
http://cafe.naver.com/shader

| Pattern handling
•Sharp geometric features
http://cafe.naver.com/shader

| Pattern handling
•Diagonal patterns
–기존의 filter-based techniques
•Orthogonal pattern에 대해서만 고려
•대각선에 대해 좋지 않은 aliased 결과

http://cafe.naver.com/shader

| Pattern handling
•Diagonal patterns
http://cafe.naver.com/shader
MLAA SMAA

| Pattern handling
•Diagonal patterns
http://cafe.naver.com/shader
Pattern map Area texture

| Pattern handling
•Accurate distances search
–정확한 edge dist.를 찾는 것이 key point

http://cafe.naver.com/shader

| Sub-pixel rendering
MLAA
Single sample / pixel

http://cafe.naver.com/shader
SMAA + @
More samples / pixel

| Sub-pixel rendering

http://cafe.naver.com/shader

| Temporal Re-projection
•TSSAA
–sub-pixel rendering에 효과적
–But, ghosting artifact 존재
•Prev. frame re-projection


http://cafe.naver.com/shader

| Temporal re-projection
http://cafe.naver.com/shader
TSSAA Re-projection Velocity weighting

| Temporal re-projection
http://cafe.naver.com/shader
TSSAA Re-projection Velocity weighting

| Results
•NVIDIA GeForce GTX 470
•1080p Images

http://cafe.naver.com/shader
techniques Execution times
SMAA 1x 1.02ms
SMAA T2x 1.32ms
SMAA S2x 2.04ms
SMAA 4x 2.34ms

| Conclusions
•Tackles all the weak points remaining in filter-
based antialiasing solutions
•Shown how to combine a filter-based AA with
MSAA/SSAA

http://cafe.naver.com/shader