SlideShare une entreprise Scribd logo
1  sur  59
Télécharger pour lire hors ligne
Physically-Based Rendering
Theory and Practice
Koray Hagen
The agenda
• Lighting and shading models with live demonstration
• Theoretical basis for PBR with live demonstration
• Q & A
Reality and simulation
Three thousand years of research
A brief history
• 4th century B.C.
– Ancient Greeks incorrectly believe
vision involves emanations from the
eye to the object perceived.
A brief history
• 4th century B.C.
– Ancient Greeks incorrectly believe
vision involves emanations from the
eye to the object perceived.
– Euclid successfully describes the law
of reflection using geometry.
A brief history
• 17th century A.D.
– Kepler, Snell, Fermat, and Descartes
contribute to the law of refraction.
A brief history
• 17th century A.D.
– Kepler, Snell, Fermat, and Descartes
contribute to the law of refraction.
– Newton observes dispersion,proving
light is composed of component
colors.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
– Maxwell summarizes and extends all
current empirical knowledge of
optics and electromagnetism with a
single set of equations.
A brief history
• 19th century A.D.
– Fresnel discovers the laws that
enable the intensity and polarization
of reflected and refracted light to be
calculated.
– Maxwell summarizes and extends all
current empirical knowledge of
optics and electromagnetism with a
single set of equations.
– Hertz discovers the photoelectric
effect.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
– Einstein explains the photoelectric
effect based on streams of quantized
energy packets.
A brief history
• 20th century A.D.
– Planck discovers a universalconstant
explainingthe relationship between
the energy and frequency of an
electromagnetic wave.
– Einstein explains the photoelectric
effect based on streams of quantized
energy packets.
– Feynman makes large contributions
to quantum field theory and
quantum electrodynamics.
A brief history
• 21st century A.D.
– Jet Propulsion Laboratoryhires PhD
graduateJim Blinn to work on
computer graphics research and
simulations for various space
missions.
A brief history
• 21st century A.D.
– Jet Propulsion Laboratoryhires PhD
graduateJim Blinn to work on
computer graphics research and
simulations for various space
missions.
– These incredible visualizations were
shown all over the world.
Our journey to physicallybased rendering begins here.
Lighting and shading models
Research prior to physicallybased rendering
What is physically-based rendering?
What is physically-based rendering?
• “Many things” and “it depends”
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
• What makes PBR different is in how we reason about the behavior of light and
surfaces in computer graphics.
What is physically-based rendering?
• “Many things” and “it depends”
• Must observe how it differs from other older rendering methods.
• What makes PBR different is in how we reason about the behavior of light and
surfaces in computer graphics.
• By modeling physical phenomena rather than approximating observation, we can
achieve more mathematically stable and photorealistic visual fidelity.
Some terminology
• Lighting model – the behavior of interactions between materials and light sources.
Normally attributed to be a topic in physics.
Some terminology
• Lighting model – the behavior of interactions between materials and light sources.
Normally attributed to be a topic in physics.
• Shading model – the process of determining the color of a pixel. Normally
attributed to be a topic in computer graphics.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave..
– Diffusion occurs when not all light reflects from the surface. Some will penetrate into
the interior of the illuminated object. There it will either be absorbed by the material
(usuallyconverting to heat) or scattered internally.
Some terminology
• Diffusion and reflection – also known as diffuse and specular reflection.
– Describe the most basic separation of light and surface interactions.
– Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly
reflecting off of it, much like how a mirror would behave..
– Diffusion occurs when not all light reflects from the surface. Some will penetrate into
the interior of the illuminated object. There it will either be absorbed by the material
(usuallyconverting to heat) or scattered internally.
• The absorption and scattering of diffuselight are often quite different for different
wavelengths of light, which is what gives objects their color (e.g. if an object
absorbs most light but scatters blue, it will appear blue).
How was light modeled in 1977?
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
– Think of how metal objects are shiny and wooden objects are matte. We need to have a
way to specify material parameters that can control how a surfacereflects light.
Blinn-Phong Shading Model
• Every surfaceis made of some material and each material reflects light differently.
– Think of how metal objects are shiny and wooden objects are matte. We need to have a
way to specify material parameters that can control how a surfacereflects light.
• Every surfacecan then be approximated with three reflectivity constants, and
they control the intensity of the various reflections.
– 𝐾 𝑎 ambient reflectivity
– 𝐾𝑠 specular reflectivity
– 𝐾 𝑑 diffusereflectivity
– 𝑎 specular highlighting
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
– The normalvector 𝑁 to the surface
– The light vector 𝐿 from the surface
– The view vector 𝑉
Blinn-Phong Shading Model
• By sampling relevant spatial information from
a three dimensional scene, the light intensity
at point 𝑃 can be calculated.
– The normalvector 𝑁 to the surface
– The light vector 𝐿 from the surface
– The view vector 𝑉
• Lambert’s Law states that the diffusion at a
point is proportional to the cosine of the
angle between the incoming light ray 𝐿 and
the normal of the surface 𝑉.
Blinn-Phong Shading Model
• Diffusion value Ld derived from Lambert’s Law
– Ld = Kd * dot(N, L) * light source intensity
• Specular reflection value Ls
– Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity
– Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity
• Ambient light value La
– La = Ka * ambient light intensity
Blinn-Phong Shading Model
• Diffusion value Ld derived from Lambert’s Law
– Ld = Kd * dot(N, L) * light source intensity
• Specular reflection value Ls
– Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity
– Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity
• Ambient light value 𝐿 𝑎
– 𝐿 𝑎 = 𝐾𝑎 ∙ 𝑎𝑚𝑏𝑖𝑒𝑛𝑡 𝑙𝑖𝑔ℎ𝑡 𝑖𝑛𝑡𝑒𝑛𝑠𝑖𝑡𝑦
• Light intensity at a pixel equals the sum of 𝐿 𝑎 + 𝐿 𝑠 + 𝐿 𝑑
• shadertoy example
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
• Ambient lighting completely ignores diffusion properties of environment.
Blinn-Phong is far from perfect
• Does not respect conversation of energy. As specular power is increased, more
energy is lost from the system.
• Isn’t expressive enough to simulate more complex materials due to crude
approximations of diffusion and reflective properties.
• Ambient lighting completely ignores diffusion properties of environment.
• Terrible workflow for artists, due to final visuals being dependent on physically
incorrect “tweaks” on both lighting and art assets. Errors or discrepancies in
lighting can propagate to other assets.
Physically-based rendering
A modern responseto archaic problems
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
• For a BRDF to be physicallyplausible, it must be energy conserving and exhibit
reciprocity.
Bidirectional Reflectance Distribution Function
• A function that describes the reflectance properties of a surface. In computer
graphics, there are different BRDF models some of which are not physically
plausible.
• For a BRDF to be physicallyplausible, it must be energy conserving and exhibit
reciprocity.
• Energy conservation states that the total amount of light re-emitted by a surface
(reflected and scattered back) is less than the total amount it received.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
• In practice, the effect of surface roughness on diffuse reflection is much less
prominent because of scattering happening inside the material.
Microfacet theory
• Both diffuse and specular reflection are dependent on surfaceirregularities.
• In practice, the effect of surface roughness on diffuse reflection is much less
prominent because of scattering happening inside the material.
– As a result, outgoing reflected light rays are fairly independentof surfaceroughness and
incident direction. The previous Lambertian model completely ignores this.
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
• The goal is to analytically solve the BRDF.
Microfacet theory
• An example microfacetbased specular BRDF would be Cook-Torrance:
– 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 =
𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ
4 𝑛∙𝑙 (𝑛∙𝑣)
• Where:
– 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident
– 𝐹 is the Fresnel reflectance term
– 𝐺 is the geometry term
– 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed
– 𝑙 is the light direction
– 𝑣 is the view direction
– 𝑛 is the surface normal
– ℎ is the half vector between l and v
• Let’s look at what it would take to solve one of the terms.
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
• None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0
• Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5
• Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
Fresnel Effect
• The amount of light you see reflected from a surface depends on the viewing angle
at which you perceive it.
• None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0
• Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5
• Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
• Consequently, Schlick’s Approximation has become quite popular in real time
graphics due to it’s low computational cost.
Conclusion
• Energy conservation is handled by the shader. A reflected ray is never brighter
than the value it had when it first hit the surface.
• The BRDF is handled by the shader. No more magic lighting values, and properties
exposed to artists are based in physical reality.
• Naturally will trend to better visual fidelity and photorealism do due basis is
physical phenomena.
• Large opportunities in numerical analysis to create performant solutions for
solving the needed terms in the BRDF. Fresnel is just one example.
Questions?

