next up previous contents
Next: 5.13 Procedural Texture Generation Up: 5.12 3D Textures Previous: 5.12.3 3D Textures to

5.12.4 3D Textures as Multidimensional Functions

Instead of thinking of a 3D texture as a 3D volume of data, it can be thought of as a 2D texture map that varies as a function of the R coordinate value. Since the 3D texture filters in three dimensions, changing the R value smoothly blends from one 2D texture image to the next.

 

table887

An obvious application is animated 2D textures. A 3D texture can animate a sequence of images by using the R value as time. Since the images are interpolated, temporal aliasing is reduced.

Another application is generalized billboards. A normal billboard is a 2D texture applied to a polygon that always faces the viewer. Billboards of objects such as trees behave poorly when the viewer views the object from above. A 3D texture billboard can change the textured image as a function of viewer elevation angle, blending a sequence of images between side view and top view, depending on the viewer's position.

 


David Blythe
Thu Jul 17 21:24:28 PDT 1997