SlideShare una empresa de Scribd logo
High Performance Graphics 2013 - 8/21/13
Out-Of-Core Construction
of Sparse Voxel Octrees
Jeroen Baert, Ares Lagae
& Philip Dutré
Computer Graphics Group, KU Leuven, Belgium
Out-Of-Core Construction of Sparse Voxel Octrees 2 / 34
Voxel-related research
● Voxel Ray Casting
– Gigavoxels (Crassin, 2009-...)
– Efficient SVO's (Laine, Karras, 2010)
● Voxel Cone Tracing
– Indirect Illumination (Crassin, 2011)
● Voxel-based Visibility
– Voxelized Shadow Volumes
(Wyman, 2013, later today!)
● ...
Crassin2009
Laine/Karras2010
Crassin2011
Out-Of-Core Construction of Sparse Voxel Octrees 3 / 34
Why voxels?
● Regular structure
● Hierarchical representation in
Sparse Voxel Octrees (SVO's)
– Level of Detail / Filtering
● Generic representation for
geometry and appearance
– In a single data structure
CreativeCommons–Wikipedia
Out-Of-Core Construction of Sparse Voxel Octrees 4 / 34
Polygon mesh to SVO
● We want large, highly
detailed SVO scenes
● Where do we find
content?
● Let's voxelize massive
polygon meshes
– Majority of current
content pipelines is
polygon-based
Out-Of-Core Construction of Sparse Voxel Octrees 5 / 34
What do we want?
● Algorithm requirements:
– Need an out-of-core method
● Because polygon mesh &
intermediary structures could be >> system memory
– Data should be streamed in/out
● from disk / network / other process
– Ideally: out-of-core as fast as in-core
Algorithm
Polygon Mesh Sparse Voxel Octree
Out-Of-Core Construction of Sparse Voxel Octrees 6 / 34
Pipeline construction (1)
● Voxelization step
– Polygon mesh → Voxel grid
● Followed by SVO construction step
– Voxel grid → Sparse Voxel Octree
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Out-Of-Core Construction of Sparse Voxel Octrees 7 / 34
Pipeline construction (2)
● Key insight:
– If voxel grid is Morton-ordered
– SVO construction can be done out-of-core
● Logarithmic in memory usage ~ octree size
● In a streaming manner
– So voxelization step should deliver ordered voxels
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Out-Of-Core Construction of Sparse Voxel Octrees 8 / 34
Pipeline construction (3)
● High-resolution 3D voxel grid may be >>
system memory
– So partitioning step (into subgrids) is needed
– Seperate triangle streams for each subgrid
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Partitioning
Mesh
Parts
Out-Of-Core Construction of Sparse Voxel Octrees 9 / 34
Final Pipeline
● Now, every step in detail ...
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Partitioning
Mesh
Parts
Out-Of-Core Construction of Sparse Voxel Octrees 10 / 34
Morton order / Z-order
● Linearization of n-dimensional grid
– Post-order depth-first traversal of 2
n
-tree
● Space-filling curve, Z-shaped
Out-Of-Core Construction of Sparse Voxel Octrees 11 / 34
Morton order / Z-order
● Hierarchical in nature
● Cell at position (x,y)
→ Morton code
– Efficiently computed
– (x,y,z) = (5,9,1)
→ (0101,1001,0001)
→ 010001000111
→ 1095th
cell along Z-curve
Out-Of-Core Construction of Sparse Voxel Octrees 12 / 34
Partitioning subprocess
● Partitioning (1 linear pass)
– Into power-of-2 subgrids until it fits in memory
– Subgrids temporarily stored on disk
– Subgrids correspond to contiguous range in Morton
order
● If we voxelize subgrids in Morton order, output
will be Morton-ordered
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Partitioning
Mesh
Parts
Out-Of-Core Construction of Sparse Voxel Octrees 13 / 34
Voxelization subprocess (1)
● Voxelize each subgrid in Morton order
– Input: Subgrid triangle stream
● Each triangle voxelized independently
– Output: Morton codes of non-empty cells
● Typically, majority of grid is empty
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Partitioning
Mesh
Parts
Out-Of-Core Construction of Sparse Voxel Octrees 14 / 34
Voxelization subprocess (2)
● We use a simple voxelization method
– But any method that works one triangle at a time
will do
111011010100
101111010111
...
HuangetAl.
Morton codes of non-empty cells
Out-Of-Core Construction of Sparse Voxel Octrees 15 / 34
Out-of-core SVO Construction
● Input: Morton-ordered voxel grid
● Output: SVO nodes + referenced dataevel
Morton code
Voxelization
Polygon Mesh Sparse Voxel Octree
SVO
Construction
Morton
Ordered
Grid
Partitioning
Mesh
Parts
Out-Of-Core Construction of Sparse Voxel Octrees 16 / 34
SVO Construction algorithm in 2D
0
0 3...
1
4 7...
2
8 11...
3
12 15...
●
Required: queues of 2
d
nodes / octree level
– Ex: 20483
grid → 11 * 8 octree nodes-l
Octree representationSVO Builder queues
Input
position
In Memory / On-disk
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Out-Of-Core Construction of Sparse Voxel Octrees 17 / 34
SVO Construction algorithm in 2D
● Read Morton codes 0 → 3 (+ voxel data)
– Store them in level 2 queue
– Level 2 queue = full
0 3
Octree representationSVO Builder queues
0 1 2 3
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Out-Of-Core Construction of Sparse Voxel Octrees 18 / 34
SVO Construction algorithm in 2D
● Create internal parent node
– With level 1 Morton code 0
– Store parent-child relations
– Write non-empty level 2 nodes to disk+clear level 2
Octree representationSVO Builder queues
0 1 2 3
0 0
0 3
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Out-Of-Core Construction of Sparse Voxel Octrees 19 / 34
SVO Construction algorithm in 2D
● Read Morton codes 4 → 7 (+ voxel data)
– Store them in level 2 queue
Octree representationSVO Builder queues
4 5 6 7
0 0
0 3 4 7...
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Out-Of-Core Construction of Sparse Voxel Octrees 20 / 34
SVO Construction algorithm in 2D
● Create internal parent node
– With level 1 Morton code 1
– Store parent-child relations (there are none)
– Write non-empty level 2 nodes to disk+clear level 2
Octree representationSVO Builder queues
4 5 6 7
0 1 0
0 3...
1
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
4 7...
Out-Of-Core Construction of Sparse Voxel Octrees 21 / 34
SVO Construction algorithm in 2D
● Same for Morton codes 8 → 11
Octree representationSVO Builder queues
0 1 0
0 3
1 2
9
2
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Out-Of-Core Construction of Sparse Voxel Octrees 22 / 34
SVO Construction algorithm in 2D
● Same for Morton codes 12 → 15
Octree representationSVO Builder queues
0 1 2 3 3
12 15...
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
0 3
1 2
9
Out-Of-Core Construction of Sparse Voxel Octrees 23 / 34
SVO Construction algorithm in 2D
● Now level 1 is full
– Create parent node (root node)
– Store parent-child relations
– Write non-empty level 1 nodes to disk+clear level 1
Octree representationSVO Builder queues
0 1 2 3
R
R
... ...
Level 0
Level 1
Level 2
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
3
12 15...
0
0 3
2
9
1
Out-Of-Core Construction of Sparse Voxel Octrees 24 / 34
SVO Construction: optimization
● Lots of processing time for empty nodes
– Sparseness = typical for high-res voxelized meshes
● Insight for optimization
– Pushing back 2
d
empty nodes
in a queue at level n
= Pushing back 1 empty
node at level n-1
n-1
n
...
SVO Builder queues
Out-Of-Core Construction of Sparse Voxel Octrees 25 / 34
SVO Construction: optimization
● Implementation details in paper
● Optimization exploits sparseness of voxelized
meshes
● Speedup: two orders of magnitude
– Building SVO from grid:
● David: 471 vs 0.55 seconds
● San Miguel: 453 vs 1.69 seconds
Out-Of-Core Construction of Sparse Voxel Octrees 26 / 34
Results: Tests
●
Resolution: 2048
3
● Memory limits
– 8 Gb (in-core)
– 1 Gb (out-of-core)
– 128 Mb (out-of-core)
● Models
– David (8.25 M polys)
– San Marco (7.88 M polys)
– XYZRGB Dragon (7.2 M polys)
Out-Of-Core Construction of Sparse Voxel Octrees 27 / 34
Results: Out-Of-Core performance
● Out-Of-Core method = ~ as fast as In-Core
– Even when available memory is 1/64
Out-Of-Core Construction of Sparse Voxel Octrees 28 / 34
Results: Time breakdown
● Partitioning speedup from skipping empty space
Out-Of-Core Construction of Sparse Voxel Octrees 29 / 34
Results: Extremely large models
●
4096
3
– In-core: 64 Gb
● Atlas model
– 17.42 Gb, 507 M tris
– < 11 min at 1 Gb
● St. Matthew model
– 13.1 Gb, 372 M tris
– < 9 min at 1 Gb
Out-Of-Core Construction of Sparse Voxel Octrees 30 / 34
Results: SVO Construction
● SVO output stream
– Good locality of reference
● Nonempty siblings on same level always stored next to
each other
– Nodes separated from data itself (separation
hot/cold data)
● Using data pointers + offsets as reference
Out-Of-Core Construction of Sparse Voxel Octrees 31 / 34
Appearance
● Pipeline: binary voxelization
● Extend with appearance data?
– Interpolate vertex attributes
(color, normals, tex)
– Propagate appearance
data upwards
● Global data access ↔ Out-Of-Core algorithms
– Multi-pass approach
DecreasingSVOlevel
Out-Of-Core Construction of Sparse Voxel Octrees 32 / 34
Conclusion
● Voxelization and SVO construction algorithm
– Out-of-core as fast as in-core
– Support for extremely large meshes
● Future work
– Combine with GPU method to speed up
voxelization
– Handle global appearance data
Out-Of-Core Construction of Sparse Voxel Octrees 33 / 34
Thanks!
● Source code / binaries
will be available at project
page
● Contact
– jeroen.baert @ cs.kuleuven.be
– @jbaert
● Acknowledgements:
– Jeroen Baert funded by Agency for Innovation by
Science and Technology in Flanders (IWT), Ares Lagae
is a Postdoctoral Fellow of the Research Foundation –
Flanders (FWO), David / Atlas / St. Matthew models :
Digital Michelangelo project, San Miguel model :
Guillermo M. Leal Llaguno (Evolucien VIsual)
Out-Of-Core Construction of Sparse Voxel Octrees 34 / 34

Más contenido relacionado

La actualidad más candente

Solutions manual for optoelectronics and photonics principles and practices 2...
Solutions manual for optoelectronics and photonics principles and practices 2...Solutions manual for optoelectronics and photonics principles and practices 2...
Solutions manual for optoelectronics and photonics principles and practices 2...Kreitner5687
 
Timing closure document
Timing closure documentTiming closure document
Timing closure documentAlan Tran
 
Timing and Design Closure in Physical Design Flows
Timing and Design Closure in Physical Design Flows Timing and Design Closure in Physical Design Flows
Timing and Design Closure in Physical Design Flows Olivier Coudert
 
Clock Tree Timing 101
Clock Tree Timing 101Clock Tree Timing 101
Clock Tree Timing 101Silicon Labs
 
Custom SRP and graphics workflows - Unite Copenhagen 2019
Custom SRP and graphics workflows - Unite Copenhagen 2019Custom SRP and graphics workflows - Unite Copenhagen 2019
Custom SRP and graphics workflows - Unite Copenhagen 2019Unity Technologies
 
Real-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesReal-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesJangho Lee
 
射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配Simen Li
 

La actualidad más candente (14)

Solutions manual for optoelectronics and photonics principles and practices 2...
Solutions manual for optoelectronics and photonics principles and practices 2...Solutions manual for optoelectronics and photonics principles and practices 2...
Solutions manual for optoelectronics and photonics principles and practices 2...
 
Chapter 04 is
Chapter 04 isChapter 04 is
Chapter 04 is
 
Timing closure document
Timing closure documentTiming closure document
Timing closure document
 
Timing and Design Closure in Physical Design Flows
Timing and Design Closure in Physical Design Flows Timing and Design Closure in Physical Design Flows
Timing and Design Closure in Physical Design Flows
 
Static_Time_Analysis.pptx
Static_Time_Analysis.pptxStatic_Time_Analysis.pptx
Static_Time_Analysis.pptx
 
Mentor vlsi lab btech_4_1
Mentor vlsi lab btech_4_1Mentor vlsi lab btech_4_1
Mentor vlsi lab btech_4_1
 
Clock Tree Timing 101
Clock Tree Timing 101Clock Tree Timing 101
Clock Tree Timing 101
 
Custom SRP and graphics workflows - Unite Copenhagen 2019
Custom SRP and graphics workflows - Unite Copenhagen 2019Custom SRP and graphics workflows - Unite Copenhagen 2019
Custom SRP and graphics workflows - Unite Copenhagen 2019
 
Design Verification
Design VerificationDesign Verification
Design Verification
 
Routing.pdf
Routing.pdfRouting.pdf
Routing.pdf
 
Real-Time Global Illumination Techniques
Real-Time Global Illumination TechniquesReal-Time Global Illumination Techniques
Real-Time Global Illumination Techniques
 
16f84a datasheet
16f84a   datasheet16f84a   datasheet
16f84a datasheet
 
Clock Tree Synthesis.pdf
Clock Tree Synthesis.pdfClock Tree Synthesis.pdf
Clock Tree Synthesis.pdf
 
射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配射頻電子 - [第三章] 史密斯圖與阻抗匹配
射頻電子 - [第三章] 史密斯圖與阻抗匹配
 

Destacado

Modelagem em Octree
Modelagem em OctreeModelagem em Octree
Modelagem em OctreeErasmo Artur
 
CS 354 Acceleration Structures
CS 354 Acceleration StructuresCS 354 Acceleration Structures
CS 354 Acceleration StructuresMark Kilgard
 
Techniques for Improving Element Bandwidth
Techniques for Improving Element BandwidthTechniques for Improving Element Bandwidth
Techniques for Improving Element Bandwidthashish patil
 
Electromagnetic induction (2)
Electromagnetic induction (2)Electromagnetic induction (2)
Electromagnetic induction (2)mrmeredith
 
Determination of the transient open circuit time constant
Determination of the transient open circuit time constantDetermination of the transient open circuit time constant
Determination of the transient open circuit time constantDonald Stephen
 
3.8 the 1931 cie s ystem
3.8 the 1931 cie s ystem3.8 the 1931 cie s ystem
3.8 the 1931 cie s ystemQC Labs
 
Faraday's law 333
Faraday's law 333Faraday's law 333
Faraday's law 333zonesid
 
Significant Figures
Significant FiguresSignificant Figures
Significant Figurescrespiryan
 
Medical physics slide show
Medical physics slide showMedical physics slide show
Medical physics slide showNengah Surata
 
Medical applications of nuclear physics
Medical applications of nuclear physicsMedical applications of nuclear physics
Medical applications of nuclear physicsRad Tech
 
AC & DC Generators
AC & DC GeneratorsAC & DC Generators
AC & DC GeneratorsAfrah Aamer
 
NVIDIA OpenGL in 2016
NVIDIA OpenGL in 2016NVIDIA OpenGL in 2016
NVIDIA OpenGL in 2016Mark Kilgard
 
Mechanical sensor
Mechanical sensorMechanical sensor
Mechanical sensorB.k. Das
 
Magnetic field sensing
Magnetic field sensingMagnetic field sensing
Magnetic field sensingZaahir Salam
 
Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Self-employed
 

Destacado (20)

Modelagem em Octree
Modelagem em OctreeModelagem em Octree
Modelagem em Octree
 
CS 354 Acceleration Structures
CS 354 Acceleration StructuresCS 354 Acceleration Structures
CS 354 Acceleration Structures
 
Shahid
ShahidShahid
Shahid
 
Techniques for Improving Element Bandwidth
Techniques for Improving Element BandwidthTechniques for Improving Element Bandwidth
Techniques for Improving Element Bandwidth
 
Electromagnetic induction (2)
Electromagnetic induction (2)Electromagnetic induction (2)
Electromagnetic induction (2)
 
Determination of the transient open circuit time constant
Determination of the transient open circuit time constantDetermination of the transient open circuit time constant
Determination of the transient open circuit time constant
 
3.8 the 1931 cie s ystem
3.8 the 1931 cie s ystem3.8 the 1931 cie s ystem
3.8 the 1931 cie s ystem
 
Ch10 ln
Ch10 lnCh10 ln
Ch10 ln
 
Faraday's law 333
Faraday's law 333Faraday's law 333
Faraday's law 333
 
Felwyrld Tech
Felwyrld TechFelwyrld Tech
Felwyrld Tech
 
Significant Figures
Significant FiguresSignificant Figures
Significant Figures
 
CAT
CATCAT
CAT
 
Medical physics slide show
Medical physics slide showMedical physics slide show
Medical physics slide show
 
Medical applications of nuclear physics
Medical applications of nuclear physicsMedical applications of nuclear physics
Medical applications of nuclear physics
 
AC & DC Generators
AC & DC GeneratorsAC & DC Generators
AC & DC Generators
 
NVIDIA OpenGL in 2016
NVIDIA OpenGL in 2016NVIDIA OpenGL in 2016
NVIDIA OpenGL in 2016
 
Mechanical sensor
Mechanical sensorMechanical sensor
Mechanical sensor
 
Physics (significant figures)
Physics (significant figures)Physics (significant figures)
Physics (significant figures)
 
Magnetic field sensing
Magnetic field sensingMagnetic field sensing
Magnetic field sensing
 
Electromagnetic Induction Class 12
Electromagnetic Induction Class 12 Electromagnetic Induction Class 12
Electromagnetic Induction Class 12
 

Similar a Out-of-Core Construction of Sparse Voxel Octrees

Demystifying Datacenter Clos
Demystifying Datacenter ClosDemystifying Datacenter Clos
Demystifying Datacenter ClosONeilRobinson2
 
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14AMD Developer Central
 
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsExtending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsStefano Salsano
 
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法深層学習フレームワークにおけるIntel CPU/富岳向け最適化法
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法MITSUNARI Shigeo
 
Ovn vancouver
Ovn vancouverOvn vancouver
Ovn vancouverMason Mei
 
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptx
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptxشرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptx
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptxِِِAhmed R. A. Shamsan
 
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptxNibrasulIslam
 
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...Stefano Salsano
 
Hong kongopenstack2013 sdn_bluehost
Hong kongopenstack2013 sdn_bluehostHong kongopenstack2013 sdn_bluehost
Hong kongopenstack2013 sdn_bluehostJun Park
 
Transforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachTransforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachFerdin Joe John Joseph PhD
 
Seq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) modelSeq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) model佳蓉 倪
 
