SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
computer graphics & visualization
Voxel-Based Global-Illumination
By Thiedemann, Henrich, Grosch, and Müller
Real-Time Near-Field Global Illumination on
a Voxel Model
Seyedmorteza Mostajabodaveh (Morteza),
M.Sc. Marc Treib
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Overview
• Illumination
• What is voxelization?
• Paper’s Voxelization Method
• Paper’s Voxel/Ray Intersection Method
• Near Global-Illumination Based on Voxel-Model
• Results
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Illumination
• Direct Illumination
• Indirect Illumination
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Types of Illumination
• Direct Illumination
– Reflection can be computed locally (using Normal
and Material Specification)
– Local Illumination
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Types of Illumination
• Indirect Illumination
• The reflected light cannot be computed locally
– Global Illumination
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing Algorithm
Image Raytrace (Camera cam, Scene scene, int width, int height)
{
Image image = new Image (width, height) ;
for (int i = 0 ; i < height ; i++)
for (int j = 0 ; j < width ; j++) {
Ray ray = RayThruPixel (cam, i, j) ;
Intersection hit = Intersect (ray, scene) ;
image[i][j] = FindColor (hit) ;
}
return image ;
}
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing Algorithm
Image Raytrace (Camera cam, Scene scene, int width, int height)
{
Image image = new Image (width, height) ;
for (int i = 0 ; i < height ; i++)
for (int j = 0 ; j < width ; j++) {
Ray ray = RayThruPixel (cam, i, j) ;
Intersection hit = Intersect (ray, scene) ;
image[i][j] = FindColor (hit) ;
}
return image ;
}
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing Accelaration
• Classification of Accelaration Techniques for ray
tracing
– Faster ray-object intersections
– Fewer Ray-Object Intersections
– Fewer Rays
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
What is voxelization?
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Types of Voxelization
• Binary Voxelization
– A cell stores whether geometry is present in this
cell or not
• Multi-Valued Voxelization
– A cell can also stores arbitrary other data like BRDF,
normal or Radiance
• Boundary Voxelization
– Encodes the object surfaces only
• Solid Voxelization
– Captures the interior of a model
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Contributions
• A new atlas-based voxelization method
• An improved ray/voxel intersection test
• Real-time near-field illumination with
voxel visibility
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Goal
• Computing global illumination in real time,
given a large and dynamic scene.
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Atlas-Based Voxelization (1/5)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Atlas-Based Voxelization (2/5)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Atlas-Based Voxelization (3/5)
• Performance is directly related to the number
of rendered vertices
• Sufficient atlas-texture resolution
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Atlas-Based Voxelization (4/5)
• Environment
– Geforce GTX 295, Intel Core 2 Duo 3.16 Ghz, 4 GB RAM
• Performance
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Atlas-Based Voxelization (5/5)
• Pros
– No restrictions to the objects
– Applicable for dynamics rigid bodies and
moderately deforming models
• Cons
– Each object has to have a texture atlas
– Low atlas texture resolution causes holes in
voxelization
– Not allow strong deformation of the objects
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing Accelaration
• Classification of Accelaration Techniques for ray
tracing
– Faster ray-object intersections
• Efficient intersectors
– Fewer Ray-Object Intersections
• Bounding Volumes (Boxes, Spheres)
• Space Subdivision
– Fewer Rays
• Adaptive Tree-Depth Control
• Stochastic Sampling
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(1/3)
• Use a binary voxelized scene
representation(Why only in 2-dimensions)
• Build a Maximum mip-map hierarchy
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(2/3)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Hierarchical Ray-Voxel Intersection Test
(3/3)
• Algorithm
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Ray Tracing Algorithm
Image Raytrace (Camera cam, Scene scene, int width, int height)
{
Image image = new Image (width, height) ;
for (int i = 0 ; i < height ; i++)
for (int j = 0 ; j < width ; j++) {
Ray ray = RayThruPixel (cam, i, j) ;
Intersection hit = Intersect (ray, scene) ;
image[i][j] = FindColor (hit) ;
}
return image ;
}
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Outgoing Radiance
𝐿 𝑜 𝑝, 𝜔 𝑜 =
2𝜋+
𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖
BRDF
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Outgoing Radiance
𝐿 𝑜 𝑝, 𝜔 𝑜 =
2𝜋+
𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖
BRDF
Outgoing Direction Incoming Direction
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Monte Carlo Estimator
𝑰 =
𝒂
𝒃
𝒇 𝒙 𝒅𝒙
Monte Carlo Estimator: 𝑰 =
𝒃−𝒂
𝒏 𝒋=𝟏
𝒏
𝒇(𝒙𝒋)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Monte Carlo Importance Sampling
Monte Carlo Estimator: 𝑰 =
𝒃−𝒂
𝒏 𝒋=𝟏
𝒏 𝒇(𝒙 𝒋)
𝒑(𝒙 𝒋)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
𝐿 𝑜 𝑝, 𝜔 𝑜 =
2𝜋+
𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖
Outgoing Radiance
𝐿 𝑜 𝑝, 𝜔 𝑜 =
2𝜋+
𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿 𝑜 𝑟(𝑝, 𝜔𝑖), −𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖
𝐿𝑖 𝑝, 𝜔𝑖 = 𝐿 𝑜 𝑟(𝑝, 𝜔𝑖), −𝜔𝑖
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
One Bounce is enough!
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Real-Time Near-Field Single Bounce Indirect
Light
• Generate RSM (Reflective
Shadow Map) for fast
near-field illumination
• Shoot N rays from x with
maximum distance r
• Find first intersection
point using binary
voxelization
• Gather direct radiance
from RSM
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Real-Time Near-Field Single Bounce Indirect
Light
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Results (movie)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Results
• The effect of changing the voxel resolution
32x32x128 (47fps) 64x64x128 (36fps) 128x128x128 (25fps)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Results
• Voxel-Based Single Bounce illumination with
different Radiuses R
R = 1.5 (37 fps) R = 4.0 - center (27 fps) R = 4.0 – right (21 fps)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Results 2 (Movie)
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Thank you very much!!! :D
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
Questions?
computer graphics & visualization
Real-Time Near-Field Global Illumination Based on Voxel Model
Seyedmorteza Mostajabodaveh
References
Reference Name Author
TUM’s Computer Graphics Course Slides –
2013
Prof. Westermann, TU-Munich
Ray Tracing from Group Up, 2007 by AK
Peters Ltd
Kevvin Suffern
GPU Pro 3, 2012 by CRC Press Wolfgang Engel
An Approximate Global-Illumination
System for Computer Generated Films
Tabellion, E. And Lamorlette, A.
Voxel-Based Global Illumination,
Proceedings of ACM Symposium on
Interactive 3D Graphics and Games 2011
(I3D'11)
Thiedemann, Henrich, Grosch, and Müller
Voxel-Based Global Illumination slides at
Computer Graphics and Image Processing
Lab, SNU
http://graphics.snu.ac.kr/class/graphics2011/materials/paper09_voxel_gi.pdf
Jin Hur, Junhyuk Yoon

Weitere ähnliche Inhalte

Was ist angesagt?

A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
Steven Tovey
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
Johan Andersson
 
Anti-Aliasing Methods in CryENGINE 3
Anti-Aliasing Methods in CryENGINE 3Anti-Aliasing Methods in CryENGINE 3
Anti-Aliasing Methods in CryENGINE 3
Tiago Sousa
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3
guest11b095
 
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
 

Was ist angesagt? (20)

A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
 
A Real-time Radiosity Architecture
A Real-time Radiosity ArchitectureA Real-time Radiosity Architecture
A Real-time Radiosity Architecture
 
Lighting you up in Battlefield 3
Lighting you up in Battlefield 3Lighting you up in Battlefield 3
Lighting you up in Battlefield 3
 
Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3Shiny PC Graphics in Battlefield 3
Shiny PC Graphics in Battlefield 3
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
 
Anti-Aliasing Methods in CryENGINE 3
Anti-Aliasing Methods in CryENGINE 3Anti-Aliasing Methods in CryENGINE 3
Anti-Aliasing Methods in CryENGINE 3
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3
 
Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3Calibrating Lighting and Materials in Far Cry 3
Calibrating Lighting and Materials in Far Cry 3
 
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
 
The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2The Rendering Technology of Killzone 2
The Rendering Technology of Killzone 2
 
Screen Space Reflections in The Surge
Screen Space Reflections in The SurgeScreen Space Reflections in The Surge
Screen Space Reflections in The Surge
 
Lighting the City of Glass
Lighting the City of GlassLighting the City of Glass
Lighting the City of Glass
 
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...
 
Rendering Tech of Space Marine
Rendering Tech of Space MarineRendering Tech of Space Marine
Rendering Tech of Space Marine
 
Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)
 
Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)Rendering Technologies from Crysis 3 (GDC 2013)
Rendering Technologies from Crysis 3 (GDC 2013)
 
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)
 
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
 
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
 
