SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Downloaden Sie, um offline zu lesen
Realizing Multi-Hit Ray Tracing
in Embree & OSPRay
Christiaan Gribble
SURVICE Engineering
Intel HPC Developer Conference
12 November 2016
Take-home messages
• Multi-hit ray traversal
Enables a new class of ray-based rendering &
simulation applications
• Embree permits efficient implementation
• OSPRay permits easy integration
2 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Take-home messages
• Multi-hit ray traversal
• Embree permits efficient implementation
Intersection filter functions enable user-level implementation
of state-of-the-art multi-hit ray traversal techniques
• OSPRay permits easy integration
3 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Take-home messages
• Multi-hit ray traversal
• Embree permits efficient implementation
• OSPRay permits easy integration
Supports scalable, high performance visual analysis tools
across optical & non-optical domains
4 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Acknowledgements
• SURVICE
• Joe Rosenthal
• Mark Butkiewicz
• Intel
• Jeff Amstutz
• Ingo Wald
• Jim Jeffers
5 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Overview
Interval computation
Optical rendering
7 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
Optical rendering
8 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
Optical rendering Non-optical rendering
9 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
Optical rendering Non-optical rendering
10 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Non-optical rendering
Interval computation
11 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Non-optical rendering
Interval computation
12 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Non-optical rendering Interval computation
Interval computation
13 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
• Difficult or impossible
• Epsilon hacks
• Missed/repeated intersections
• Performance impacts
14 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
• Difficult or impossible
• Performance impacts
• Traversal restart
• Operational overhead
15 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Interval computation
• Difficult or impossible
• Performance impacts
Is there a better solution?
16 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Multi-hit ray traversal
• Which primitives are intersected?
• One or more, & possibly all
• Ordered by t-value along ray
• Possible applications
• GNK14
• AGGW15
• Gri16, GWA16
17 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Multi-hit ray traversal
• Which primitives are intersected?
• Possible applications
• Transparent rendering
• Alpha textures
• GNK14
• AGGW15
• Gri16, GWA16
18 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Multi-hit ray traversal
• Which primitives are intersected?
• Possible applications
• GNK14
• Spatial partitioning
• Two algorithms: naive, buffered
• AGGW15
• Gri16, GWA16
19 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Multi-hit ray traversal
• Which primitives are intersected?
• Possible applications
• GNK14
• AGGW15
• Object partitioning
• User-level implementation mechanisms
• Gri16, GWA16
20 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Multi-hit ray traversal
• Which primitives are intersected?
• Possible applications
• GNK14
• AGGW15
• Gri16, GWA16
• Enable early-exit in BVH
• Implement in Embree & OSPRay
21 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Implementation
Mechanisms
• Direct implementation
• Kernels specific to multi-hit
• Runs counter to our goal
• Intersection callbacks
• Traversal callbacks
• Reference implementation
23 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Mechanisms
• Direct implementation
• Intersection callbacks
• Invoked on valid ray/primitive intersection
• User accepts/rejects hit
• Traversal callbacks
• Reference implementation
24 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Mechanisms
• Direct implementation
• Intersection callbacks
• Traversal callbacks
• Invoked on ray/node interaction
• Two variants: every-node, leaf-node
• Reference implementation
25 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Mechanisms
• Direct implementation
• Intersection callbacks
• Traversal callbacks
• Reference implementation
• Supports callback mechanisms
• Opts for clarity & simplicity
26 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
http://www.rtvtk.org/~cgribble/research/mhBVH/
Embree implementation
• Intersection filters
• Compatible with mainline developments
• v2.10.0+ – enables node-culling
• Assumptions
• Full source code available
27 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Embree implementation
• Intersection filters
• Assumptions
• Nquery known a priori
• Preallocated hit data buffer
• Initial value beyond range
• Full source code available
28 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Embree implementation
• Intersection filters
• Assumptions
• Full source code available
• Apache License, v2.0
• Public git repository
29 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
http://www.rtvtk.org/~cgribble/research/ospMultiHit/
Scalar implementation
static void collectIntersectionsFilter(void* /* unused */,
RTCRay& _ray)
{
0 // Find index at which to store candidate intersection
1 uint idx = Nquery;
2 while (idx > 0 && ray.tfar < hits[idx-1].tval)
3 {
4 hits[idx] = hits[idx-1];
5 --idx;
6 }
30 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Scalar implementation
7 // Store intersection, possibly beyond index of the
8 // N ≤ Nquery closest intersections (i.e., at
9 // idx = Nquery)
10 HitData& hit = hits[idx];
11 hit.geomID = ray.geomID;
12 hit.primID = ray.primID;
13 hit.tval = ray.tfar;
14 hit.Ng = ray.Ng;
15
16 // Update number of intersections identified so far
17 ray.nhits += (ray.nhits < Nquery ? 1 : 0);
31 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Scalar implementation
17 if (ray.nhits < Nquery)
18 {
19 // Reject intersection to continue traversal with
20 // incoming ray interval, as in previous work
21 // [Amstutz et al. 2015]
22 ray.geomID = RTC_INVALID_GEOMETRY_ID;
23 return;
24 }
32 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Scalar implementation
25 // Induce node culling
26 // Trick: set ray.tfar to farthest value among the
27 // N = Nquery intersections identified so far
28 // and (implicitly) accept intersection with
29 // modified ray interval
30 ray.tfar = hits[Nquery-1].tval;
31 }
33 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Results
Performance – tests
• Find-first-intersection
• First-hit v. multi-hit variants
• Isolates multi-hit overhead
• Find-all-intersections
• Find-some-intersections
35 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – tests
• Find-first-intersection
• Find-all-intersections
• Naive v. node culling multi-hit
• Bounds performance expectations
• Find-some-intersections
36 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – tests
• Find-first-intersection
• Find-all-intersections
• Find-some-intersections
• Naive v. node culling multi-hit
• Demonstrates in situ performance
37 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – scenes
sibe
80K tris
fair
174K tris
conf
282K tris
truck
426K tris
tank
1.0M tris
hball
2.8M tris
sanm
10.5M tris
pplant
12.7M tris
38 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – truck scene
0.0
20.0
40.0
60.0
80.0
100.0
120.0
140.0
10%1 30% 70% all
Mhps
+4.60x
+1.64x
+1.08x 0.96x 0.97x
naive culling
39 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – truck scene
0.0
20.0
40.0
60.0
80.0
100.0
120.0
140.0
10%1 30% 70% all
Mhps
+4.60x
+1.64x
+1.08x 0.96x 0.97x
naive culling
40 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Performance – truck scene
0.0
20.0
40.0
60.0
80.0
100.0
120.0
140.0
10%1 30% 70% all
Mhps
+4.60x
+1.64x
+1.08x 0.96x 0.97x
naive culling
41 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Limitations
• Number of hits specified a priori
• Too few – incorrect
• Too many – wasteful
• C++ templates?
• Ordered BVH traversal [WAB16]
• Spatial partitioning [GNK14]
42 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Limitations
• Number of hits specified a priori
• Ordered BVH traversal [WAB16]
• Enables early-exit
• No dynamic allocation
• Requires new traversal kernels
• Spatial partitioning [GNK14]
43 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Limitations
• Number of hits specified a priori
• Ordered BVH traversal [WAB16]
• Spatial partitioning [GNK14]
• Enables early-exit
• No dynamic allocation
• Requires user-defined geometry
44 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Demonstrations
Engineering CAD visualization Vulnerability analysis
45 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Wrap-up
Take-home messages
• Multi-hit ray traversal
Enables a new class of ray-based rendering &
simulation applications
• Embree permits efficient implementation
• OSPRay permits easy integration
47 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Take-home messages
• Multi-hit ray traversal
• Embree permits efficient implementation
Intersection filter functions enable user-level implementation
of state-of-the-art multi-hit ray traversal techniques
• OSPRay permits easy integration
48 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Take-home messages
• Multi-hit ray traversal
• Embree permits efficient implementation
• OSPRay permits easy integration
Supports scalable, high performance visual analysis tools
across optical & non-optical applications
49 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Key references
[AGGW15] Amstutz, J., Gribble, C., Gunther, J., & Wald, I. (2015) An evaluation of multi-hit
ray traversal in a BVH using existing first-hit/any-hit kernels. Journal
of Computer Graphics Techniques, 4(4):72—90.
[GNK14] Gribble, C., Naveros, A., & Kerzner, E. (2014) Multi-hit ray traversal. Journal of
Computer Graphics Techniques, 3(1):1—17.
[Gri16] Gribble, C. (2016) Node culling multi-hit BVH traversal. Eurographics Symposium
on Rendering. doi:10.2312/sre.20161213
[GWA16] Gribble, C., Wald, I., & Amstutz, J. (2016) Implementing node culling multi-hit
BVH traversal in Embree. Journal of Computer Graphics Techniques,
5(4):29—35.
50 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
Contact information
Address
Applied Technology Operation
SURVICE Engineering
4695 Millennium Drive
Belcamp, MD 21017
E-mail
christiaan.gribble@survice.com
Web
http://www.survice.com/employees/~cgribble/
51 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay

Weitere ähnliche Inhalte

Ähnlich wie Realizing milti-hit-ray

Lane detection by use of canny edge
Lane detection by use of canny edgeLane detection by use of canny edge
Lane detection by use of canny edgebanz23
 
150807 Fast R-CNN
150807 Fast R-CNN150807 Fast R-CNN
150807 Fast R-CNNJunho Cho
 
C-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUsC-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUsPandey_G
 
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...Edge AI and Vision Alliance
 
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVAEdge AI and Vision Alliance
 
Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)kike2005
 
RT15 Berkeley | ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...
RT15 Berkeley |  ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...RT15 Berkeley |  ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...
RT15 Berkeley | ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...OPAL-RT TECHNOLOGIES
 
Introductory Level of SLAM Seminar
Introductory Level of SLAM SeminarIntroductory Level of SLAM Seminar
Introductory Level of SLAM SeminarDong-Won Shin
 
Senior design final presentation master
Senior design final presentation masterSenior design final presentation master
Senior design final presentation mastercladd7294
 
Line Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsLine Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsParth Nandedkar
 
208114036 l aser guided robo
208114036 l aser guided robo208114036 l aser guided robo
208114036 l aser guided roboChiranjeevi Manda
 
Huawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopHuawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopnavaidkhan
 
Optical Modulation Analysis (OMA) Present and Future
Optical Modulation Analysis (OMA) Present and FutureOptical Modulation Analysis (OMA) Present and Future
Optical Modulation Analysis (OMA) Present and FutureCPqD
 

