Raycasting
Ronald Peikert SciVis 2008 - Raycasting 3-1
Raycasting SciVis 2008 - Raycasting Ronald Peikert Direct volume - - PDF document
3-1 Raycasting SciVis 2008 - Raycasting Ronald Peikert Direct volume rendering Volume rendering (sometimes called direct volume rendering) stands for methods that generate images directly from 3D scalar data. "Directly" means: no
Ronald Peikert SciVis 2008 - Raycasting 3-1
Ronald Peikert SciVis 2008 - Raycasting 3-2
Direct volume rendering
Ronald Peikert SciVis 2008 - Raycasting 3-3
Ronald Peikert SciVis 2008 - Raycasting 3-4
Raycasting
Ronald Peikert SciVis 2008 - Raycasting 3-5
6-connected (strongest) 18-connected 26-connected (weakest)
Ronald Peikert SciVis 2008 - Raycasting 3-6
Ray templates
Ronald Peikert SciVis 2008 - Raycasting 3-7
LMIP MIP
intensity threshold
Ronald Peikert SciVis 2008 - Raycasting 3-8
camera
Compositing
fast (1 parameter) fast parameter free fast (1 parameter)
parameter free full data range noise insensitive
full data range noise insensitive
noise insensitive lighting
Ronald Peikert SciVis 2008 - Raycasting 3-9
(transparency)
transparency
N N
3
i i
background
N N
b f
b b b b
Ronald Peikert SciVis 2008 - Raycasting 3-10
1
b b f f f f f
+
α-compositing
b
i i
1 1 1 1 b b b b b b b b b b b
− − − −
2 2 2 1 1 2 1 2 3 3 3 2 2 3 1 1 2 3 1 2 3 b b b b b b b b b b b b b b b b b b b b b b b b b b
− − − − − − − − − − − − − − − − − − − − −
1 i b 1 i b b f i i j i f j f
− = =
Ronald Peikert SciVis 2008 - Raycasting 3-11
α-compositing
b f
b b f j j f
=
f f f f
1 1 1
f f f b b b f f b b f
+ + +
1 1
b b f b f
+ +
Ronald Peikert SciVis 2008 - Raycasting 3-12
( )
x b
x x dx
τ
′
′′ ′′ −∫
x
x
Ronald Peikert SciVis 2008 - Raycasting 3-13
The emission-absorption model
Ronald Peikert SciVis 2008 - Raycasting 3-14
The emission-absorption model
1
1
i j x
i n n τ
−
− Δ −
1
j j j
x i n n x i i i i j
τ τ
=
Δ − Δ = = =
1
i b b f i i j
−
f i i j i f j f = =
i x
− Δ
i x
i
Δ
i i i
SciVis 2008 - Raycasting 3-15
i i i
SciVis 2008 - Raycasting 3-16
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-17
Transfer functions
3
1
2
3
2
1
Ronald Peikert SciVis 2008 - Raycasting 3-18
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-19
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-20
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-21
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-22
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-23
Transfer functions
Ronald Peikert SciVis 2008 - Raycasting 3-24
Ronald Peikert SciVis 2008 - Raycasting 3-25
Pre- vs. post-classification
l s(x) x α(s(x))
voxel sample
sample inter- polated
view ray voxel value transfer function
Ronald Peikert SciVis 2008 - Raycasting 3-26
Pre- vs. post-classification
Ronald Peikert SciVis 2008 - Raycasting 3-27
Image credit: K. Engel, U. Stuttgart
Ronald Peikert SciVis 2008 - Raycasting 3-28
Preintegration
i
x i
τ
−
i
1 xi +
xi
s x dx i
τ
− ∫
1 1
si i i s
d s ds s s τ
+ +
− −
1 i i
+
1
i i si
i
+
1 i i +
Ronald Peikert SciVis 2008 - Raycasting 3-29
Preintegration
1 1
i i i
s s s s
+ +
i
s s
s
i+1,
Ronald Peikert SciVis 2008 - Raycasting 3-30
Preintegration
( )
( )
1
' '
x i xi
x s x dx
τ
+
−∫
i i
i x
( )
1 1
' ' 1
s i i i si i
d s s ds s s i i i s
τ
+ +
− − +
1
i
i i s +
s
s
Ronald Peikert SciVis 2008 - Raycasting 3-31
Ronald Peikert SciVis 2008 - Raycasting 3-32
Raycasting hardware
Ronald Peikert SciVis 2008 - Raycasting 3-33
Raycasting hardware
Ronald Peikert SciVis 2008 - Raycasting 3-34
Raycasting hardware
Ronald Peikert SciVis 2008 - Raycasting 3-35