File:Phong shading.svg

Original file(SVG file, nominally 500 × 500 pixels, file size: 12 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description Idea of Phong shading
Date
Source Own work
Author Wojciech muła
Permission
(Reusing this file)
public domain

Summary edit

Phong shading of triangle - normals NA, NB and NC are given. Before converting scanline at y (y in a screen-space!) normals N(A-B) and N(A-C) are calculated using simple linear interpolation. Then, for each pixel in scanline, another normal NX is interpolated and used as parameter of some lighting model (like Lambert, Phong, Blinn, etc.).

pl:Opis edit

Trójkąt: cieniowanie Phonga - normalne NA, NB i NC są dane. Przed rasteryzacją pikseli w wierszu y (y jest podany we współrzędnych ekranu!) obliczane są normalne N(A-B) i N(A-C) - używana jest interpolacja liniowa. Następnie, dla każdego piksela w wierszu wyznaczana jest normalna NX i używana jako parametr jakiegoś modelu oświetlenia (jak oświetlenie Lamberta, Phonga, Blinna itp.).

Licensing edit

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current12:14, 8 March 2008Thumbnail for version as of 12:14, 8 March 2008500 × 500 (12 KB)Wojciech mula (talk | contribs){{Information |Description=Idea of phong shading |Source=self-made |Date=2008-03-03 |Author= Wojciech muła |Permission=public domain |other_versions= }} Category:Computer graphics

The following page uses this file:

File usage on other wikis

The following other wikis use this file: