Faster Phong shading
Abstract: "Phong shading is a very well known shading algorithm for producing realistic images. Real-time Phong shading has on the whole remained too expensive for hardware implementations, either because of excessive computational complexity or because of large storage requirements. The algori...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Amsterdam
1992
|
Schriftenreihe: | Centrum voor Wiskunde en Informatica <Amsterdam> / Department of Computer Science: Report CS
92,28 |
Schlagworte: | |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Abstract: "Phong shading is a very well known shading algorithm for producing realistic images. Real-time Phong shading has on the whole remained too expensive for hardware implementations, either because of excessive computational complexity or because of large storage requirements. The algorithm presented here is designed to produce Phong shaded pixels with the smallest incremental cost using the least storage possible. Its incremental pixel cost is 5 additions with 3 registers to store and accumulate forward differences. This method is well suited to fast hardware implementations but, because of its accuracy and extensibility, it is also an attractive software solution A quadratic expression based on angular interpolation for Phong shading is derived which involves neither further approximations beyond those implicit in the Phong model for vector interpolation nor table lookup for exponent evaluation. These benefits are paid for by increased polygon and scanline preprocessing compared to earlier methods. The method can deal with the case where the viewer and light source are inside the scene, that is, when the light or viewer direction varies over the shaded surface. Extensions deal with pixel integration anti-aliasing and these require cubic rather than quadratic interpolation. The paper contains a detailed analysis of the costs and benefits of the new method and previous methods of optimizing or approximating the Phong shading algorithm. |
---|---|
Beschreibung: | 16 S. |