Finite element methods

Slides:



Advertisements
Similar presentations
Normal Mapping for Precomputed Radiance Transfer
Advertisements

The Radiance Equation.
Spherical Harmonic Lighting Jaroslav Křivánek. Overview Function approximation Function approximation Spherical harmonics Spherical harmonics Some other.
One-phase Solidification Problem: FEM approach via Parabolic Variational Inequalities Ali Etaati May 14 th 2008.
1 Planes, Polygons and Objects ©Anthony Steed
Computer graphics & visualization Global Illumination Effects.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Computer graphics & visualization Pre-Computed Radiance Transfer PRT.
10.6 Vectors in Space.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 10: Global Illumination Ravi Ramamoorthi Some images courtesy.
Computer Algorithms Integer Programming ECE 665 Professor Maciej Ciesielski By DFG.
Weak Formulation ( variational formulation)
Approximation on Finite Elements Bruce A. Finlayson Rehnberg Professor of Chemical Engineering.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 21: Radiosity
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Computer Graphics (Spring 2008) COMS 4160, Lecture 22: Global Illumination
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Efficient Irradiance Normal Mapping Ralf Habel, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University of Technology.
02/16/05© 2005 University of Wisconsin Last Time Re-using paths –Irradiance Caching –Photon Mapping.
Real-Time Rendering Digital Image Synthesis Yung-Yu Chuang 01/03/2006 with slides by Ravi Ramamoorthi and Robin Green.
Sources, Shadows, and Shading
Today’s class Spline Interpolation Quadratic Spline Cubic Spline Fourier Approximation Numerical Methods Lecture 21 Prof. Jinbo Bi CSE, UConn 1.
Volume radiosity Michal Roušal University of West Bohemia, Plzeň Czech republic.
02/05/03© 2003 University of Wisconsin Last Time Importance Better Form Factors Meshing.
Rendering Problem László Szirmay-Kalos. Image synthesis: illusion of watching real world objects Le(x,)Le(x,) pixel f r (  ’, x,  ) S We(x,)We(x,)
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
1 Finite Elements. 2 Finite elements Formally identical to spectral technique Dependent variables expanded as linear combinations of basis local, non.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
DPL11/27/2015 CS 551/651: Radiosity David Luebke
Vectors in Space. 1. Describe the set of points (x, y, z) defined by the equation (Similar to p.364 #7-14)
Section 5.1 Length and Dot Product in ℝ n. Let v = ‹v 1­­, v 2, v 3,..., v n › and w = ‹w 1­­, w 2, w 3,..., w n › be vectors in ℝ n. The dot product.
Artistic Surface Rendering Using Layout Of Text Tatiana Surazhsky Gershon Elber Technion, Israel Institute of Technology.
Iteration Solution of the Global Illumination Problem László Szirmay-Kalos.
Instant Radiosity Alexander Keller University Kaiserslautern Present by Li-Fong Lin.
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
1 EEE 431 Computational Methods in Electrodynamics Lecture 18 By Dr. Rasime Uyguroglu
MECH593 Introduction to Finite Element Methods
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Radiosity K. H. Ko School of Mechatronics Gwangju Institute.
Global Illumination (2) Radiosity (3). Classic Radiosity Algorithm Mesh Surfaces into Elements Compute Form Factors Between Elements Solve Linear System.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Function Representation & Spherical Harmonics. Function approximation G(x)... function to represent B 1 (x), B 2 (x), … B n (x) … basis functions G(x)
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
Precomputation aided GI on the GPU László Szirmay-Kalos.
EECS 274 Computer Vision Sources, Shadows, and Shading.
Example application – Finite Volume Discretization Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Advanced Computer Graphics
Introduction to Transforms
Robust Diffuse Final Gathering on the GPU
Copyright © Cengage Learning. All rights reserved.
Fundamentals of Engineering REVIEW COURSE For Civil Engineers
Radisoity Ed Angel Professor Emeritus of Computer Science
Continuous-Time Signal Analysis
Copyright © Cengage Learning. All rights reserved.
(MTH 250) Calculus Lecture 22.
REVIEW PROBLEMS FOR TEST 1 PART 3
The Rendering Equation
8.6 Vectors in Space.
© 2003 University of Wisconsin
Copyright © Cengage Learning. All rights reserved.
Radiosity Dr. Scott Schaefer.
Week 7 Solve 4sin2θ - 2 = 7cos θ for -180° ≤ θ < 180° correct to 3 significant figures Find the area enclosed by y = x2 + 2 and the line y = 2x + 5.
Foundations of Computer Graphics (Spring 2012)
OPTICS III, IV: Global Illumination
Vectors.
The Method of Moments Lf = g where L is a linear operator
Solving a System of Linear Equations
Computer Animation Algorithms and Techniques
Approximation of Functions
Approximation of Functions
Presentation transcript:

Finite element methods László Szirmay-Kalos

Representation of functions by finite data Finite function series: L(p)  Lj bj (p) 1 box 1 tent b1 b1 b2 b2 b3 b3 Piece-wise constant Piece-wise linear

Representation of the radiance Finite elements: L(p)  Lj bj (p) bj: total function system box, tent, harmonic, Chebishev, etc. diffuse radiosity: piece-wise constant non-diffuse case: partitioned hemisphere (piece-wise constant), directional distributions (spherical harmonics) illumination networks (links)

Rendering equation in function space L*(p) = Lj bj (p)  L L L +Le b2 b1 L* Original rendering equation Finite element approximation

Projected rendering equation L* L*(p) = Lj bj (p) Basis functions b2 +Le b1 L* b2’ F L* b1’ Adjoint base +Le* L* = Le* +F L*

L* Adjoint base <bi , bj’> = 1 if i=j and 0 otherwise b2 L* b2’ Equality is required in a subspace of adjoint basis functions: b1’, b2’ ,..., bn’ orthogonality: <bi , bj’> = 1 if i=j and 0 otherwise b2 L* +Le L* b2’ b1 projection b1’

Derivation of the projected rendering equation FEM: Projecting to an adjoint base: < •, bi’> L(p)  Lj bj (p) p=(x,w) Lj bj (p)  Lje bj (p) + t Lj bj (p) Li = Lie +  Lj <tbj ,bi’>

Projected rendering equation = linear equation for Lj Rij = <tbj ,bi’> L = Le + R L FEM: 1. define basis functions and adjoint basis function tesselation, function shape 2. Evaluate Rij 3. Solve the linear equation for L1, L2 ,…, Ln 4. For any p: L(p)  Lj bj (p)

Galerkin’s method <bi ,bi’>=1  bi’ = bi /<bi ,bi> The base and the adjoint base are the same except for a normalization constant: <bi ,bi’>=1  bi’ = bi /<bi ,bi> Error is orthogonal to the original base Point collocation method equality is required at finite dot points pi bi’ (p) = (p - pi)

Example: Diffuse case Galerkin+constant basis <u,v>=Su(x)v(x)dx  <bi,bi> = Ai Aj bi is 1 on patch i w’ h(x,-w’) ’ Ai x <tbj,bi’>= 1/Ai Ai bj (h(x,-w’)) fr(x) cos’ dw’dx

Solid angle  Area integral Aj  h(x,-w’) = y w’ ’ Ai dw’= dy cos / |x - y|2 x <tbj,bi>=1/AiAiAjv(x,y) fr(x) dydx = ai Fij cos’ cos  |x - y|2 Patch-patch form factor: Albedo: cos’ cos  ai = fri  Fij=1/Ai AiAj v(x,y) dydx  |x - y|2

Example: Diffuse case Point collocation+linear basis bi bi’= (x - xi) Aj w’ h(x,-w’) ’ Ai xi <tbj,bi’>=  bj (h(xi,-w’)) fr(xi) cos’ dw’ cos’ cos  = Aiv(xi,y) bj (y) fr(xi) dy = ai Fij point-patch |xi - y|2