Stochastic Screen-Space Reflections
Stochastic Screen-Space ReflectionsStochastic Screen-Space Reflections
Stochastic Screen-Space Reflections
 

Andere mochten auch

Sampling strategies for Sequential Monte Carlo (SMC) methods
Sampling strategies for Sequential Monte Carlo (SMC) methodsSampling strategies for Sequential Monte Carlo (SMC) methods
Sampling strategies for Sequential Monte Carlo (SMC) methods
Stephane Senecal
 

Andere mochten auch (10)

Sampling strategies for Sequential Monte Carlo (SMC) methods
Sampling strategies for Sequential Monte Carlo (SMC) methodsSampling strategies for Sequential Monte Carlo (SMC) methods
Sampling strategies for Sequential Monte Carlo (SMC) methods
 
Illumination Model
Illumination ModelIllumination Model
Illumination Model
 
Gesture recognition technology
Gesture recognition technologyGesture recognition technology
Gesture recognition technology
 
PRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling MethodPRML Reading Chapter 11 - Sampling Method
PRML Reading Chapter 11 - Sampling Method
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Polygon mesh
Polygon  meshPolygon  mesh
Polygon mesh
 
Illumination model
Illumination modelIllumination model
Illumination model
 
Slit lamp biomicroscope
Slit lamp biomicroscopeSlit lamp biomicroscope
Slit lamp biomicroscope
 
Retinoscopy and its principles
Retinoscopy and its principlesRetinoscopy and its principles
Retinoscopy and its principles
 
Slit Lamp Illumination Techniques
Slit Lamp Illumination TechniquesSlit Lamp Illumination Techniques
Slit Lamp Illumination Techniques
 

Ähnlich wie Voxel based global-illumination

Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
stefan_b
 
Sem 2 Presentation
Sem 2 PresentationSem 2 Presentation
Sem 2 Presentation
Shalom Cohen
 

Ähnlich wie Voxel based global-illumination (20)

Introduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer VisionIntroduction to Binocular Stereo in Computer Vision
Introduction to Binocular Stereo in Computer Vision
 
SIGGRAPH 2012 Computational Plenoptic Imaging Course - 3 Spectral Imaging
SIGGRAPH 2012 Computational Plenoptic Imaging Course - 3 Spectral ImagingSIGGRAPH 2012 Computational Plenoptic Imaging Course - 3 Spectral Imaging
SIGGRAPH 2012 Computational Plenoptic Imaging Course - 3 Spectral Imaging
 
Lec14 multiview stereo
Lec14 multiview stereoLec14 multiview stereo
Lec14 multiview stereo
 
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
論文読み会@AIST (Deep Virtual Stereo Odometry [ECCV2018])
 
Lec13 stereo converted
Lec13 stereo convertedLec13 stereo converted
Lec13 stereo converted
 
3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III
 
IAA-LA2-10-01 Spectral and Radiometric Calibration Procedure for a SWIR Hyper...
IAA-LA2-10-01 Spectral and Radiometric Calibration Procedure for a SWIR Hyper...IAA-LA2-10-01 Spectral and Radiometric Calibration Procedure for a SWIR Hyper...
IAA-LA2-10-01 Spectral and Radiometric Calibration Procedure for a SWIR Hyper...
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
 
Computational Photography_TED.pptx
Computational Photography_TED.pptxComputational Photography_TED.pptx
Computational Photography_TED.pptx
 
FinalPoster
FinalPosterFinalPoster
FinalPoster
 
Rendering Algorithms.pptx
Rendering Algorithms.pptxRendering Algorithms.pptx
Rendering Algorithms.pptx
 
Advanced Lighting for Interactive Applications
Advanced Lighting for Interactive ApplicationsAdvanced Lighting for Interactive Applications
Advanced Lighting for Interactive Applications
 
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
SIGGRAPH 2014 Course on Computational Cameras and Displays (part 4)
 
