Advanced 3 D computer graphics for movies and
- Slides: 53
Advanced 3 D computer graphics for movies and games (NPGR 010) – Radiometry Jiří Vorba, MFF UK/Weta Digital jirka@cgg. mff. cuni. cz Slides of prof. Jaroslav Křivánek, minor edits by Jiří Vorba
Summary of basic radiometric quantities Image: Wojciech Jarosz Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Direction, solid angle, spherical integrals
Direction in 3 D n Direction = unit vector in 3 D q Cartesian coordinates q Spherical coordinates q q q … polar angle – angle from the Z axis f. . . azimuth – angle measured counter-clockwise from the X axis Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Function on a unit sphere n n Function as any other, except that its argument is a direction in 3 D Notation q q q F(w) F(x, y, z) F(q, f) … Depends in the chosen representation of directions in 3 D Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Solid angle n Planar angle q q n Arc length on a unit circle A full circle has 2 p radians (unit circle has the length of 2 p) Solid angle (steradian, sr) q q Surface area on an unit sphere Full sphere has 4 p steradians Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Differential solid angle n “Infinitesimally small” solid angle around a given direction n By convention, represented as a 3 D vector q Magnitude … dw n q Size of a differential area on the unit sphere Direction … w n Center of the projection of the differential area on the unit sphere Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Differential solid angle n (Differential) solid angle subtended by a differential area Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Differential solid angle dq r q f df Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiometry and photometry
Radiometry and photometry n n “Radiometry is a set of techniques for measuring electromagnetic radiation, including visible light. Radiometric techniques in optics characterize the distribution of the radiation's power in space, as opposed to photometric techniques, which characterize the light's interaction with the human eye. ” (Wikipedia) Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiometry and photometry n Radiometric quantities n Radiant energy (zářivá energie) – Joule n n n Radiant flux (zářivý tok) – Watt n Photometric quantities n Luminous energy (světelná energie) – Lumensecond, a. k. a. Talbot n Luminous flux (světelný tok) – Lumen n Luminous intensity (svítivost) – candela n Denoted by subscript v „visual“ Radiant intensity (zářivost) – Watt/sr Denoted by subscript e „energy“ Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
n Spectral luminous efficiency K(l) Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 Source: M. Procházka: Optika pro počítačovou grafiku Relation between photo- and radiometric quantities
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 Source: Encyclopedia Britanica, 1994 Human eye
Relation between photo- and radiometric quantities n Spectrum to luminous flux (visual response): Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
n Relative spectral luminous efficiency V(l) q q Sensitivity of the eye to light of wavelength l relative to the peak sensitivity at lmax = 555 nm (for photopic vision). CIE standard 1924 Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 Source: M. Procházka: Optika pro počítačovou grafiku Relation between photo- and radiometric quantities
Relation between photo- and radiometric quantities n Spectrum to luminous flux (visual response): Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Relation between photo- and radiometric quantities n Radiometry q n More fundamental – photometric quantities can all be derived from the radiometric ones Photometry q Longer history – studied through psychophysical (empirical) studies long before Maxwell equations came into being. Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiometric quantities
Transport theory n n Empirical theory describing flow of “energy” in space Assumption: q q n Energy is continuous, infinitesimally divisible Needs to be taken so we can use derivatives to define quantities Intuition of the “energy flow” q q Particles flying through space No mutual interactions (implies linear superposition) Energy density proportional to the density of particles This intuition is abstract, empirical, and has nothing to do with photons and quantum theory Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiant energy – Q [J] Time interval Wavelength interval Q (S, <t 1, t 2>, <l 1, l 2>) Surface in 3 D (imaginary or real) n Unit: Joule, J Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 S
Spectral radiant energy – Q [J] n Energy of light at a specific wavelength q n We will leave out the subscript and argument l for brevity q n „Density of energy w. r. t wavelength“ We always consider spectral quantities in image synthesis Photometric quantity: q Luminous energy, unit Lumen-second aka Talbot Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiant flux (power) – Φ [W] n How quickly does energy „flow“ from/to surface S? q n n „Energy density w. r. t. time“ Unit: Watt – W Photometric quantity: q Luminous flux, unit Lumen Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Irradiance– E [W. m-2] n What is the spatial flux density at a given point x on a surface S? n Always defined w. r. t some point x on S with a specified surface normal N(x). q n Irradiance DOES depend on N(x) (Lambert law) We’re only interested in light arriving from the “outside” of the surface (given by the orientation of the normal). Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Irradiance – E [W. m-2] n n Unit: Watt per meter squared – W. m-2 Photometric quantity: q Illuminance, unit Lux = lumen. m-2 light meter (cz: expozimetr) Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Lambert cosine law n Johan Heindrich Lambert, Photometria, 1760 A F Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Lambert cosine law n Johan Heindrich Lambert, Photometria, 1760 A A’=A / cosq F q Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Lambert cosine law n Another way of looking at the same situation Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiant exitance – B [W. m-2] n Same as irradiance, except that it describes exitant radiation. q The exitant radiation can either be directly emitted (if the surface is a light source) or reflected. n Common name: radiosity Denoted: B, M Unit: Watt per meter squared – W. m-2 Photometric quantity: q Luminosity, unit Lux = lumen. m-2 n n n Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiant intensity – I [W. sr-1] n Angular flux density in direction w n Definition: Radiant intensity is the power per unit solid angle emitted by a point source. n Unit: Watt per steradian – W. sr-1 Photometric quantity q Luminous intensity, unit Candela (cd = lumen. sr-1), SI base unit n Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Point light sources n Light emitted from a single point q n Mathematical idealization, does not exist in nature Emission completely described by the radiant intensity as a function of the direction of emission: I(w) q Isotropic point source n q Spot light n q Radiant intensity independent of direction Constant radiant intensity inside a cone, zero elsewhere General point source n Can be described by a goniometric diagram q Tabulated expression for I(w) as a function of the direction w q Extensively used in illumination engineering Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Spot Light n Point source with a directionallydependent radiant intensity Intensity is a function of the deviation from a reference direction d : n E. g. n (1) (2) d n What is the total flux emitted by the source in the cases (1) a (2)? Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 (See exercises. ) w
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
IES Profiles n n n IES Photometric files - file format Distribution form a light source using real world measured data https: //docs. unrealengine. com/en. US/Engine/Rendering/Lighting. And. Shadows/IESLight. P rofiles/index. html Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiance – L [W. m-2. sr-1] n Spatial and directional flux density at a given location x and direction w. n Definition: Radiance is the power per unit area perpendicular to the ray and per unit solid angle in the direction of the ray. Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiance – L [W. m-2. sr-1] n Spatial and directional flux density at a given location x and direction w. n Unit: W. m-2. sr-1 Photometric quantity n q Luminance, unit candela. m-2 (a. k. a. Nit – used only in English) Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
The cosine factor cos q in the definition of radiance n cos q compensates for the decrease of irradiance with increasing q q n The idea is that we do not want radiance to depend on the mutual orientation of the ray and the reference surface If you illuminate some surface while rotating it, then: q q Irradiance does change with the rotation (because the actual spatial flux density changes). Radiance does not change (because the flux density change is exactly compensated by the cos q factor in the definition of radiance). And that’s what we want. Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Env maps – Terminator II n https: //www. youtube. com/watch? v=BVE-7 x 9 Usvw Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Calculation of the remaining quantities from radiance = projected solid angle = hemisphere above the point x Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Area light sources n Emission of an area light source is fully described by the emitted radiance Le(x, w) for all positions on the source x and all directions w. n The total emitted power (flux) is given by an integral of Le(x, w) over the surface of the light source and all directions. Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Properties of radiance (1) n Radiance is constant along a ray in vacuum q q q Fundamental property for light transport simulation This is why radiance is the quantity associated with rays in a ray tracer Derived from energy conservation (next two slides) Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Energy conservation along a ray L 1(w) d. A 1 r dw 1 emitted flux L 2(w) dw 2 d. A 2 Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 received flux
Energy conservation along a ray L 1(w) d. A 1 r dw 1 L 2(w) dw 2 ray throughput d. A 2 Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Properties of radiance (2) n Sensor response (i. e. camera or human eye) is directly proportional to the value of radiance reflected by the surface visible to the sensor. Aperture area A 1 Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015 Sensor area A 2
Incoming / outgoing radiance n Radiance is discontinuous at an interface between materials q Incoming radiance – Li(x, w) n q radiance just before the interaction (reflection/transmission) Outgoing radiance – Lo(x, w) n radiance just after the interaction Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Radiometric and photometric terminology Fyzika Physics Radiometrie Radiometry Fotometrie Photometry Energie Energy Zářivá energie Radiant energy Světelná energie Luminous energy Výkon (tok) Power (flux) Zářivý tok Radiant flux (power) Světelný tok (výkon) Luminous power Hustota toku Flux density Ozáření Irradiance Osvětlení Illuminance dtto Intenzita vyzařování Radiosity ? ? ? Luminosity Úhlová hustota toku Angular flux density Zář Radiance Jas Luminance ? ? ? Intensity Zářivost Radiant Intensity Svítivost Luminous intensity Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Next lecture n Light reflection on surfaces, BRDF Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
Study references n Advanced 3 D Graphics (NPGR 010) - J. Vorba 2020, created by J. Křivánek 2015
- Graphics monitor and workstation in computer graphics
- Craig reinhart
- Computer graphics introduction ppt
- Accelerated graphics port year created
- Advanced higher graphic communication
- Advanced graphics port
- Exterior clipping
- Algorithm to draw a line in computer graphics
- Computer graphics ppt
- Normalized device coordinate
- Shear transformation in computer graphics
- Mathematical foundations of computer graphics and vision
- Ppt
- Boundary fill algorithm in computer graphics
- Hardware and software in computer graphics
- Ellipse parameters in computer graphics
- Scan conversion of ellipse in computer graphics
- What is pixmap in computer graphics
- In random scan display the frame buffer holds
- Circle in computer graphics
- Curves and surfaces for computer graphics
- Aliasing and antialiasing in computer graphics
- Convex and concave polygon in computer graphics
- Mood and tone movie
- Why we crave horror movies questions and answers
- Signpost chart example
- Do marketers promise miracles
- Review of fundamentals of cpu
- Advanced topics in computer science
- Advanced computer forensics
- Fastbloc
- Angel
- Projection types in computer graphics
- What is plasma panel display in computer graphics
- Shear transformation in computer graphics
- Acos glsl
- Difference between scan conversion of ellipse vs circle
- Equation of motion of a rotating rigid body
- Region filling algorithm
- Advantages and disadvantages of scan line fill algorithm
- Boundary fill algorithm
- Computer graphics
- Cs 418
- Cs 418 interactive computer graphics
- Introduction to hidden surface removal
- Achromatic light in computer graphics
- What is interactive input
- Uniform scaling in computer graphics
- Uniform scaling in computer graphics
- Fundamentals of computer graphics
- Logical input devices in computer graphics
- Fundamentals of computer graphics
- Dda in computer graphics
- Keyframe system in computer graphics