Skip to Content
GPU Pro 6
book

GPU Pro 6

by Wolfgang Engel
July 2015
Intermediate to advanced
586 pages
17h 21m
English
A K Peters/CRC Press
Content preview from GPU Pro 6
282 III Lighting
f
0
f
1
f
2
z
x
y
Figure 5.14. Layered heightfields for the x axis.
These heightfields define the split between neighboring cells. They produce a
collection of cells that can be indexed using three integers (i, j, k), where 0 i
n
x
,0 j n
y
,and0 k n
z
. The resulting arrangement of cells are like a
distortion of an n
x
× n
y
× n
z
array of voxels.
The region covered by the cell (i, j, k) occupies the set of points (f
i
(y, z),
g
j
(x, z),h
k
(x, y)) where x (i, i +1),y (j, j +1),andz (k, k +1).
Defining the distortion in this way does not allow arbitrary distortions to be
represented. For instance, a twist distortion (like the “twirl” distortion
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

GPU Pro 4

GPU Pro 4

Wolfgang Engel
GPU Pro 5

GPU Pro 5

Wolfgang Engel
GPU Pro 7

GPU Pro 7

Wolfgang Engel
GPU PRO 3

GPU PRO 3

Wolfgang Engel

Publisher Resources

ISBN: 9781482264623