Contenu connexe

Tendances

SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time RaytracingSIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time RaytracingElectronic Arts / DICE
 
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringStable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringElectronic Arts / DICE
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Ki Hyunwoo
 
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)Philip Hammer
 
The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2Guerrilla
 
Physically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in FrostbitePhysically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in FrostbiteElectronic Arts / DICE
 
smallpt: Global Illumination in 99 lines of C++
smallpt:  Global Illumination in 99 lines of C++smallpt:  Global Illumination in 99 lines of C++
smallpt: Global Illumination in 99 lines of C++鍾誠 陳鍾誠
 
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"Lviv Startup Club
 
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1Ki Hyunwoo
 
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...JP Lee
 
High Dynamic Range color grading and display in Frostbite
High Dynamic Range color grading and display in FrostbiteHigh Dynamic Range color grading and display in Frostbite
High Dynamic Range color grading and display in FrostbiteElectronic Arts / DICE
 
Volumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the FallenVolumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the FallenBenjamin Glatzel
 
Paris Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global IlluminationParis Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global IlluminationWolfgang Engel
 
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Johan Andersson
 
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...Electronic Arts / DICE
 

Tendances (20)

SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time RaytracingSIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
SIGGRAPH 2018 - Full Rays Ahead! From Raster to Real-Time Raytracing
 
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal FilteringStable SSAO in Battlefield 3 with Selective Temporal Filtering
Stable SSAO in Battlefield 3 with Selective Temporal Filtering
 
Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1Rendering AAA-Quality Characters of Project A1
Rendering AAA-Quality Characters of Project A1
 