Ähnlich wie Realizing milti-hit-ray (20)

Lane detection by use of canny edge
Lane detection by use of canny edgeLane detection by use of canny edge
Lane detection by use of canny edge
 
150807 Fast R-CNN
150807 Fast R-CNN150807 Fast R-CNN
150807 Fast R-CNN
 
Low-cost infrared camera arrays for enhanced capabilities
Low-cost infrared camera arrays for enhanced capabilitiesLow-cost infrared camera arrays for enhanced capabilities
Low-cost infrared camera arrays for enhanced capabilities
 
C-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUsC-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUs
 
Arduino Autonomous Robot
Arduino Autonomous Robot Arduino Autonomous Robot
Arduino Autonomous Robot
 
Chainer v3
Chainer v3Chainer v3
Chainer v3
 
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...
“Develop Next-gen Camera Apps Using Snapdragon Computer Vision Technologies,”...
 
Kealy fidaforever
Kealy fidaforeverKealy fidaforever
Kealy fidaforever
 
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA
"Challenges in Object Detection on Embedded Devices," a Presentation from CEVA
 
Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)
 
PETEX 2018
PETEX 2018PETEX 2018
PETEX 2018
 
Sept2016 sv nabsys
Sept2016 sv nabsysSept2016 sv nabsys
Sept2016 sv nabsys
 
