1989-faster-phong-abstract.txt
Size 2.3 kB - File type text/plainFile contents
Faster Phong Shading via Angular Interpolation A.A.M. Kuijk, E.H. Blake* 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. Key Words & Phrases: image synthesis, shading, angular interpolation, spherical geometry, quadratic approximation, quaternions. * Centre for Mathematics and Computer Science (CWI) Department of Interactive Systems Kruislaan 413, 1098 SJ Amsterdam, The Netherlands Email: fons@cwi.nl edwin@cwi.nl
last modified
2007-09-12 16:53