文档介绍:DRAFT (4 November 2003) — Do Not Distribute
  ¡ ¢ £¥¤§¦ ¨ ©
©¢
¨ £¥
¤ ¨ £¢ ¡ £¥¤§£
¡ ¢
¤   ©
¨ ¤
"!#$%&%"('*) +,%&-/.10,243 5*#4%6-87:9
; c 2003 Matt Pharr and Greg Humphreys
¡
¡ ¢¤£ ¡ ¢¦¥
1 Introduction 1
Approaching the System 1
Rendering and the Ray–Tracing Algorithm 5
System Overview 5
How To Proceed Through This Book 21
2 Geometry and Transformations 25
Vectors 27
Points 33
Normals 34
Rays 35
Three-dimensional bounding boxes 38
Transformations 41
Applying Transforms 52
Differential Geometry 57
3 Shapes 63
 ¡ ¡
iv Contents
Basic Shape Interface 63
Spheres 68
Cylinders 78
Disks 82
Other Quadrics 85
Triangles and Meshes 87
***ADV***: Subdivision Surfaces 98
4 Primitives and Intersection Acceleration 129
Geometric Primitives 130
Aggregates 135
Grid Accelerator 138
Kd-Tree Accelerator 152
5 Color and Radiometry 177
Spectral Representation 177
Basic Radiometry 185
Working with Radiometric Integrals 190
Surface Reflection 194
6 Camera Models 201
Camera Model 201
Projective Camera Models 205
Environment Camera 217
7 Sampling and Reconstruction 221
Fourier Theory 222
Sampling Theory 225
Image Sampling Interface 236
Stratified Sampling 242
***ADV***: Low-Discrepancy Sequences 252
***ADV***: Best-Candidate Sampling Patterns 265
Image Reconstruction 279
8 Film and the Imaging Pipeline 293
Film Interface 294
Image Film 295
***ADV***: Perceptual Issues and Tone Mapping 303
Device RGB Conversion and Output 322
Contents v
9 Reflection Models 329
Basic Interface 334
Specular Reflection and Transmission 337
Lambertian Reflection 351
Microfacet Models 352
Lafortune Model 362
Fresnel Incidence Effects 364
1