UCT CS Research Document Archive

Faster Phong shading via angular interpolation

Kuijk, A. A. M. and E. H. Blake (1989) Faster Phong shading via angular interpolation. Computer Graphics Forum 8(4):315-324.

Full text available as:
PDF - Requires Adobe Acrobat Reader or other PDF viewer.

Abstract

One of the most successful algorithms that brought realism to the world of 3D image generation is Phong shading. It is an algorithm for smooth shading meshes of planar polygons used to represent curved surfaces. The level of realism and depth perception that can be obtained by Phong shading is attractive for 3D CAD applications and related areas. However, too high per pixel computation costs and/or artifacts, introduced by some of the more efficient evaluation methods and apparent only when displaying moving objects, are major factors that blocked the common usage of Phong shading in highly interactive applications.

In this paper we present angular interpolation for Phong shading planar polygons. Angular interpolation was a method especially designed to meet requirements as imposed by special purpose hardware we developed [Jayasinghe91a], but turned out to be generally applicable. The angular interpolation method appears to be very efficient and reduces artifacts when displaying moving objects. Ideally a shading algorithm imposes no need for subdivision of patches as presented by the solid modelling system. Shading calculation via angular interpolation yields such an ideal algorithm. We will describe two alternative evaluation methods that trade off evaluation cost against level of accuracy. They both can handle light source and view point at arbitrary distances, but differ in level of accuracy. As a consequence these alternative evaluation methods do impose restrictions on the topology of patches and light sources. However, generally, the limitations imposed by these alternative shading methods are much more liberal than the limitations on patch size imposed by the geometry.

The most economic evaluation method we present can incrementally compute the colour intensity along a scanline by two additions per pixel. The methods presented are generally applicable and can easily be implemented in hardware.

EPrint Type:Journal (Paginated)
Keywords:image synthesis, shading, angular interpolation, spherical geometry, quadratic approximation, quaternions
Subjects:I Computing Methodologies: I.3 COMPUTER GRAPHICS
ID Code:406
Deposited By:Blake, Edwin H
Deposited On:16 August 2007