-
A Practical and Robust Bump-mapping Technique for Today's GPUs下载
资源介绍
Bump mapping is a normal-perturbation rendering technique for simulating lighting effects caused by patterned irregularities on otherwise
locally smooth surfaces. By encoding such surface patterns in texture maps, texture-based bump mapping simulates a surface’s irregular
lighting appearance without modeling the patterns as true geometric perturbations to the surface. Bump mapping is advantageous because
it can decouple a texture-based description of small-scale surface irregularities used for per-pixel lighting computations from the vertex-
based description of large-scale object shape required for efficient transformation and rasterization. This paper describes a practical and
robust bump-mapping technique suited for the capabilities of today’s Graphics Processor Units (GPUs).
This paper has six sections including the introduction. The second section presents the theory of bump mapping. The third section reviews
several existing hardware bump-mapping techniques. The fourth section describes the cube map texturing and “register combiners”
features of NVIDIA’s GeForce 256 and Quadro GPUs. These features in combination are the basis for the bump mapping technique
presented in the fifth section. This technique achieves real-time performance on current generation NVIDIA GPUs. The techniqu e can
model ambient, diffuse, and specular lighting terms, a textured surface decal, and attenuated and spotlight illumination. The technique is
notable because of its robustness and relative fidelity to Blinn’s original mathematical formulation of bump mapping. The sixth section
concludes. Several appendices provide OpenGL implementation details.