Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 2 Graphics Hardware Pipeline, Reflection and Rendering Equations, Taxonomy of Methods

Slides:



Advertisements
Similar presentations
Understanding the graphics pipeline Lecture 2 Original Slides by: Suresh Venkatasubramanian Updates by Joseph Kider.
Advertisements

Computer graphics & visualization Global Illumination Effects.
Spherical Harmonic Lighting of Wavelength-dependent Phenomena Clifford Lindsay, Emmanuel Agu Worcester Polytechnic Institute (USA)
Advanced Computer Graphics
Advanced Computer Graphics (Fall 2009) CS 294, Rendering Lecture 7: High Quality Real-Time Rendering Ravi Ramamoorthi
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 15: Ray Tracing/Global Illumination Ravi Ramamoorthi Slides.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 18: Precomputation-Based Real-Time Rendering Ravi Ramamoorthi
Computer Graphics (Fall 2005) COMS 4160, Lecture 16: Illumination and Shading 1
Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2
Advanced Computer Graphics (Fall 2009) CS , Lecture 1: Introduction and History Ravi Ramamoorthi Some.
Computer Graphics (Fall 2005) COMS 4160, Lecture 21: Ray Tracing
(conventional Cartesian reference system)
1/12/09 1 Introduction Computer Graphics COMP 770 (236) Spring 2009 Instructor: Dinesh Manocha.
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
1 CSCE 641: Computer Graphics Lighting Jinxiang Chai.
Status – Week 277 Victor Moya.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
7M836 Animation & Rendering
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 1 Ravi Ramamoorthi
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 3 Overview of Course Content
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
Lighting & Shading.
GPU Graphics Processing Unit. Graphics Pipeline Scene Transformations Lighting & Shading ViewingTransformations Rasterization GPUs evolved as hardware.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Ray Tracing and Photon Mapping on GPUs Tim PurcellStanford / NVIDIA.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
Pre-computed Radiance Transfer Jaroslav Křivánek, KSVI, MFF UK
What is ? Open Graphics Library A cross-language, multi-platform API for rendering 2D and 3D computer graphics. The API is used to interact with a Graphics.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Programmable Pipelines. 2 Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Chris Kerkhoff Matthew Sullivan 10/16/2009.  Shaders are simple programs that describe the traits of either a vertex or a pixel.  Shaders replace a.
-Global Illumination Techniques
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University SIGGRAPH 2001 Stanford University SIGGRAPH.
Real-Time Relighting Digital Image Synthesis Yung-Yu Chuang 1/10/2008 with slides by Ravi Ramamoorthi, Robin Green and Milos Hasan.
View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations Paul Green 1 Jan Kautz 1 Wojciech Matusik 2 Frédo Durand 1.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia SIGGRAPH 2003 Pat Hanrahan Stanford.
Programmable Pipelines Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University.
Computing & Information Sciences Kansas State University CIS 536/636 Introduction to Computer Graphics Lecture 9 of 41 William H. Hsu Department of Computing.
Quick survey about PRT Valentin JANIAUT KAIST (Korea Advanced Institute of Science and Technology)
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Monte-Carlo Ray Tracing and
Pure Path Tracing: the Good and the Bad Path tracing concentrates on important paths only –Those that hit the eye –Those from bright emitters/reflectors.
Local Illumination and Shading
From Turing Machine to Global Illumination Chun-Fa Chang National Taiwan Normal University.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Non-Linear Kernel-Based Precomputed Light Transport Paul Green MIT Jan Kautz MIT Wojciech Matusik MIT Frédo Durand MIT Henrik Wann Jensen UCSD.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Radiance Cache Splatting: A GPU-Friendly Global Illumination Algorithm P. Gautron J. Křivánek K. Bouatouch S. Pattanaik.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia Pat Hanrahan Stanford.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Toward Real-Time Global Illumination. Global Illumination == Offline? Ray Tracing and Radiosity are inherently slow. Speedup possible by: –Brute-force:
Toward Real-Time Global Illumination. Project Ideas Distributed ray tracing Extension of the radiosity assignment Translucency (subsurface scattering)
Computer Graphics (Fall 2006) COMS 4160, Lecture 16: Illumination and Shading 1
Advanced Computer Graphics
Advanced Computer Graphics
Programmable Pipelines
Sampling and Reconstruction of Visual Appearance
Graphics Processing Unit
The Rendering Equation
CS5500 Computer Graphics May 29, 2006
Foundations of Computer Graphics (Spring 2012)
OPTICS III, IV: Global Illumination
Real-time Global Illumination with precomputed probe
Presentation transcript:

Real-Time High Quality Rendering CSE 291 [Winter 2015], Lecture 2 Graphics Hardware Pipeline, Reflection and Rendering Equations, Taxonomy of Methods

Outline of Lecture  Basics of hardware pipeline  Reflection and Rendering equations  Typical Lighting, shading in hardware  Taxonomy of methods/papers  Assignment: Sign up for paper presentations Basic concepts/review only. If interested in more background/in depth detail, refer to handouts

Basic Hardware Pipeline Application Geometry Rasterizer CPU GPU Create geometry, lights, materials, textures, cubemaps, … as inputs Transform and lighting calcs. Apply per-vertex operations Textures, Cubemaps Per-pixel (per-fragment) operations

Geometry or Vertex Pipeline Model, View Transform Lighting ProjectionClippingScreen These fixed function stages can be replaced by a general per-vertex calculation using vertex shaders in modern programmable hardware

Pixel or Fragment Pipeline Rasterization (scan conversion) Texture Mapping Z-buffering Framebuffer These fixed function stages can be replaced by a general per-fragment calculation using fragment shaders in modern programmable hardware

GPU Programmable Shaders Geometry Primitive Operations Pixel Operations Scan Conversion (Rasterize) Texture Memory Fragment Operations Framebuffer Vertices Images Traditional Approach: Fixed function pipeline (state machine) New Development (2003-): Programmable pipeline Programmable in Modern GPUs (Vertex Shader) Programmable in Modern GPUs (Fragment Shader)

Outline of Lecture  Basics of hardware pipeline  Reflection and Rendering equations  Typical Lighting, shading in hardware  Taxonomy of methods/papers  Assignment: Sign up for paper presentations Basic concepts/review only. If interested in more background/in depth detail, refer to handouts

Reflection Equation Reflected Light (Output Image) Emission Incident Light (from light source) BRDF Cosine of Incident angle

Reflection Equation Reflected Light (Output Image) Emission Incident Light (from light source) BRDF Cosine of Incident angle Sum over all light sources

Reflection Equation Reflected Light (Output Image) Emission Incident Light (from light source) BRDF Cosine of Incident angle Replace sum with integral

Rendering Equation Reflected Light (Output Image) Emission Reflected Light BRDF Cosine of Incident angle Surfaces (interreflection) UNKNOWN KNOWN

Rendering Equation (Kajiya 86)

Rendering Equation as Integral Equation Reflected Light (Output Image ) Emission Reflected Light BRDF Cosine of Incident angle UNKNOWN KNOWN Is a Fredholm Integral Equation of second kind [extensively studied numerically] with canonical form Kernel of equation

Linear Operator Equation Kernel of equation Light Transport Operator Can be discretized to a simple matrix equation [or system of simultaneous linear equations] (L, E are vectors, K is the light transport matrix)

Ray Tracing and extensions –General class numerical Monte Carlo methods –Approximate set of all paths of light in scene Binomial Theorem

Ray Tracing Emission directly From light sources Direct Illumination on surfaces Global Illumination (One bounce indirect) [Mirrors, Refraction] (Two bounce indirect) [Caustics etc]

Ray Tracing Emission directly From light sources Direct Illumination on surfaces Global Illumination (One bounce indirect) [Mirrors, Refraction] (Two bounce indirect) [Caustics etc] OpenGL Shading

Outline of Lecture  Basics of hardware pipeline  Reflection and Rendering equations  Typical Lighting, shading in hardware  Taxonomy of methods/papers  Assignment: Sign up for paper presentations Basic concepts/review only. If interested in more background/in depth detail, refer to handouts

OpenGL: Sum of Components  Ambient  Emission  Diffuse  Specular Reflected Light (Output Image) Emission Incident Light (from light source) BRDF Cosine of Incident angle Sum over all light sources