1st slide VLSI.pdf
1st slide VLSI.pdf1st slide VLSI.pdf
1st slide VLSI.pdfmisbahmridul
 
VIO on Cisco UCS and Network
VIO on Cisco UCS and NetworkVIO on Cisco UCS and Network
VIO on Cisco UCS and NetworkYousef Morcos
 
EBtree - Design for a Scheduler and Use (Almost) Everywhere
EBtree - Design for a Scheduler and Use (Almost) EverywhereEBtree - Design for a Scheduler and Use (Almost) Everywhere
EBtree - Design for a Scheduler and Use (Almost) EverywhereC4Media
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep diveTrinath Somanchi
 
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...OpenEBS
 
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...Sergey Karayev
 
Introduction to nexux from zero to Hero
Introduction to nexux  from zero to HeroIntroduction to nexux  from zero to Hero
Introduction to nexux from zero to HeroDhruv Sharma
 

Similar a Out-of-Core Construction of Sparse Voxel Octrees (20)

Demystifying Datacenter Clos
Demystifying Datacenter ClosDemystifying Datacenter Clos
Demystifying Datacenter Clos
 
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
 
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support UnikernelsExtending ETSI VNF descriptors and OpenVIM to support Unikernels
Extending ETSI VNF descriptors and OpenVIM to support Unikernels
 
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法深層学習フレームワークにおけるIntel CPU/富岳向け最適化法
深層学習フレームワークにおけるIntel CPU/富岳向け最適化法
 
Ovn vancouver
Ovn vancouverOvn vancouver
Ovn vancouver
 
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptx
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptxشرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptx
شرح تفصيلي لهندسة YOLOv8 - انهيار كامل.pptx
 
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx
15_NEW-2020-ATTENTION-ENC-DEC-TRANSFORMERS-Lect15.pptx
 
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
 
Hong kongopenstack2013 sdn_bluehost
Hong kongopenstack2013 sdn_bluehostHong kongopenstack2013 sdn_bluehost
Hong kongopenstack2013 sdn_bluehost
 
Transforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approachTransforming deep into transformers – a computer vision approach
Transforming deep into transformers – a computer vision approach
 
Seq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) modelSeq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) model
 
1st slide VLSI.pdf
1st slide VLSI.pdf1st slide VLSI.pdf
1st slide VLSI.pdf
 
PD_Tcl_Examples
PD_Tcl_ExamplesPD_Tcl_Examples
PD_Tcl_Examples
 
VIO on Cisco UCS and Network
VIO on Cisco UCS and NetworkVIO on Cisco UCS and Network
VIO on Cisco UCS and Network
 
EBtree - Design for a Scheduler and Use (Almost) Everywhere
EBtree - Design for a Scheduler and Use (Almost) EverywhereEBtree - Design for a Scheduler and Use (Almost) Everywhere
EBtree - Design for a Scheduler and Use (Almost) Everywhere
 
