H M V Amortized Supersampling Dec. 18, 2009, Pacifico Yokohama, Japan L EI Y ANG H, D IEGO N EHAB M, P EDRO V. S ANDER H, P ITCHAYA S ITTHI - AMORN V,

Slides:



Advertisements
Similar presentations
Stupid OpenGL Shader Tricks
Advertisements

Sampling, Aliasing.
Formal Computational Skills
Accelerating Real-Time Shading with Reverse Reprojection Caching Diego Nehab 1 Pedro V. Sander 2 Jason Lawrence 3 Natalya Tatarchuk 4 John R. Isidoro 4.
Exploration of advanced lighting and shading techniques
Technische Universität München Fakultät für Informatik Computer Graphics SS 2014 Sampling Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung.
Parallax-Interpolated Shadow Map Occlusion
Object Space EWA Surface Splatting: A Hardware Accelerated Approach to High Quality Point Rendering Liu Ren Hanspeter Pfister Matthias Zwicker CMU.
RealityEngine Graphics Kurt Akeley Silicon Graphics Computer Systems.
SDSM SAMPLE DISTRIBUTION SHADOW MAPS The Evolution Of PSSM.
Render Cache John Tran CS851 - Interactive Ray Tracing February 5, 2003.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Accelerating Spatially Varying Gaussian Filters Jongmin Baek and David E. Jacobs Stanford University.
CS 551 / CS 645 Antialiasing. What is a pixel? A pixel is not… –A box –A disk –A teeny tiny little light A pixel is a point –It has no dimension –It occupies.
Visibility Culling using Hierarchical Occlusion Maps Hansong Zhang, Dinesh Manocha, Tom Hudson, Kenneth E. Hoff III Presented by: Chris Wassenius.
SIGGRAPH ASIA 2011 Preview seminar Shading and Shadows.
Francisco Barranco Cornelia Fermüller Yiannis Aloimonos Event-based contour motion estimation.
Exampled-based Super resolution Presenter: Yu-Wei Fan.
Sampling, Aliasing, & Mipmaps
Particle Systems GPU Graphics. Sample Particle System Fire and SmokeWater.
Sampling and Pyramids : Rendering and Image Processing Alexei Efros …with lots of slides from Steve Seitz.
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
1 View Coherence Acceleration for Ray Traced Animation University of Colorado at Colorado Springs Master’s Thesis Defense by Philip Glen Gage April 19,
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
Copyright  Philipp Slusallek IBR: View Interpolation Philipp Slusallek.
Frequency Analysis and Sheared Reconstruction for Rendering Motion Blur Kevin Egan Yu-Ting Tseng Nicolas Holzschuch Frédo Durand Ravi Ramamoorthi Columbia.
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Outline Reprojection and data reuse Reprojection and data reuse – Taxonomy Bidirectional reprojection Bidirectional reprojection.
Sampling and Antialiasing CMSC 491/635. Abstract Vector Spaces Addition –C = A + B = B + A –(A + B) + C = A + (B + C) –given A, B, A + X = B for only.
Computer Graphics Mirror and Shadows
Filtering Approaches for Real-Time Anti-Aliasing /
Filtering theory: Battling Aliasing with Antialiasing Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
Computer Graphics Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
MIT EECS Sampling and Monte-Carlo Integration.
Antialiasing with Line Samples Thouis R. Jones, Ronald N. Perry MERL - Mitsubishi Electric Research Laboratory.
BraMBLe: The Bayesian Multiple-BLob Tracker By Michael Isard and John MacCormick Presented by Kristin Branson CSE 252C, Fall 2003.
Today More raytracing stuff –Soft shadows and anti-aliasing More rendering methods –The text book is good on this –I’ll be using images from the CDROM.
Antialiasing CAP4730: Computational Structures in Computer Graphics.
A General Framework for Tracking Multiple People from a Moving Camera
Ray Tracing Jian Huang, CS 594, Fall, 2002 This set of slides are used at Ohio State by Prof. Roger Crawfis.
CS 450: COMPUTER GRAPHICS ANTIALIASING SPRING 2015 DR. MICHAEL J. REALE.
Week 6 - Wednesday.  What did we talk about last time?  Light  Material  Sensors.
Simplified Smoothed Particle Hydrodynamics for Interactive Applications Zakiya Tamimi Richard McDaniel Based on work done at Siemens Corporate.
Tracking CSE 6367 – Computer Vision Vassilis Athitsos University of Texas at Arlington.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
Real-Time rendering Chapter 4.Visual Appearance 4.4. Aliasing and antialiasing 4.5. Transparency,alpha,and compositing 4.6. Fog 4.7. Gamma correction
Hardware-accelerated Rendering of Antialiased Shadows With Shadow Maps Stefan Brabec and Hans-Peter Seidel Max-Planck-Institut für Informatik Saarbrücken,
CMSC 635 Sampling and Antialiasing. Aliasing in images.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Computer Animation 고려대학교 컴퓨터 그래픽스 연구실.
Duy & Piotr. How to reconstruct a high quality image with the least amount of samples per pixel the least amount of resources And preserving the image.
Pixmotor: A Pixel Motion Integrator Ivan Neulander Rhythm & Hues.
1 Temporal Radiance Caching P. Gautron K. Bouatouch S. Pattanaik.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
1 Dr. Scott Schaefer Antialiasing. 2/70 What is aliasing?
David Luebke 3/17/2016 Advanced Computer Graphics Antialiasing David Luebke
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Antialiasing. What is alias? Alias - A false signal in telecommunication links from beats between signal frequency and sampling frequency (from dictionary.com)
Electronic Visualization Laboratory University of Illinois at Chicago “Fast And Reliable Space Leaping For Interactive Volume Rendering” by Ming Wan, Aamir.
Real-Time Soft Shadows with Adaptive Light Source Sampling
Computer Animation cgvr.korea.ac.kr.
Distributed Ray Tracing
Sampling and Antialiasing
Antialiasing Dr. Scott Schaefer.
Methods Anti-Aliasing Super Sampling
UMBC Graphics for Games
Distributed Ray Tracing
Accelerating Real-Time Shading with Reverse Reprojection Caching
Anti-aliased and accelerated ray tracing
Distributed Ray Tracing
Presentation transcript:

H M V Amortized Supersampling Dec. 18, 2009, Pacifico Yokohama, Japan L EI Y ANG H, D IEGO N EHAB M, P EDRO V. S ANDER H, P ITCHAYA S ITTHI - AMORN V, J ASON L AWRENCE V, H UGUES H OPPE M L EI Y ANG H, D IEGO N EHAB M, P EDRO V. S ANDER H, P ITCHAYA S ITTHI - AMORN V, J ASON L AWRENCE V, H UGUES H OPPE M

TOG Article 135: Amortized Supersampling Outline  Problem  Amortized supersampling – basic approach  Challenge - the resampling blur  Our algorithm  Results and conclusion  Problem  Amortized supersampling – basic approach  Challenge - the resampling blur  Our algorithm  Results and conclusion 2/27

TOG Article 135: Amortized Supersampling Problem  Shading signals not band-limited  Procedural materials  Complex shading functions  Band-limited version (analytically antialiased)  Ad-hoc  Difficult to obtain  Shading signals not band-limited  Procedural materials  Complex shading functions  Band-limited version (analytically antialiased)  Ad-hoc  Difficult to obtain 3/27

TOG Article 135: Amortized Supersampling Problem  Supersampling  General antialiasing solution  Compute a Monte-Carlo integral  Can be prohibitively expensive  Supersampling  General antialiasing solution  Compute a Monte-Carlo integral  Can be prohibitively expensive 4/27

TOG Article 135: Amortized Supersampling Accelerating Supersampling  Shading functions usually vary slowly over time  Reuse samples from previous frames  Reprojection  Generate only one sample every frame  Shading functions usually vary slowly over time  Reuse samples from previous frames  Reprojection  Generate only one sample every frame Frame 1 Frame 2 Frame 3 Frame t …… 5/27

TOG Article 135: Amortized Supersampling Amortized Supersampling  Cannot afford to store all the samples from history  Keep only a running accumulated result  Update it every frame using exponential smoothing  Cannot afford to store all the samples from history  Keep only a running accumulated result  Update it every frame using exponential smoothing = Frame 1 ~ t-1 Frame t-1 Frame t 6/27

TOG Article 135: Amortized Supersampling Reverse Reprojection [Nehab07, Scherzer07]  Compute previous location π t-1 (p) of point p  A bilinear texture fetch for the previous value  Check depth for occlusion changes  Compute previous location π t-1 (p) of point p  A bilinear texture fetch for the previous value  Check depth for occlusion changes p π t-1 (p) 7/27

TOG Article 135: Amortized Supersampling Effect of the smoothing factor α  Larger α: less history, more aliasing/noise  Smaller α: less fresh value, more smoothing  Equal weight of samples:  Larger α: less history, more aliasing/noise  Smaller α: less fresh value, more smoothing  Equal weight of samples: Frame t-1 Frame t (1 – α) ·(α) · +→ 8/27