Ambient term Global constant (sometimes per light) added to everything  In addition to other terms in reflection equation  Fakes indirect illumination, broad area lights  Prevents completely black regions etc.  Hack, no physical basis

Emissive Term (for Light Sources) Reflected Light (Output Image) Emission Incident Light (from light source) BRDF Cosine of Incident angle Sum over all light sources

Diffuse Term (Lambertian Reflection) BRDF constant (Lambertian) ; mult. by diffuse albedo Reflected Light (Output Image) Emission Incident Light (from light source) albedo Cosine of Incident angle Sum over all light sources

Specular Term (Phong)

Specular Term (Blinn-Phong) Reflected Light (Output Image) Emission Incident Light (from light source) Sum over all light sources Blinn-Phong model (using half-angle) (s is shininess)

Outline of Lecture  Basics of hardware pipeline  Reflection and Rendering equations  Typical Lighting, shading in hardware  Taxonomy of methods/papers  Assignment: Sign up for paper presentations Basic concepts/review only. If interested in more background/in depth detail, refer to handouts

Syllabus / Taxonomy: Basic Hardware  Basic Hardware Techniques (next wk)  Shadow Mapping  Environment Mapping  Graphics Hardware  Geometry Engine (82)  Reality Engine (83)  Realistic Hardware-Accelerated Shading and Lighting  Real-Time Procedural Shading (01)  Ray Tracing on Graphics Hardware (02)  Brook: Stream Computing (04)  Photon mapping on hardware (03)  GPU-Based Interactive Global Illumination (09)

High Quality Hardware Shading  Heidrich 99, one of first papers. Hardware tricks (before current programmable graphics; in standard OpenGL)  Purcell et al. 02, map ray tracing to standard programmable hardware scanline pipeline  Lindholm et al. 01, first nVidia vertex shaders (GeForce 3)

General Programmable Shading  First programmable shading systems for hardware  Peercy et al. 00: Multipass OpenGL implementation of RenderMan (OpenGL as general SIMD machine)  Proudfoot et al. 01: Multiple computation frequencies (precursor to vertex, fragment shaders)  Mark et al. 03: Describes nVidia’s Cg: one of first commercial high-level shading languages

Shadow Mapping  Classic technique to add complex curved shadows  Williams 78, oldest paper we read in course  Many recent extensions for programmable hardware  Soft shadows: Agrawala 00  Complex geometry like hair: Lokovic and Veach 00  Adaptive techniques: Fernando 01, Stamminger 02, Sen 03

Syllabus/Taxonomy  Hardware Ray Tracing  Multi-Level CPU Ray Tracing (05)  OptiX (10)  Embree (14)  Image-Based Rendering (background)  Light Fields and Lumigraphs (96)  Surface Light Fields (00)  Reflectance Fields (00)  Signal Processing (background)  Plenoptic Sampling (00)  Signal-Processing Framework (01)  Frequency Analysis of Light Transport (05)

New Ideas  Precomputed Rendering  Precomputed Radiance Transfer (02)  Clustered PCA (03)  All-Frequency Shadows (03)  Newer Papers (09, 11, 13)  Sparse Sampling and Reconstruction  (background) (08,09,12)  Axis-Aligned Filtering (12,13)  Sampling of Recent Work  Anisotropic Spherical Gaussians (13)  Convolution Shadows, Volumes (13)  Axis-Aligned Distribution Effects (14)

Precomputed Transfer  Precompute on static scenes, followed by real-time relighting, changing view. Can capture most complex shading effects.  Sloan et al. 02,03: Low-frequency SH, compression  Ng et al. 03, 04: Wavelets all-frequency, relight, view change  Sloan 04, Wang 04: Factored BRDFs all-frequency relighting

Outline of Lecture  Basics of hardware pipeline  Reflection and Rendering equations  Typical Lighting, shading in hardware  Taxonomy of methods/papers  Assignment: Sign up for paper presentations Basic concepts/review only. If interested in more background/in depth detail, refer to handouts

Paper Presentations  me the top 3-4 papers you want to present  Only those that say “presented by students”  Brief description of projects next week (see schedule)  Project milestone and final proposal 3 weeks after

Questions?