RT15 Berkeley | ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...
RT15 Berkeley |  ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...RT15 Berkeley |  ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...
RT15 Berkeley | ARTEMiS-SSN Features for Micro-grid / Renewable Energy Sourc...
 
Introductory Level of SLAM Seminar
Introductory Level of SLAM SeminarIntroductory Level of SLAM Seminar
Introductory Level of SLAM Seminar
 
Senior design final presentation master
Senior design final presentation masterSenior design final presentation master
Senior design final presentation master
 
Introduction to velocity model building
Introduction to velocity model buildingIntroduction to velocity model building
Introduction to velocity model building
 
Line Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and ApplicationsLine Detection in Computer Vision - Recent Developments and Applications
Line Detection in Computer Vision - Recent Developments and Applications
 
208114036 l aser guided robo
208114036 l aser guided robo208114036 l aser guided robo
208114036 l aser guided robo
 
Huawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shopHuawei - Access failures troubleshooting work shop
Huawei - Access failures troubleshooting work shop
 
Optical Modulation Analysis (OMA) Present and Future
Optical Modulation Analysis (OMA) Present and FutureOptical Modulation Analysis (OMA) Present and Future
Optical Modulation Analysis (OMA) Present and Future
 

Mehr von Intel® Software

AI for All: Biology is eating the world & AI is eating Biology
AI for All: Biology is eating the world & AI is eating Biology AI for All: Biology is eating the world & AI is eating Biology
AI for All: Biology is eating the world & AI is eating Biology Intel® Software
 
Python Data Science and Machine Learning at Scale with Intel and Anaconda
Python Data Science and Machine Learning at Scale with Intel and AnacondaPython Data Science and Machine Learning at Scale with Intel and Anaconda
Python Data Science and Machine Learning at Scale with Intel and AnacondaIntel® Software
 
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSci
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSciStreamline End-to-End AI Pipelines with Intel, Databricks, and OmniSci
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSciIntel® Software
 
AI for good: Scaling AI in science, healthcare, and more.
AI for good: Scaling AI in science, healthcare, and more.AI for good: Scaling AI in science, healthcare, and more.
AI for good: Scaling AI in science, healthcare, and more.Intel® Software
 
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...Intel® Software
 
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...Intel® Software
 
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...Intel® Software
 
AWS & Intel Webinar Series - Accelerating AI Research
AWS & Intel Webinar Series - Accelerating AI ResearchAWS & Intel Webinar Series - Accelerating AI Research
AWS & Intel Webinar Series - Accelerating AI ResearchIntel® Software
 
Intel AIDC Houston Summit - Overview Slides
Intel AIDC Houston Summit - Overview SlidesIntel AIDC Houston Summit - Overview Slides
Intel AIDC Houston Summit - Overview SlidesIntel® Software
 
AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019Intel® Software
 
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019Intel® Software
 
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...Intel® Software
 
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...Intel® Software
 
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...Intel® Software
 
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...Intel® Software
 
AIDC India - Intel Movidius / Open Vino Slides
AIDC India - Intel Movidius / Open Vino SlidesAIDC India - Intel Movidius / Open Vino Slides
AIDC India - Intel Movidius / Open Vino SlidesIntel® Software
 
AIDC India - AI Vision Slides
AIDC India - AI Vision SlidesAIDC India - AI Vision Slides
AIDC India - AI Vision SlidesIntel® Software
 
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...Intel® Software
 

Mehr von Intel® Software (20)

AI for All: Biology is eating the world & AI is eating Biology
AI for All: Biology is eating the world & AI is eating Biology AI for All: Biology is eating the world & AI is eating Biology
AI for All: Biology is eating the world & AI is eating Biology
 
