Title: | Improved shading performance by avoiding vector normalization |
Authors: | Hast, Anders Barrera, Tony Bengtsson, Ewert |
Citation: | Journal of WSCG. 2001, vol. 9, no. 1-3. |
Issue Date: | 2001 |
Publisher: | Václav Skala - UNION Agency |
Document type: | článek article |
URI: | http://hdl.handle.net/11025/15771 http://wscg.zcu.cz/wscg2001/WSCG2001_Program.htm |
ISSN: | 1213-6972 (print) 1213-6980 (CD-ROM) 1213-6964 (online) |
Keywords: | stínování;osvětlení;normalizace |
Keywords in different language: | shading;illumination;normalization |
Abstract in different language: | Phongs illumination model requires unit length vectors. The surface normal has to be normalized due to the linear interpolation, and if we use single point light sources or a fixed view point, we have to normalize the vectors pointing to the light source and to the viewer. Unfortunately, normalization is a relatively costly operation. One of the main reasons for this is the square root involved. But when we calculate the reflection vector, we actually do not need a normalized normal. This fact can be used in order to get an approximation for the vector we want when we interpolate between normals. The result is faster Phong shading and faster lighting calculations when we are using a single point light source or having a viewer which is not placed at infinity. |
Rights: | © Václav Skala - UNION Agency |
Appears in Collections: | Volume 9, number 1-3 (2001) |
Please use this identifier to cite or link to this item:
http://hdl.handle.net/11025/15771
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.