mssao presentation
mssao presentationmssao presentation
mssao presentation
 
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
The Rendering Technology of 'Lords of the Fallen' (Game Connection Europe 2014)
 
The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2
 
The Unique Lighting of Mirror's Edge
The Unique Lighting of Mirror's EdgeThe Unique Lighting of Mirror's Edge
The Unique Lighting of Mirror's Edge
 
Physically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in FrostbitePhysically Based and Unified Volumetric Rendering in Frostbite
Physically Based and Unified Volumetric Rendering in Frostbite
 
smallpt: Global Illumination in 99 lines of C++
smallpt:  Global Illumination in 99 lines of C++smallpt:  Global Illumination in 99 lines of C++
smallpt: Global Illumination in 99 lines of C++
 
Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3
 
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
Mikhail Kyyashko "PBR (physically based rendering) for artists and programmers"
 
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
Unreal Summit 2016 Seoul Lighting the Planetary World of Project A1
 
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...Penner   pre-integrated skin rendering (siggraph 2011 advances in real-time r...
Penner pre-integrated skin rendering (siggraph 2011 advances in real-time r...
 
Light prepass
Light prepassLight prepass
Light prepass
 
High Dynamic Range color grading and display in Frostbite
High Dynamic Range color grading and display in FrostbiteHigh Dynamic Range color grading and display in Frostbite
High Dynamic Range color grading and display in Frostbite
 
Hair in Tomb Raider
Hair in Tomb RaiderHair in Tomb Raider
Hair in Tomb Raider
 
Volumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the FallenVolumetric Lighting for Many Lights in Lords of the Fallen
Volumetric Lighting for Many Lights in Lords of the Fallen
 
Paris Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global IlluminationParis Master Class 2011 - 07 Dynamic Global Illumination
Paris Master Class 2011 - 07 Dynamic Global Illumination
 
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
 
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
 

En vedette

Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time RenderingKoray Hagen
 
Physically Based Rendering by Gege
Physically Based Rendering by GegePhysically Based Rendering by Gege
Physically Based Rendering by GegeAgate Studio
 
Pitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONYPitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONYAnaya Medias Swiss
 
The TDD game that you never played
The TDD game that you never playedThe TDD game that you never played
The TDD game that you never playedLior Israel
 
ผลกระทบเชิงลบ
ผลกระทบเชิงลบผลกระทบเชิงลบ
ผลกระทบเชิงลบKung Kaenchan
 
Cork EUDC 2016 Bid Document
Cork EUDC 2016 Bid DocumentCork EUDC 2016 Bid Document
Cork EUDC 2016 Bid DocumentCorkEUDC
 
Making sense of injury data
Making sense of injury dataMaking sense of injury data
Making sense of injury databronwen_bg
 
2010 Shanghai Day1
2010 Shanghai Day12010 Shanghai Day1
2010 Shanghai Day1ten1985
 
สุขสันต์นะค่ะ
สุขสันต์นะค่ะสุขสันต์นะค่ะ
สุขสันต์นะค่ะPeemmawat Pramaulsin
 
Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009Josep Lluís Villanueva Fontanella
 
CW Content Works - Our Credentials.
CW Content Works - Our Credentials.CW Content Works - Our Credentials.
CW Content Works - Our Credentials.cwmc37
 
2010 Shanghai Day5
2010 Shanghai Day52010 Shanghai Day5
2010 Shanghai Day5ten1985
 
Equity Crowdfunding in Australia
Equity Crowdfunding in AustraliaEquity Crowdfunding in Australia
Equity Crowdfunding in AustraliaWilliam Neill
 

En vedette (20)

Introduction to Real Time Rendering
Introduction to Real Time RenderingIntroduction to Real Time Rendering
Introduction to Real Time Rendering
 
Physically Based Rendering by Gege
Physically Based Rendering by GegePhysically Based Rendering by Gege
Physically Based Rendering by Gege
 
poster_Reza
poster_Rezaposter_Reza
poster_Reza
 
Pitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONYPitfalls of Object Oriented Programming by SONY
Pitfalls of Object Oriented Programming by SONY
 
UPnP 발표자료
UPnP 발표자료UPnP 발표자료
UPnP 발표자료
 
The TDD game that you never played
The TDD game that you never playedThe TDD game that you never played
The TDD game that you never played
 
Portfolio 2012
Portfolio 2012Portfolio 2012
Portfolio 2012
 
ผลกระทบเชิงลบ
ผลกระทบเชิงลบผลกระทบเชิงลบ
ผลกระทบเชิงลบ
 
Cork EUDC 2016 Bid Document
Cork EUDC 2016 Bid DocumentCork EUDC 2016 Bid Document
Cork EUDC 2016 Bid Document
 
Making sense of injury data
Making sense of injury dataMaking sense of injury data
Making sense of injury data
 
2010 Shanghai Day1
2010 Shanghai Day12010 Shanghai Day1
2010 Shanghai Day1
 
Short v45
Short v45Short v45
Short v45
 
Misirlou. Novembre 2013
Misirlou. Novembre 2013Misirlou. Novembre 2013
Misirlou. Novembre 2013
 
สุขสันต์นะค่ะ
สุขสันต์นะค่ะสุขสันต์นะค่ะ
สุขสันต์นะค่ะ
 
Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009Curs selecció de música per a la biblioteca pública. Desembre 2009
Curs selecció de música per a la biblioteca pública. Desembre 2009
 
CW Content Works - Our Credentials.
CW Content Works - Our Credentials.CW Content Works - Our Credentials.
CW Content Works - Our Credentials.
 
The farewell-haj
The farewell-hajThe farewell-haj
The farewell-haj
 
2010 Shanghai Day5
2010 Shanghai Day52010 Shanghai Day5
2010 Shanghai Day5
 
Message of prophet english
Message of prophet englishMessage of prophet english
Message of prophet english
 
Equity Crowdfunding in Australia
Equity Crowdfunding in AustraliaEquity Crowdfunding in Australia
Equity Crowdfunding in Australia
 

Similaire à Physically Based Rendering

Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.pptsimonckt1
 
Optics mirrors & lenses
Optics mirrors & lensesOptics mirrors & lenses
Optics mirrors & lensesShamim Ahmed
 
Basics and history of geometrical optics
Basics and history of geometrical opticsBasics and history of geometrical optics
Basics and history of geometrical opticsLABISHETTY CHARAN
 
Optics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notessOptics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notessShahnailMemon
 
Light website
Light websiteLight website
Light websitestephm32
 
Polarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical opticsPolarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical opticsSumaira ghafoor
 
Presentation on lights [ physics ]
Presentation on lights [ physics ]Presentation on lights [ physics ]
Presentation on lights [ physics ]Touhidul Shawan
 
Reflection power point
Reflection power pointReflection power point
Reflection power pointKatlinSapp
 
Light and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptxLight and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptxshamsudheenpp1
 
Physical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptxPhysical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptxSamuel Shirley
 
Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]Touhidul Shaon
 
Photon Concept of Light.pptx
Photon Concept of Light.pptxPhoton Concept of Light.pptx
Photon Concept of Light.pptxRenmarieLabor
 
Photon Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptxPhoton Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptxRenmarieLabor
 
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.pptfdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.pptPedramMaghsoudi4
 

Similaire à Physically Based Rendering (20)

Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
 
Reflection-refraction.ppt
Reflection-refraction.pptReflection-refraction.ppt
Reflection-refraction.ppt
 
Ch7 light(1)
Ch7 light(1)Ch7 light(1)
Ch7 light(1)
 
Optics mirrors & lenses
Optics mirrors & lensesOptics mirrors & lenses
Optics mirrors & lenses
 
Basics and history of geometrical optics
Basics and history of geometrical opticsBasics and history of geometrical optics
Basics and history of geometrical optics
 
Optics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notessOptics and Laser (1).pptx physics notess
Optics and Laser (1).pptx physics notess
 
Light website
Light websiteLight website
Light website
 
Polarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical opticsPolarization 1, polarization of light, physical optics
Polarization 1, polarization of light, physical optics
 
Presentation on lights [ physics ]
Presentation on lights [ physics ]Presentation on lights [ physics ]
Presentation on lights [ physics ]
 
Physics Light.pptx
Physics Light.pptxPhysics Light.pptx
Physics Light.pptx
 
Reflection power point
Reflection power pointReflection power point
Reflection power point
 
Light and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptxLight and it's properties-1 copy.pptx
Light and it's properties-1 copy.pptx
 
Physical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptxPhysical Optics 01 INtro.pptx
Physical Optics 01 INtro.pptx
 
Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]Presentation on lights [ gamma team ]
Presentation on lights [ gamma team ]
 