Python Data Science and Machine Learning at Scale with Intel and Anaconda
Python Data Science and Machine Learning at Scale with Intel and AnacondaPython Data Science and Machine Learning at Scale with Intel and Anaconda
Python Data Science and Machine Learning at Scale with Intel and Anaconda
 
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSci
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSciStreamline End-to-End AI Pipelines with Intel, Databricks, and OmniSci
Streamline End-to-End AI Pipelines with Intel, Databricks, and OmniSci
 
AI for good: Scaling AI in science, healthcare, and more.
AI for good: Scaling AI in science, healthcare, and more.AI for good: Scaling AI in science, healthcare, and more.
AI for good: Scaling AI in science, healthcare, and more.
 
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...
Software AI Accelerators: The Next Frontier | Software for AI Optimization Su...
 
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...
Advanced Techniques to Accelerate Model Tuning | Software for AI Optimization...
 
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...
Reducing Deep Learning Integration Costs and Maximizing Compute Efficiency| S...
 
AWS & Intel Webinar Series - Accelerating AI Research
AWS & Intel Webinar Series - Accelerating AI ResearchAWS & Intel Webinar Series - Accelerating AI Research
AWS & Intel Webinar Series - Accelerating AI Research
 
Intel Developer Program
Intel Developer ProgramIntel Developer Program
Intel Developer Program
 
Intel AIDC Houston Summit - Overview Slides
Intel AIDC Houston Summit - Overview SlidesIntel AIDC Houston Summit - Overview Slides
Intel AIDC Houston Summit - Overview Slides
 
AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019
 
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019
AIDC NY: Applications of Intel AI by QuEST Global - 09.19.2019
 
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...
Advanced Single Instruction Multiple Data (SIMD) Programming with Intel® Impl...
 
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
Build a Deep Learning Video Analytics Framework | SIGGRAPH 2019 Technical Ses...
 
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...
Bring Intelligent Motion Using Reinforcement Learning Engines | SIGGRAPH 2019...
 
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...
RenderMan*: The Role of Open Shading Language (OSL) with Intel® Advanced Vect...
 
AIDC India - AI on IA
AIDC India  - AI on IAAIDC India  - AI on IA
AIDC India - AI on IA
 
AIDC India - Intel Movidius / Open Vino Slides
AIDC India - Intel Movidius / Open Vino SlidesAIDC India - Intel Movidius / Open Vino Slides
AIDC India - Intel Movidius / Open Vino Slides
 