TOG Article 135: Amortized Supersampling An artifact of recursive reprojection  Severe blur due to repeated bilinear interpolation Recursive reprojection Ground truth 9/27

TOG Article 135: Amortized Supersampling Factors of the blur  Fractional pixel velocity v = (v x, v y )  Exponential smoothing factor α  Fractional pixel velocity v = (v x, v y )  Exponential smoothing factor α …… Frame t-1Frame t-2Frame t-3Frame t v =(0.5, 0.5) …… Frame t-1Frame t-2Frame t-3Frame t (1- α)(1- α) 2 (1- α) 3 10/27

TOG Article 135: Amortized Supersampling The amount of blur  The expected blur variance is (derivation in the appendix)  Approaches for reducing the blur: 1. Increase resolution of the history buffer 2. Avoid bilinear resampling whenever possible 3. Limit α when needed  The expected blur variance is (derivation in the appendix)  Approaches for reducing the blur: 1. Increase resolution of the history buffer 2. Avoid bilinear resampling whenever possible 3. Limit α when needed 11/27

TOG Article 135: Amortized Supersampling  Option 1: Keep a history buffer at high resolution (2x2)  Have to update it every frame   Option 2: Keep 4 subpixel buffers at normal resolution  Only update one of them each frame  Option 1: Keep a history buffer at high resolution (2x2)  Have to update it every frame   Option 2: Keep 4 subpixel buffers at normal resolution  Only update one of them each frame (1) Increase resolution 12/27 High-resolution buffer Subpixel buffers

TOG Article 135: Amortized Supersampling Subpixel buffers 13/27

TOG Article 135: Amortized Supersampling (2) Avoid bilinear sampling  Reconstructing from subpixel buffers  Forward reproject the samples from 4 subpixel buffers to the current subpixel quadrant  Weight them using a tent function  GPU approximation/acceleration  Reconstructing from subpixel buffers  Forward reproject the samples from 4 subpixel buffers to the current subpixel quadrant  Weight them using a tent function  GPU approximation/acceleration 14/27

TOG Article 135: Amortized Supersampling Reconstruction scheme 15/27

TOG Article 135: Amortized Supersampling (3) Limiting blur via bounding α  Derive a relationship between  Blur variance σ 2  Motion velocity v and α  Analytic relationship is not attainable  Numerical simulation and tabulate  Bound α for limiting σ 2 no larger than τ b  Derive a relationship between  Blur variance σ 2  Motion velocity v and α  Analytic relationship is not attainable  Numerical simulation and tabulate  Bound α for limiting σ 2 no larger than τ b 16/27

TOG Article 135: Amortized Supersampling Tradeoff of blur and aliasing 17/27

TOG Article 135: Amortized Supersampling Adaptive evaluation 18/27  Newly disoccluded pixels are prone to aliasing  Additional shading for subpixels that fail in reconstruction  Newly disoccluded pixels are prone to aliasing  Additional shading for subpixels that fail in reconstruction

TOG Article 135: Amortized Supersampling Accounting for signal changes  Detect fast signal change  React by more aggressive update  Estimate residual ε between:  Current sample s t (aliased/noisy)  History estimate f t  Blur the residual estimate to remove aliasing/noise  Bound α for limiting ε no larger than τ ε  Detect fast signal change  React by more aggressive update  Estimate residual ε between:  Current sample s t (aliased/noisy)  History estimate f t  Blur the residual estimate to remove aliasing/noise  Bound α for limiting ε no larger than τ ε 19/27

TOG Article 135: Amortized Supersampling Tradeoff of signal lag and aliasing 20/27

TOG Article 135: Amortized Supersampling Results 21/27

TOG Article 135: Amortized Supersampling Results 22/27

TOG Article 135: Amortized Supersampling Results 23/27

TOG Article 135: Amortized Supersampling Results 24/27

TOG Article 135: Amortized Supersampling Results 25/27

TOG Article 135: Amortized Supersampling Conclusion  A real-time scheme for amortizing supersampling costs  Quality comparable to 4x4 stratified supersampling  Speed is 5x-10x of 4x4 supersampling  A single rendering pass  A real-time scheme for amortizing supersampling costs  Quality comparable to 4x4 stratified supersampling  Speed is 5x-10x of 4x4 supersampling  A single rendering pass 26/27

Questions?