SlideShare a Scribd company logo
Raytracing
PART II
@jorge_magic
/in/jorgecanton
Ray Generation Shader
Main Functions
DispatchRaysIndex()
DispatchRayDimensions()
TraceRay(..)
Simple Ray
t=0
t=1
t=1.5
A
B
P(t) = A + tb
b
Closet-Hit Shader
Main Functions
WorldRayOrigin()
WorldRayDirection()
RayTCurrent()
PrimitiveIndex()
Triangle barycentrics coordinates
A B
C
Triangle barycentrics coordinates
A B
C
P = wA+uB+vC
u
v
w
P
Barycentric (u, v, w)
Triangle barycentrics coordinates
A B
C
P = (1-u-v )A+uB+vC
u
v
w
P
Normalized barycentric coords
1 = u + v + w
P = wA+uB+vC
Barycentric (u, v, w)
Triangle barycentrics coordinates
A (0,0,1) B (1,0,0)
C (0,1,0)
P = (1-u-v )A+uB+vC
u
v
w
P
P = A = 1A + 0B +0C
P = B = 0A + 1B +0C
P = C = 0A + 0B +1C
Barycentric (u, v, (1-u-v ))
Triangle barycentrics coordinates
A (0,0,1) B (1,0,0)
C (0,1,0)
u
v
w
P
P = (1-u-v )A+uB+vC
Barycentric (u, v, (1-u-v ))
Raytracing New Shader functions
Raytracing New Shader functions
Raytracing techniques (AO)
Raytracing techniques (Shadows)
Raytracing techniques (Reflections)
Raytracing techniques (GI)
Raytracing Noise Challenge
Quake2 RTX
Raytracing Noise Challengue
Scattered rays Random.NextDouble(); White Noise
Raytracing Noise Challengue
White Noise Blue Noise
Raytracing Noise Challengue
White Noise
Gaussian Blur
Blue Noise
Gaussian Blur
Raytracing Noise Challengue
Random Points Stratified Sampling
(Jittering)
Raytracing Noise Challengue
Raytracing Noise Challengue
Raytracing Noise Challengue
Raytracing Noise Challengue
Uniform distribution Light distribution PDF distribution
Raytracing Denoiser
Quake 2 denoiser
Raytracing Denoiser
NVidia AI
Denoiser
RTX debuggers
Nowdays Raytracing is expensive
EA: Hybrid ray tracing in PICA PICA
Nowdays Raytracing is expensive
Deep Learning Super Sampling
Nowdays Raytracing is expensive
Deep Learning Super Sampling
Raytracing Books
THE END

More Related Content

PPTX
Conics
PDF
DOC
Exercícios
PPTX
Trigono
PPT
Electromagnetic fields
PDF
Escola naval 2015
PDF
Optimal Budget Allocation: Theoretical Guarantee and Efficient Algorithm
PPT
Magnetism slides
Conics
Exercícios
Trigono
Electromagnetic fields
Escola naval 2015
Optimal Budget Allocation: Theoretical Guarantee and Efficient Algorithm
Magnetism slides

What's hot (19)

PPT
Electricity slides
PDF
Formulario%20trigonometria%5 b1%5d
PPTX
Report in mathematics
DOCX
al husnain science education system jarpal. M.Nadeem Ashraf Math11th
PDF
On approximating the Riemannian 1-center
PDF
Tutorial no. 1.doc
PDF
Nonconvex Compressed Sensing with the Sum-of-Squares Method
PDF
Regret Minimization in Multi-objective Submodular Function Maximization
PPT
Presentation 2
PDF
Lect2 230708501
PDF
Corisco - 2015
PDF
Multicasting in Linear Deterministic Relay Network by Matrix Completion
PPT
Information security Seminar #7
PDF
The low-rank basis problem for a matrix subspace
PDF
Efficient Hill Climber for Multi-Objective Pseudo-Boolean Optimization
PPTX
Paso 3 trigonometria
PDF
Explicit Formula for Riemann Prime Counting Function
PDF
New day 5 examples
PDF
Lesson 5 Nov 3
Electricity slides
Formulario%20trigonometria%5 b1%5d
Report in mathematics
al husnain science education system jarpal. M.Nadeem Ashraf Math11th
On approximating the Riemannian 1-center
Tutorial no. 1.doc
Nonconvex Compressed Sensing with the Sum-of-Squares Method
Regret Minimization in Multi-objective Submodular Function Maximization
Presentation 2
Lect2 230708501
Corisco - 2015
Multicasting in Linear Deterministic Relay Network by Matrix Completion
Information security Seminar #7
The low-rank basis problem for a matrix subspace
Efficient Hill Climber for Multi-Objective Pseudo-Boolean Optimization
Paso 3 trigonometria
Explicit Formula for Riemann Prime Counting Function
New day 5 examples
Lesson 5 Nov 3
Ad

Similar to Raytracing Part II (10)

PPTX
Green Custard Friday Talk 17: Ray Tracing
PPTX
Real-time lightmap baking
PDF
【Unite Tokyo 2019】Unityでレイトレーシングしよう!レイトレーシング実装と最適化の解説
PDF
Practical Spherical Harmonics Based PRT Methods
PPTX
Cg shaders with Unity3D
PDF
Higher dimension raster 5d
PDF
NVIDIA effects GDC09
PDF
Volumetric Lighting for Many Lights in Lords of the Fallen
PPSX
Practical spherical harmonics based PRT methods.ppsx
PDF
Ray Tracing.pdf
Green Custard Friday Talk 17: Ray Tracing
Real-time lightmap baking
【Unite Tokyo 2019】Unityでレイトレーシングしよう!レイトレーシング実装と最適化の解説
Practical Spherical Harmonics Based PRT Methods
Cg shaders with Unity3D
Higher dimension raster 5d
NVIDIA effects GDC09
Volumetric Lighting for Many Lights in Lords of the Fallen
Practical spherical harmonics based PRT methods.ppsx
Ray Tracing.pdf
Ad

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Empathic Computing: Creating Shared Understanding
PDF
A comparative analysis of optical character recognition models for extracting...
PPT
Teaching material agriculture food technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Reach Out and Touch Someone: Haptics and Empathic Computing
Empathic Computing: Creating Shared Understanding
A comparative analysis of optical character recognition models for extracting...
Teaching material agriculture food technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
1. Introduction to Computer Programming.pptx
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
NewMind AI Weekly Chronicles - August'25-Week II
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Getting Started with Data Integration: FME Form 101
SOPHOS-XG Firewall Administrator PPT.pptx
Encapsulation_ Review paper, used for researhc scholars
Assigned Numbers - 2025 - Bluetooth® Document
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Accuracy of neural networks in brain wave diagnosis of schizophrenia

Raytracing Part II