Computer Vision Workshop
Computer Vision WorkshopComputer Vision Workshop
Computer Vision Workshop
 
Global illumination
Global illuminationGlobal illumination
Global illumination
 
Monte carlo methods in graphics and hacking
Monte carlo methods in graphics and hackingMonte carlo methods in graphics and hacking
Monte carlo methods in graphics and hacking
 
Sem 2 Presentation
Sem 2 PresentationSem 2 Presentation
Sem 2 Presentation
 
>A Switchable Light Field Camera Architecture with Angle SEnsitive Pixels and...
>A Switchable Light Field Camera Architecture with Angle SEnsitive Pixels and...>A Switchable Light Field Camera Architecture with Angle SEnsitive Pixels and...
>A Switchable Light Field Camera Architecture with Angle SEnsitive Pixels and...
 
Understanding neural radiance fields
Understanding neural radiance fieldsUnderstanding neural radiance fields
Understanding neural radiance fields
 
CATalkOnline.ppt
CATalkOnline.pptCATalkOnline.ppt
CATalkOnline.ppt
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Voxel based global-illumination

  • 1. computer graphics & visualization Voxel-Based Global-Illumination By Thiedemann, Henrich, Grosch, and Müller Real-Time Near-Field Global Illumination on a Voxel Model Seyedmorteza Mostajabodaveh (Morteza), M.Sc. Marc Treib
  • 2. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Overview • Illumination • What is voxelization? • Paper’s Voxelization Method • Paper’s Voxel/Ray Intersection Method • Near Global-Illumination Based on Voxel-Model • Results
  • 3. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Illumination • Direct Illumination • Indirect Illumination
  • 4. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Types of Illumination • Direct Illumination – Reflection can be computed locally (using Normal and Material Specification) – Local Illumination
  • 5. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Types of Illumination • Indirect Illumination • The reflected light cannot be computed locally – Global Illumination
  • 6. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing
  • 7. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing Algorithm Image Raytrace (Camera cam, Scene scene, int width, int height) { Image image = new Image (width, height) ; for (int i = 0 ; i < height ; i++) for (int j = 0 ; j < width ; j++) { Ray ray = RayThruPixel (cam, i, j) ; Intersection hit = Intersect (ray, scene) ; image[i][j] = FindColor (hit) ; } return image ; }
  • 8. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing Algorithm Image Raytrace (Camera cam, Scene scene, int width, int height) { Image image = new Image (width, height) ; for (int i = 0 ; i < height ; i++) for (int j = 0 ; j < width ; j++) { Ray ray = RayThruPixel (cam, i, j) ; Intersection hit = Intersect (ray, scene) ; image[i][j] = FindColor (hit) ; } return image ; }
  • 9. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing Accelaration • Classification of Accelaration Techniques for ray tracing – Faster ray-object intersections – Fewer Ray-Object Intersections – Fewer Rays
  • 10. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh What is voxelization?
  • 11. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Types of Voxelization • Binary Voxelization – A cell stores whether geometry is present in this cell or not • Multi-Valued Voxelization – A cell can also stores arbitrary other data like BRDF, normal or Radiance • Boundary Voxelization – Encodes the object surfaces only • Solid Voxelization – Captures the interior of a model
  • 12. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Contributions • A new atlas-based voxelization method • An improved ray/voxel intersection test • Real-time near-field illumination with voxel visibility
  • 13. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Goal • Computing global illumination in real time, given a large and dynamic scene.
  • 14. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Atlas-Based Voxelization (1/5)
  • 15. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Atlas-Based Voxelization (2/5)
  • 16. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Atlas-Based Voxelization (3/5) • Performance is directly related to the number of rendered vertices • Sufficient atlas-texture resolution
  • 17. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Atlas-Based Voxelization (4/5) • Environment – Geforce GTX 295, Intel Core 2 Duo 3.16 Ghz, 4 GB RAM • Performance
  • 18. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Atlas-Based Voxelization (5/5) • Pros – No restrictions to the objects – Applicable for dynamics rigid bodies and moderately deforming models • Cons – Each object has to have a texture atlas – Low atlas texture resolution causes holes in voxelization – Not allow strong deformation of the objects
  • 19. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing Accelaration • Classification of Accelaration Techniques for ray tracing – Faster ray-object intersections • Efficient intersectors – Fewer Ray-Object Intersections • Bounding Volumes (Boxes, Spheres) • Space Subdivision – Fewer Rays • Adaptive Tree-Depth Control • Stochastic Sampling
  • 20. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (1/3) • Use a binary voxelized scene representation(Why only in 2-dimensions) • Build a Maximum mip-map hierarchy
  • 21. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 22. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 23. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 24. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 25. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 26. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (2/3)
  • 27. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Hierarchical Ray-Voxel Intersection Test (3/3) • Algorithm
  • 28. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Ray Tracing Algorithm Image Raytrace (Camera cam, Scene scene, int width, int height) { Image image = new Image (width, height) ; for (int i = 0 ; i < height ; i++) for (int j = 0 ; j < width ; j++) { Ray ray = RayThruPixel (cam, i, j) ; Intersection hit = Intersect (ray, scene) ; image[i][j] = FindColor (hit) ; } return image ; }
  • 29. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Outgoing Radiance 𝐿 𝑜 𝑝, 𝜔 𝑜 = 2𝜋+ 𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖 BRDF
  • 30. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Outgoing Radiance 𝐿 𝑜 𝑝, 𝜔 𝑜 = 2𝜋+ 𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖 BRDF Outgoing Direction Incoming Direction
  • 31. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Monte Carlo Estimator 𝑰 = 𝒂 𝒃 𝒇 𝒙 𝒅𝒙 Monte Carlo Estimator: 𝑰 = 𝒃−𝒂 𝒏 𝒋=𝟏 𝒏 𝒇(𝒙𝒋)
  • 32. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Monte Carlo Importance Sampling Monte Carlo Estimator: 𝑰 = 𝒃−𝒂 𝒏 𝒋=𝟏 𝒏 𝒇(𝒙 𝒋) 𝒑(𝒙 𝒋)
  • 33. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh 𝐿 𝑜 𝑝, 𝜔 𝑜 = 2𝜋+ 𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿𝑖 𝑝, 𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖 Outgoing Radiance 𝐿 𝑜 𝑝, 𝜔 𝑜 = 2𝜋+ 𝑓𝑟 𝑝, 𝜔𝑖, 𝜔 𝑜 𝐿 𝑜 𝑟(𝑝, 𝜔𝑖), −𝜔𝑖 cos 𝜃𝑖 𝑑 𝜔 𝑖 𝐿𝑖 𝑝, 𝜔𝑖 = 𝐿 𝑜 𝑟(𝑝, 𝜔𝑖), −𝜔𝑖
  • 34. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh One Bounce is enough!
  • 35. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Real-Time Near-Field Single Bounce Indirect Light • Generate RSM (Reflective Shadow Map) for fast near-field illumination • Shoot N rays from x with maximum distance r • Find first intersection point using binary voxelization • Gather direct radiance from RSM
  • 36. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Real-Time Near-Field Single Bounce Indirect Light
  • 37. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Results (movie)
  • 38. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Results • The effect of changing the voxel resolution 32x32x128 (47fps) 64x64x128 (36fps) 128x128x128 (25fps)
  • 39. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Results • Voxel-Based Single Bounce illumination with different Radiuses R R = 1.5 (37 fps) R = 4.0 - center (27 fps) R = 4.0 – right (21 fps)
  • 40. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Results 2 (Movie)
  • 41. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Thank you very much!!! :D
  • 42. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh Questions?
  • 43. computer graphics & visualization Real-Time Near-Field Global Illumination Based on Voxel Model Seyedmorteza Mostajabodaveh References Reference Name Author TUM’s Computer Graphics Course Slides – 2013 Prof. Westermann, TU-Munich Ray Tracing from Group Up, 2007 by AK Peters Ltd Kevvin Suffern GPU Pro 3, 2012 by CRC Press Wolfgang Engel An Approximate Global-Illumination System for Computer Generated Films Tabellion, E. And Lamorlette, A. Voxel-Based Global Illumination, Proceedings of ACM Symposium on Interactive 3D Graphics and Games 2011 (I3D'11) Thiedemann, Henrich, Grosch, and Müller Voxel-Based Global Illumination slides at Computer Graphics and Image Processing Lab, SNU http://graphics.snu.ac.kr/class/graphics2011/materials/paper09_voxel_gi.pdf Jin Hur, Junhyuk Yoon