OVN - Basics and deep dive
OVN - Basics and deep diveOVN - Basics and deep dive
OVN - Basics and deep dive
 
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
Container Attached Storage (CAS) with OpenEBS - Berlin Kubernetes Meetup - Ma...
 
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...
Lecture 2.B: Computer Vision Applications - Full Stack Deep Learning - Spring...
 
Cisco nx os
Cisco nx os Cisco nx os
Cisco nx os
 
Introduction to nexux from zero to Hero
Introduction to nexux  from zero to HeroIntroduction to nexux  from zero to Hero
Introduction to nexux from zero to Hero
 

Último

UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Intelligent Gimbal FINAL PAPER Engineering.pdf
Intelligent Gimbal FINAL PAPER Engineering.pdfIntelligent Gimbal FINAL PAPER Engineering.pdf
Intelligent Gimbal FINAL PAPER Engineering.pdfAnthony Lucente
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyUXDXConf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaRTTS
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyUXDXConf
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 

Último (20)

UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Intelligent Gimbal FINAL PAPER Engineering.pdf
Intelligent Gimbal FINAL PAPER Engineering.pdfIntelligent Gimbal FINAL PAPER Engineering.pdf
Intelligent Gimbal FINAL PAPER Engineering.pdf
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in Technology
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 

Out-of-Core Construction of Sparse Voxel Octrees

  • 1. High Performance Graphics 2013 - 8/21/13 Out-Of-Core Construction of Sparse Voxel Octrees Jeroen Baert, Ares Lagae & Philip Dutré Computer Graphics Group, KU Leuven, Belgium
  • 2. Out-Of-Core Construction of Sparse Voxel Octrees 2 / 34 Voxel-related research ● Voxel Ray Casting – Gigavoxels (Crassin, 2009-...) – Efficient SVO's (Laine, Karras, 2010) ● Voxel Cone Tracing – Indirect Illumination (Crassin, 2011) ● Voxel-based Visibility – Voxelized Shadow Volumes (Wyman, 2013, later today!) ● ... Crassin2009 Laine/Karras2010 Crassin2011
  • 3. Out-Of-Core Construction of Sparse Voxel Octrees 3 / 34 Why voxels? ● Regular structure ● Hierarchical representation in Sparse Voxel Octrees (SVO's) – Level of Detail / Filtering ● Generic representation for geometry and appearance – In a single data structure CreativeCommons–Wikipedia
  • 4. Out-Of-Core Construction of Sparse Voxel Octrees 4 / 34 Polygon mesh to SVO ● We want large, highly detailed SVO scenes ● Where do we find content? ● Let's voxelize massive polygon meshes – Majority of current content pipelines is polygon-based
  • 5. Out-Of-Core Construction of Sparse Voxel Octrees 5 / 34 What do we want? ● Algorithm requirements: – Need an out-of-core method ● Because polygon mesh & intermediary structures could be >> system memory – Data should be streamed in/out ● from disk / network / other process – Ideally: out-of-core as fast as in-core Algorithm Polygon Mesh Sparse Voxel Octree
  • 6. Out-Of-Core Construction of Sparse Voxel Octrees 6 / 34 Pipeline construction (1) ● Voxelization step – Polygon mesh → Voxel grid ● Followed by SVO construction step – Voxel grid → Sparse Voxel Octree Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction
  • 7. Out-Of-Core Construction of Sparse Voxel Octrees 7 / 34 Pipeline construction (2) ● Key insight: – If voxel grid is Morton-ordered – SVO construction can be done out-of-core ● Logarithmic in memory usage ~ octree size ● In a streaming manner – So voxelization step should deliver ordered voxels Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid
  • 8. Out-Of-Core Construction of Sparse Voxel Octrees 8 / 34 Pipeline construction (3) ● High-resolution 3D voxel grid may be >> system memory – So partitioning step (into subgrids) is needed – Seperate triangle streams for each subgrid Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid Partitioning Mesh Parts
  • 9. Out-Of-Core Construction of Sparse Voxel Octrees 9 / 34 Final Pipeline ● Now, every step in detail ... Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid Partitioning Mesh Parts
  • 10. Out-Of-Core Construction of Sparse Voxel Octrees 10 / 34 Morton order / Z-order ● Linearization of n-dimensional grid – Post-order depth-first traversal of 2 n -tree ● Space-filling curve, Z-shaped
  • 11. Out-Of-Core Construction of Sparse Voxel Octrees 11 / 34 Morton order / Z-order ● Hierarchical in nature ● Cell at position (x,y) → Morton code – Efficiently computed – (x,y,z) = (5,9,1) → (0101,1001,0001) → 010001000111 → 1095th cell along Z-curve
  • 12. Out-Of-Core Construction of Sparse Voxel Octrees 12 / 34 Partitioning subprocess ● Partitioning (1 linear pass) – Into power-of-2 subgrids until it fits in memory – Subgrids temporarily stored on disk – Subgrids correspond to contiguous range in Morton order ● If we voxelize subgrids in Morton order, output will be Morton-ordered Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid Partitioning Mesh Parts
  • 13. Out-Of-Core Construction of Sparse Voxel Octrees 13 / 34 Voxelization subprocess (1) ● Voxelize each subgrid in Morton order – Input: Subgrid triangle stream ● Each triangle voxelized independently – Output: Morton codes of non-empty cells ● Typically, majority of grid is empty Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid Partitioning Mesh Parts
  • 14. Out-Of-Core Construction of Sparse Voxel Octrees 14 / 34 Voxelization subprocess (2) ● We use a simple voxelization method – But any method that works one triangle at a time will do 111011010100 101111010111 ... HuangetAl. Morton codes of non-empty cells
  • 15. Out-Of-Core Construction of Sparse Voxel Octrees 15 / 34 Out-of-core SVO Construction ● Input: Morton-ordered voxel grid ● Output: SVO nodes + referenced dataevel Morton code Voxelization Polygon Mesh Sparse Voxel Octree SVO Construction Morton Ordered Grid Partitioning Mesh Parts
  • 16. Out-Of-Core Construction of Sparse Voxel Octrees 16 / 34 SVO Construction algorithm in 2D 0 0 3... 1 4 7... 2 8 11... 3 12 15... ● Required: queues of 2 d nodes / octree level – Ex: 20483 grid → 11 * 8 octree nodes-l Octree representationSVO Builder queues Input position In Memory / On-disk Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 17. Out-Of-Core Construction of Sparse Voxel Octrees 17 / 34 SVO Construction algorithm in 2D ● Read Morton codes 0 → 3 (+ voxel data) – Store them in level 2 queue – Level 2 queue = full 0 3 Octree representationSVO Builder queues 0 1 2 3 Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 18. Out-Of-Core Construction of Sparse Voxel Octrees 18 / 34 SVO Construction algorithm in 2D ● Create internal parent node – With level 1 Morton code 0 – Store parent-child relations – Write non-empty level 2 nodes to disk+clear level 2 Octree representationSVO Builder queues 0 1 2 3 0 0 0 3 Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 19. Out-Of-Core Construction of Sparse Voxel Octrees 19 / 34 SVO Construction algorithm in 2D ● Read Morton codes 4 → 7 (+ voxel data) – Store them in level 2 queue Octree representationSVO Builder queues 4 5 6 7 0 0 0 3 4 7... Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 20. Out-Of-Core Construction of Sparse Voxel Octrees 20 / 34 SVO Construction algorithm in 2D ● Create internal parent node – With level 1 Morton code 1 – Store parent-child relations (there are none) – Write non-empty level 2 nodes to disk+clear level 2 Octree representationSVO Builder queues 4 5 6 7 0 1 0 0 3... 1 Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 7...
  • 21. Out-Of-Core Construction of Sparse Voxel Octrees 21 / 34 SVO Construction algorithm in 2D ● Same for Morton codes 8 → 11 Octree representationSVO Builder queues 0 1 0 0 3 1 2 9 2 Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  • 22. Out-Of-Core Construction of Sparse Voxel Octrees 22 / 34 SVO Construction algorithm in 2D ● Same for Morton codes 12 → 15 Octree representationSVO Builder queues 0 1 2 3 3 12 15... Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 0 3 1 2 9
  • 23. Out-Of-Core Construction of Sparse Voxel Octrees 23 / 34 SVO Construction algorithm in 2D ● Now level 1 is full – Create parent node (root node) – Store parent-child relations – Write non-empty level 1 nodes to disk+clear level 1 Octree representationSVO Builder queues 0 1 2 3 R R ... ... Level 0 Level 1 Level 2 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 12 15... 0 0 3 2 9 1
  • 24. Out-Of-Core Construction of Sparse Voxel Octrees 24 / 34 SVO Construction: optimization ● Lots of processing time for empty nodes – Sparseness = typical for high-res voxelized meshes ● Insight for optimization – Pushing back 2 d empty nodes in a queue at level n = Pushing back 1 empty node at level n-1 n-1 n ... SVO Builder queues
  • 25. Out-Of-Core Construction of Sparse Voxel Octrees 25 / 34 SVO Construction: optimization ● Implementation details in paper ● Optimization exploits sparseness of voxelized meshes ● Speedup: two orders of magnitude – Building SVO from grid: ● David: 471 vs 0.55 seconds ● San Miguel: 453 vs 1.69 seconds
  • 26. Out-Of-Core Construction of Sparse Voxel Octrees 26 / 34 Results: Tests ● Resolution: 2048 3 ● Memory limits – 8 Gb (in-core) – 1 Gb (out-of-core) – 128 Mb (out-of-core) ● Models – David (8.25 M polys) – San Marco (7.88 M polys) – XYZRGB Dragon (7.2 M polys)
  • 27. Out-Of-Core Construction of Sparse Voxel Octrees 27 / 34 Results: Out-Of-Core performance ● Out-Of-Core method = ~ as fast as In-Core – Even when available memory is 1/64
  • 28. Out-Of-Core Construction of Sparse Voxel Octrees 28 / 34 Results: Time breakdown ● Partitioning speedup from skipping empty space
  • 29. Out-Of-Core Construction of Sparse Voxel Octrees 29 / 34 Results: Extremely large models ● 4096 3 – In-core: 64 Gb ● Atlas model – 17.42 Gb, 507 M tris – < 11 min at 1 Gb ● St. Matthew model – 13.1 Gb, 372 M tris – < 9 min at 1 Gb
  • 30. Out-Of-Core Construction of Sparse Voxel Octrees 30 / 34 Results: SVO Construction ● SVO output stream – Good locality of reference ● Nonempty siblings on same level always stored next to each other – Nodes separated from data itself (separation hot/cold data) ● Using data pointers + offsets as reference
  • 31. Out-Of-Core Construction of Sparse Voxel Octrees 31 / 34 Appearance ● Pipeline: binary voxelization ● Extend with appearance data? – Interpolate vertex attributes (color, normals, tex) – Propagate appearance data upwards ● Global data access ↔ Out-Of-Core algorithms – Multi-pass approach DecreasingSVOlevel
  • 32. Out-Of-Core Construction of Sparse Voxel Octrees 32 / 34 Conclusion ● Voxelization and SVO construction algorithm – Out-of-core as fast as in-core – Support for extremely large meshes ● Future work – Combine with GPU method to speed up voxelization – Handle global appearance data
  • 33. Out-Of-Core Construction of Sparse Voxel Octrees 33 / 34 Thanks! ● Source code / binaries will be available at project page ● Contact – jeroen.baert @ cs.kuleuven.be – @jbaert ● Acknowledgements: – Jeroen Baert funded by Agency for Innovation by Science and Technology in Flanders (IWT), Ares Lagae is a Postdoctoral Fellow of the Research Foundation – Flanders (FWO), David / Atlas / St. Matthew models : Digital Michelangelo project, San Miguel model : Guillermo M. Leal Llaguno (Evolucien VIsual)
  • 34. Out-Of-Core Construction of Sparse Voxel Octrees 34 / 34