Photon Concept of Light.pptx
Photon Concept of Light.pptxPhoton Concept of Light.pptx
Photon Concept of Light.pptx
 
Photon Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptxPhoton Concept of Light (Grade 12 ).pptx
Photon Concept of Light (Grade 12 ).pptx
 
Polarization
PolarizationPolarization
Polarization
 
LIGHT.pptx
LIGHT.pptxLIGHT.pptx
LIGHT.pptx
 
Polarization.pptx
Polarization.pptxPolarization.pptx
Polarization.pptx
 
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.pptfdocuments.net_lecture-on-numerical-problems-in-optics.ppt
fdocuments.net_lecture-on-numerical-problems-in-optics.ppt
 

Dernier

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 

Dernier (20)

Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 

Physically Based Rendering

  • 2. The agenda • Lighting and shading models with live demonstration • Theoretical basis for PBR with live demonstration • Q & A
  • 3. Reality and simulation Three thousand years of research
  • 4. A brief history • 4th century B.C. – Ancient Greeks incorrectly believe vision involves emanations from the eye to the object perceived.
  • 5. A brief history • 4th century B.C. – Ancient Greeks incorrectly believe vision involves emanations from the eye to the object perceived. – Euclid successfully describes the law of reflection using geometry.
  • 6. A brief history • 17th century A.D. – Kepler, Snell, Fermat, and Descartes contribute to the law of refraction.
  • 7. A brief history • 17th century A.D. – Kepler, Snell, Fermat, and Descartes contribute to the law of refraction. – Newton observes dispersion,proving light is composed of component colors.
  • 8. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated.
  • 9. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated. – Maxwell summarizes and extends all current empirical knowledge of optics and electromagnetism with a single set of equations.
  • 10. A brief history • 19th century A.D. – Fresnel discovers the laws that enable the intensity and polarization of reflected and refracted light to be calculated. – Maxwell summarizes and extends all current empirical knowledge of optics and electromagnetism with a single set of equations. – Hertz discovers the photoelectric effect.
  • 11. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave.
  • 12. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave. – Einstein explains the photoelectric effect based on streams of quantized energy packets.
  • 13. A brief history • 20th century A.D. – Planck discovers a universalconstant explainingthe relationship between the energy and frequency of an electromagnetic wave. – Einstein explains the photoelectric effect based on streams of quantized energy packets. – Feynman makes large contributions to quantum field theory and quantum electrodynamics.
  • 14. A brief history • 21st century A.D. – Jet Propulsion Laboratoryhires PhD graduateJim Blinn to work on computer graphics research and simulations for various space missions.
  • 15. A brief history • 21st century A.D. – Jet Propulsion Laboratoryhires PhD graduateJim Blinn to work on computer graphics research and simulations for various space missions. – These incredible visualizations were shown all over the world.
  • 16. Our journey to physicallybased rendering begins here.
  • 17.
  • 18. Lighting and shading models Research prior to physicallybased rendering
  • 20. What is physically-based rendering? • “Many things” and “it depends”
  • 21. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods.
  • 22. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods. • What makes PBR different is in how we reason about the behavior of light and surfaces in computer graphics.
  • 23. What is physically-based rendering? • “Many things” and “it depends” • Must observe how it differs from other older rendering methods. • What makes PBR different is in how we reason about the behavior of light and surfaces in computer graphics. • By modeling physical phenomena rather than approximating observation, we can achieve more mathematically stable and photorealistic visual fidelity.
  • 24. Some terminology • Lighting model – the behavior of interactions between materials and light sources. Normally attributed to be a topic in physics.
  • 25. Some terminology • Lighting model – the behavior of interactions between materials and light sources. Normally attributed to be a topic in physics. • Shading model – the process of determining the color of a pixel. Normally attributed to be a topic in computer graphics.
  • 26. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection.
  • 27. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions.
  • 28. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.
  • 29. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.. – Diffusion occurs when not all light reflects from the surface. Some will penetrate into the interior of the illuminated object. There it will either be absorbed by the material (usuallyconverting to heat) or scattered internally.
  • 30. Some terminology • Diffusion and reflection – also known as diffuse and specular reflection. – Describe the most basic separation of light and surface interactions. – Specular reflection is the behavior of light hitting a surfaceboundaryand perfectly reflecting off of it, much like how a mirror would behave.. – Diffusion occurs when not all light reflects from the surface. Some will penetrate into the interior of the illuminated object. There it will either be absorbed by the material (usuallyconverting to heat) or scattered internally. • The absorption and scattering of diffuselight are often quite different for different wavelengths of light, which is what gives objects their color (e.g. if an object absorbs most light but scatters blue, it will appear blue).
  • 31. How was light modeled in 1977?
  • 32. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently.
  • 33. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently. – Think of how metal objects are shiny and wooden objects are matte. We need to have a way to specify material parameters that can control how a surfacereflects light.
  • 34. Blinn-Phong Shading Model • Every surfaceis made of some material and each material reflects light differently. – Think of how metal objects are shiny and wooden objects are matte. We need to have a way to specify material parameters that can control how a surfacereflects light. • Every surfacecan then be approximated with three reflectivity constants, and they control the intensity of the various reflections. – 𝐾 𝑎 ambient reflectivity – 𝐾𝑠 specular reflectivity – 𝐾 𝑑 diffusereflectivity – 𝑎 specular highlighting
  • 35. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated.
  • 36. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated. – The normalvector 𝑁 to the surface – The light vector 𝐿 from the surface – The view vector 𝑉
  • 37. Blinn-Phong Shading Model • By sampling relevant spatial information from a three dimensional scene, the light intensity at point 𝑃 can be calculated. – The normalvector 𝑁 to the surface – The light vector 𝐿 from the surface – The view vector 𝑉 • Lambert’s Law states that the diffusion at a point is proportional to the cosine of the angle between the incoming light ray 𝐿 and the normal of the surface 𝑉.
  • 38. Blinn-Phong Shading Model • Diffusion value Ld derived from Lambert’s Law – Ld = Kd * dot(N, L) * light source intensity • Specular reflection value Ls – Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity – Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity • Ambient light value La – La = Ka * ambient light intensity
  • 39. Blinn-Phong Shading Model • Diffusion value Ld derived from Lambert’s Law – Ld = Kd * dot(N, L) * light source intensity • Specular reflection value Ls – Phong: Ls = Ks * exp(dot(R, V), a) * light source intensity – Blinn: Ls = Ks * exp(dot(N, H), a) * light source intensity • Ambient light value 𝐿 𝑎 – 𝐿 𝑎 = 𝐾𝑎 ∙ 𝑎𝑚𝑏𝑖𝑒𝑛𝑡 𝑙𝑖𝑔ℎ𝑡 𝑖𝑛𝑡𝑒𝑛𝑠𝑖𝑡𝑦 • Light intensity at a pixel equals the sum of 𝐿 𝑎 + 𝐿 𝑠 + 𝐿 𝑑 • shadertoy example
  • 40. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system.
  • 41. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties.
  • 42. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties. • Ambient lighting completely ignores diffusion properties of environment.
  • 43. Blinn-Phong is far from perfect • Does not respect conversation of energy. As specular power is increased, more energy is lost from the system. • Isn’t expressive enough to simulate more complex materials due to crude approximations of diffusion and reflective properties. • Ambient lighting completely ignores diffusion properties of environment. • Terrible workflow for artists, due to final visuals being dependent on physically incorrect “tweaks” on both lighting and art assets. Errors or discrepancies in lighting can propagate to other assets.
  • 44. Physically-based rendering A modern responseto archaic problems
  • 45. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible.
  • 46. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible. • For a BRDF to be physicallyplausible, it must be energy conserving and exhibit reciprocity.
  • 47. Bidirectional Reflectance Distribution Function • A function that describes the reflectance properties of a surface. In computer graphics, there are different BRDF models some of which are not physically plausible. • For a BRDF to be physicallyplausible, it must be energy conserving and exhibit reciprocity. • Energy conservation states that the total amount of light re-emitted by a surface (reflected and scattered back) is less than the total amount it received.
  • 48. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities.
  • 49. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities. • In practice, the effect of surface roughness on diffuse reflection is much less prominent because of scattering happening inside the material.
  • 50. Microfacet theory • Both diffuse and specular reflection are dependent on surfaceirregularities. • In practice, the effect of surface roughness on diffuse reflection is much less prominent because of scattering happening inside the material. – As a result, outgoing reflected light rays are fairly independentof surfaceroughness and incident direction. The previous Lambertian model completely ignores this.
  • 51. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣)
  • 52. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v
  • 53. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v • The goal is to analytically solve the BRDF.
  • 54. Microfacet theory • An example microfacetbased specular BRDF would be Cook-Torrance: – 𝑓(𝑙, 𝑣) 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 = 𝐷 ℎ 𝐹 𝑣,ℎ 𝐺 𝑙,𝑣,ℎ 4 𝑛∙𝑙 (𝑛∙𝑣) • Where: – 𝑓 𝑚𝑖𝑐𝑟𝑜𝑓𝑎𝑐𝑒𝑡 is the reflectance at normal incident – 𝐹 is the Fresnel reflectance term – 𝐺 is the geometry term – 𝐷 ℎ is the normal distribution term describing how the microfacet normal are distributed – 𝑙 is the light direction – 𝑣 is the view direction – 𝑛 is the surface normal – ℎ is the half vector between l and v • Let’s look at what it would take to solve one of the terms.
  • 55. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it.
  • 56. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it. • None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0 • Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5 • Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write …
  • 57. Fresnel Effect • The amount of light you see reflected from a surface depends on the viewing angle at which you perceive it. • None: 𝐹𝑛𝑜𝑛𝑒 𝑣, ℎ = 𝐹0 • Schlick: 𝐹𝑆𝑐ℎ𝑙𝑖𝑐𝑘 𝑣, ℎ = 𝐹0 + 1 − 𝐹0 (1 − 𝑣 ∙ ℎ )5 • Torrance: 𝐹𝐶𝑜𝑜𝑘−𝑇𝑜𝑟𝑟𝑎𝑛𝑐𝑒 = too long to even write … • Consequently, Schlick’s Approximation has become quite popular in real time graphics due to it’s low computational cost.
  • 58. Conclusion • Energy conservation is handled by the shader. A reflected ray is never brighter than the value it had when it first hit the surface. • The BRDF is handled by the shader. No more magic lighting values, and properties exposed to artists are based in physical reality. • Naturally will trend to better visual fidelity and photorealism do due basis is physical phenomena. • Large opportunities in numerical analysis to create performant solutions for solving the needed terms in the BRDF. Fresnel is just one example.