AIDC India - AI Vision Slides
AIDC India - AI Vision SlidesAIDC India - AI Vision Slides
AIDC India - AI Vision Slides
 
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...
Enhance and Accelerate Your AI and Machine Learning Solution | SIGGRAPH 2019 ...
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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...Enterprise Knowledge
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
[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.pdfhans926745
 
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 Scriptwesley chun
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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 organizationRadu Cotescu
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
[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
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Realizing milti-hit-ray

  • 1. Realizing Multi-Hit Ray Tracing in Embree & OSPRay Christiaan Gribble SURVICE Engineering Intel HPC Developer Conference 12 November 2016
  • 2. Take-home messages • Multi-hit ray traversal Enables a new class of ray-based rendering & simulation applications • Embree permits efficient implementation • OSPRay permits easy integration 2 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 3. Take-home messages • Multi-hit ray traversal • Embree permits efficient implementation Intersection filter functions enable user-level implementation of state-of-the-art multi-hit ray traversal techniques • OSPRay permits easy integration 3 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 4. Take-home messages • Multi-hit ray traversal • Embree permits efficient implementation • OSPRay permits easy integration Supports scalable, high performance visual analysis tools across optical & non-optical domains 4 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 5. Acknowledgements • SURVICE • Joe Rosenthal • Mark Butkiewicz • Intel • Jeff Amstutz • Ingo Wald • Jim Jeffers 5 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 7. Interval computation Optical rendering 7 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 8. Interval computation Optical rendering 8 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 9. Interval computation Optical rendering Non-optical rendering 9 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 10. Interval computation Optical rendering Non-optical rendering 10 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 11. Non-optical rendering Interval computation 11 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 12. Non-optical rendering Interval computation 12 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 13. Non-optical rendering Interval computation Interval computation 13 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 14. Interval computation • Difficult or impossible • Epsilon hacks • Missed/repeated intersections • Performance impacts 14 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 15. Interval computation • Difficult or impossible • Performance impacts • Traversal restart • Operational overhead 15 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 16. Interval computation • Difficult or impossible • Performance impacts Is there a better solution? 16 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 17. Multi-hit ray traversal • Which primitives are intersected? • One or more, & possibly all • Ordered by t-value along ray • Possible applications • GNK14 • AGGW15 • Gri16, GWA16 17 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 18. Multi-hit ray traversal • Which primitives are intersected? • Possible applications • Transparent rendering • Alpha textures • GNK14 • AGGW15 • Gri16, GWA16 18 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 19. Multi-hit ray traversal • Which primitives are intersected? • Possible applications • GNK14 • Spatial partitioning • Two algorithms: naive, buffered • AGGW15 • Gri16, GWA16 19 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 20. Multi-hit ray traversal • Which primitives are intersected? • Possible applications • GNK14 • AGGW15 • Object partitioning • User-level implementation mechanisms • Gri16, GWA16 20 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 21. Multi-hit ray traversal • Which primitives are intersected? • Possible applications • GNK14 • AGGW15 • Gri16, GWA16 • Enable early-exit in BVH • Implement in Embree & OSPRay 21 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 23. Mechanisms • Direct implementation • Kernels specific to multi-hit • Runs counter to our goal • Intersection callbacks • Traversal callbacks • Reference implementation 23 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 24. Mechanisms • Direct implementation • Intersection callbacks • Invoked on valid ray/primitive intersection • User accepts/rejects hit • Traversal callbacks • Reference implementation 24 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 25. Mechanisms • Direct implementation • Intersection callbacks • Traversal callbacks • Invoked on ray/node interaction • Two variants: every-node, leaf-node • Reference implementation 25 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 26. Mechanisms • Direct implementation • Intersection callbacks • Traversal callbacks • Reference implementation • Supports callback mechanisms • Opts for clarity & simplicity 26 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay http://www.rtvtk.org/~cgribble/research/mhBVH/
  • 27. Embree implementation • Intersection filters • Compatible with mainline developments • v2.10.0+ – enables node-culling • Assumptions • Full source code available 27 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 28. Embree implementation • Intersection filters • Assumptions • Nquery known a priori • Preallocated hit data buffer • Initial value beyond range • Full source code available 28 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 29. Embree implementation • Intersection filters • Assumptions • Full source code available • Apache License, v2.0 • Public git repository 29 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay http://www.rtvtk.org/~cgribble/research/ospMultiHit/
  • 30. Scalar implementation static void collectIntersectionsFilter(void* /* unused */, RTCRay& _ray) { 0 // Find index at which to store candidate intersection 1 uint idx = Nquery; 2 while (idx > 0 && ray.tfar < hits[idx-1].tval) 3 { 4 hits[idx] = hits[idx-1]; 5 --idx; 6 } 30 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 31. Scalar implementation 7 // Store intersection, possibly beyond index of the 8 // N ≤ Nquery closest intersections (i.e., at 9 // idx = Nquery) 10 HitData& hit = hits[idx]; 11 hit.geomID = ray.geomID; 12 hit.primID = ray.primID; 13 hit.tval = ray.tfar; 14 hit.Ng = ray.Ng; 15 16 // Update number of intersections identified so far 17 ray.nhits += (ray.nhits < Nquery ? 1 : 0); 31 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 32. Scalar implementation 17 if (ray.nhits < Nquery) 18 { 19 // Reject intersection to continue traversal with 20 // incoming ray interval, as in previous work 21 // [Amstutz et al. 2015] 22 ray.geomID = RTC_INVALID_GEOMETRY_ID; 23 return; 24 } 32 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 33. Scalar implementation 25 // Induce node culling 26 // Trick: set ray.tfar to farthest value among the 27 // N = Nquery intersections identified so far 28 // and (implicitly) accept intersection with 29 // modified ray interval 30 ray.tfar = hits[Nquery-1].tval; 31 } 33 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 35. Performance – tests • Find-first-intersection • First-hit v. multi-hit variants • Isolates multi-hit overhead • Find-all-intersections • Find-some-intersections 35 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 36. Performance – tests • Find-first-intersection • Find-all-intersections • Naive v. node culling multi-hit • Bounds performance expectations • Find-some-intersections 36 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 37. Performance – tests • Find-first-intersection • Find-all-intersections • Find-some-intersections • Naive v. node culling multi-hit • Demonstrates in situ performance 37 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 38. Performance – scenes sibe 80K tris fair 174K tris conf 282K tris truck 426K tris tank 1.0M tris hball 2.8M tris sanm 10.5M tris pplant 12.7M tris 38 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 39. Performance – truck scene 0.0 20.0 40.0 60.0 80.0 100.0 120.0 140.0 10%1 30% 70% all Mhps +4.60x +1.64x +1.08x 0.96x 0.97x naive culling 39 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 40. Performance – truck scene 0.0 20.0 40.0 60.0 80.0 100.0 120.0 140.0 10%1 30% 70% all Mhps +4.60x +1.64x +1.08x 0.96x 0.97x naive culling 40 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 41. Performance – truck scene 0.0 20.0 40.0 60.0 80.0 100.0 120.0 140.0 10%1 30% 70% all Mhps +4.60x +1.64x +1.08x 0.96x 0.97x naive culling 41 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 42. Limitations • Number of hits specified a priori • Too few – incorrect • Too many – wasteful • C++ templates? • Ordered BVH traversal [WAB16] • Spatial partitioning [GNK14] 42 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 43. Limitations • Number of hits specified a priori • Ordered BVH traversal [WAB16] • Enables early-exit • No dynamic allocation • Requires new traversal kernels • Spatial partitioning [GNK14] 43 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 44. Limitations • Number of hits specified a priori • Ordered BVH traversal [WAB16] • Spatial partitioning [GNK14] • Enables early-exit • No dynamic allocation • Requires user-defined geometry 44 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 45. Demonstrations Engineering CAD visualization Vulnerability analysis 45 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 47. Take-home messages • Multi-hit ray traversal Enables a new class of ray-based rendering & simulation applications • Embree permits efficient implementation • OSPRay permits easy integration 47 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 48. Take-home messages • Multi-hit ray traversal • Embree permits efficient implementation Intersection filter functions enable user-level implementation of state-of-the-art multi-hit ray traversal techniques • OSPRay permits easy integration 48 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 49. Take-home messages • Multi-hit ray traversal • Embree permits efficient implementation • OSPRay permits easy integration Supports scalable, high performance visual analysis tools across optical & non-optical applications 49 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 50. Key references [AGGW15] Amstutz, J., Gribble, C., Gunther, J., & Wald, I. (2015) An evaluation of multi-hit ray traversal in a BVH using existing first-hit/any-hit kernels. Journal of Computer Graphics Techniques, 4(4):72—90. [GNK14] Gribble, C., Naveros, A., & Kerzner, E. (2014) Multi-hit ray traversal. Journal of Computer Graphics Techniques, 3(1):1—17. [Gri16] Gribble, C. (2016) Node culling multi-hit BVH traversal. Eurographics Symposium on Rendering. doi:10.2312/sre.20161213 [GWA16] Gribble, C., Wald, I., & Amstutz, J. (2016) Implementing node culling multi-hit BVH traversal in Embree. Journal of Computer Graphics Techniques, 5(4):29—35. 50 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay
  • 51. Contact information Address Applied Technology Operation SURVICE Engineering 4695 Millennium Drive Belcamp, MD 21017 E-mail christiaan.gribble@survice.com Web http://www.survice.com/employees/~cgribble/ 51 C. Gribble, Realizing Multi-Hit Ray Tracing in Embree & OSPRay