Title: | Shading vy Spherical lienear interpolation using de moivre's formula |
Authors: | Hast, Anders Barrera, Tony Bengtsson, Ewert |
Citation: | WSCG ’2003: Short papers: The 11-th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision 2003, 3.-7, p. 57-60. |
Issue Date: | 2003 |
Publisher: | UNION Agency |
Document type: | konferenční příspěvek conferenceObject |
URI: | http://wscg.zcu.cz/wscg2003/Papers_2003/I19.pdf http://hdl.handle.net/11025/6164 |
ISBN: | 80-903100-1-X |
Keywords: | stínování;normalizace;De Moivrova formule |
Keywords in different language: | shading;normalization;De Moivres formula |
Abstract: | In the classical shading algorithm according to Phong, the normal is interpolated across the scanline, requiring a computationally expensive normalization in the inner loop. In the simplified and faster method by Gouraud, the intensity is interpolated instead, leading to faster but less accurate shading. In this paper we use a third way of doing the interpolation, namely spherical linear interpolation of the normals across the scanline. This has been explored before, however, the shading computation requires the evaluation of a cosine in the inner loop and this is too expensive to be efficient. By reformulating the original approach in a suitable way, De Moivre’s formula can be used directly for computing the intensity so that no normalization is needed. Hence, no trigonometric functions, divisions or square roots are necessary to compute in the inner loop. Unfortunately the setup for each scanline will be rather slow unless some efficient reformulation of the necessary trigonometric calculations can be found. We suggest this problem for future research. |
Rights: | © UNION Agency |
Appears in Collections: | WSCG '2003: Short papers |
Please use this identifier to cite or link to this item:
http://hdl.handle.net/11025/6164
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.