Gouraud shading

Gouraud-shaded triangle mesh using the Phong reflection model

Gouraud shading (/ɡˈr/ goo-ROH), named after Henri Gouraud, is an interpolation method used in computer graphics to produce continuous shading of surfaces represented by polygon meshes. In practice, Gouraud shading is most often used to achieve continuous lighting on triangle meshes by computing the lighting at the corners of each triangle and linearly interpolating the resulting colours for each pixel covered by the triangle. Gouraud first published the technique in 1971.[1][2][3] However, enhanced hardware support for superior shading models has yielded Gouraud shading largely obsolete in modern rendering.

Description

Gouraud shading works as follows: An estimate to the surface normal of each vertex in a polygonal 3D model is either specified for each vertex or found by averaging the surface normals of the polygons that meet at each vertex. Using these estimates, lighting computations based on a reflection model, e.g. the Phong reflection model, are then performed to produce colour intensities at the vertices. For each screen pixel that is covered by the polygonal mesh, colour intensities can then be interpolated from the colour values calculated at the vertices.

Comparison with other shading techniques

Comparison of flat shading and Gouraud shading

Gouraud shading is considered superior to flat shading and requires significantly less processing than Phong shading, but usually results in a faceted look.

In comparison to Phong shading, Gouraud shading's strength and weakness lies in its interpolation. If a mesh covers more pixels in screen space than it has vertices, interpolating colour values from samples of expensive lighting calculations at vertices is less processor intensive than performing the lighting calculation for each pixel as in Phong shading. However, highly localized lighting effects (such as specular highlights, e.g. the glint of reflected light on the surface of an apple) will not be rendered correctly, and if a highlight lies in the middle of a polygon, but does not spread to the polygon's vertex, it will not be apparent in a Gouraud rendering; conversely, if a highlight occurs at the vertex of a polygon, it will be rendered correctly at this vertex (as this is where the lighting model is applied), but will be spread unnaturally across all neighboring polygons via the interpolation method.

The problem is easily spotted in a rendering which ought to have a specular highlight moving smoothly across the surface of a model as it rotates. Gouraud shading will instead produce a highlight continuously fading in and out across neighboring portions of the model, peaking in intensity when the intended specular highlight aligns with a vertex of the model. While this problem can be fixed by increasing the density of vertices in the object, at some point the diminishing returns of this approach will favour switching to a more detailed shading model.

Linear vs. hyperbolic interpolation

Gouraud's original paper described linear color interpolation.[1] In 1992, Blinn published an efficient algorithm for hyperbolic interpolation[4] that is used in GPUs as a perspective correct alternative to linear interpolation. Both the linear and hyperbolic variants of interpolation of colors from vertices to pixels are commonly called "Gouraud shading".

Mach bands

Any linear interpolation of intensity causes derivative discontinuities which triggers Mach bands, a common visual artifact of Gouraud shading.

See also

References

  1. ^ a b Gouraud, Henri (1971). Computer Display of Curved Surfaces, Doctoral Thesis (Thesis). University of Utah.
  2. ^ Gouraud, Henri (1971). "Continuous shading of curved surfaces" (PDF). IEEE Transactions on Computers. C-20 (6): 623–629. doi:10.1109/T-C.1971.223313. S2CID 123827991.
  3. ^ Gouraud, Henri (1998). "Continuous shading of curved surfaces". In Rosalee Wolfe (ed.). Seminal Graphics: Pioneering efforts that shaped the field. ACM Press. ISBN 1-58113-052-X.
  4. ^ Blinn, James F. (July 1992). "Hyperbolic Interpolation". IEEE Computer Graphics and Applications. 12 (4): 89-94. doi:10.1109/MCG.1992.10028. S2CID 207973430.

Read other articles:

جنينة وينجهام للحياه البريه جنينة حيوانات  تاريخ الانشاء 1986  البلد المساحه الرمز البريدى CT3 1JL  الموقع الرسمى الموقع الرسمى  تعديل  جنينة وينجهام للحياه البريه (Wingham Wildlife Park) هيا جنينة حيوانات[1] فى المملكه المتحده. مكانها جنينة وينجهام للحياه البريه موجوده �...

River in the United States of America Tugaloo RiverBank of the Tugaloo River at Lake Hartwell near the Tugaloo State Park campgroundLocationCountryUnited StatesStatesGeorgia, South CarolinaPhysical characteristicsSourceChattooga River • locationCashiers, North Carolina • coordinates35°07′08″N 83°07′05″W / 35.119°N 83.118°W / 35.119; -83.118 • elevation1,187 m (3,894 ft) 2nd sourceTallulah River&...

Misa adalah istilah untuk Perayaan Ekaristi dalam ritus liturgi Barat dari Gereja Katolik Roma, Gereja Ortodoks Ritus Barat, tradisi Anglo-Katolik dalam Gereja Anglikan, dan beberapa Gereja Lutheran. Di negara-negara Baltik dan Skandinavia, ibadah ekaristi Gereja Lutheran juga disebut Misa. Istilah Misa berasal dari kata bahasa Latin kuno missa yang secara harfiah berarti pergi berpencar atau diutus. Kata ini dipakai dalam rumusan pengutusan dalam bagian akhir Perayaan Ekaristi yang berbunyi ...

Кетупат Зв'язка кетупатів на обідньому століПоходження Індонезійська кухня, сінгапурська кухня, філіппінська кухняНеобхідні компоненти рис  Медіафайли у Вікісховищі Кетупа́т (індонез. і малай. ketupat) — національна страва країн Південно-Східної Азії, зокрема, Індонезі...

У Вікіпедії є статті про інших людей із прізвищем Арамбуру. Педро Еухеніо Арамбуру ісп. Pedro Eugenio Aramburu Президент Аргентини (de facto) 13 листопада 1955 — 1 травня 1958Віцепрезидент Ісаак Франсіско РохасПопередник Едуардо ЛонардіНаступник Артуро ФрондісіНародився 21 травня 1903(...

1999 Castilian-Manchegan regional election ← 1995 13 June 1999 2003 → All 47 seats in the Cortes of Castilla–La Mancha24 seats needed for a majorityOpinion pollsRegistered1,413,503 4.5%Turnout1,058,010 (74.9%)3.9 pp   First party Second party   Leader José Bono Agustín Conde Party PSOE–p PP Leader since 25 March 1983 18 September 1996 Leader's seat Toledo Toledo Last election 24 seats, 45.7% 22 seats, 44.3% Seats won 26 21 Seat...

الوطن الأكبر أغنية محمد عبد الوهاب[1]عبد الحليم حافظصباح هدى سلطان[2]نجاة الصغيرةشاديةفايدة كامل[3]وردة[3] الفنان محمد عبد الوهاب[1]عبد الحليم حافظصباح هدى سلطان[2]نجاة الصغيرةشاديةفايدة كامل[3]وردة[3] تاريخ الإصدار  مصر 1960 اللغة لهجة مصرية ا

1935 American historical film directed by Rowland V. Lee Cardinal RichelieuDirected byRowland V. LeeWritten byCameron RogersBased onRichelieu1839 playby Edward Bulwer LyttonProduced byDarryl F. ZanuckStarringGeorge ArlissMaureen O'SullivanEdward ArnoldCinematographyJ. Peverell MarleyEdited bySherman ToddMusic byAlfred NewmanProductioncompanyTwentieth Century PicturesDistributed byUnited ArtistsRelease date April 28, 1935 (1935-04-28) Running time82 minutesCountryUnited StatesLa...

Town in Louisiana, United StatesSibley, LouisianaTownSibley Town Hall at site of former Sibley High SchoolLocation of Sibley in Webster Parish, Louisiana.Location of Louisiana in the United StatesCoordinates: 32°32′27″N 93°17′36″W / 32.54083°N 93.29333°W / 32.54083; -93.29333CountryUnited StatesStateLouisianaParishWebsterGovernment • MayorJimmy Williams (No Party) (reelected 2016) Police Chief Jeremy Allen Robinson (No Party) (elected 2012)Area&...

Where Were You Last NightSingle by Ankie Baggerfrom the album Where Were You Last Night ReleasedOctober 1989 (1989-10)Recorded1989Genredance-popHi-NRGLength4:08LabelSonetSongwriter(s)Norell Oson BardProducer(s)Ola HåkanssonAnders HanssonTim NorellMusic videoWhere Were You Last Night on YouTube Where Were You Last Night is a single by Swedish singer Ankie Bagger from the 1989 album Where Were You Last Night. Written by Norell Oson Bard, the single was released in October 1989 by Son...

Main article: Palace The following is a list of palaces by country. Afghanistan Darul Aman Palace, Kabul – the country's most famous palace. Tajbeg Palace – inaccurately known as the Queen's Palace in English Arg Presidential Palace[1] – Home of the president of Afghanistan Albania Presidenca – official residential palace of the president of Albania. Algeria El Mouradia Palace Armenia Urartu and Satrapy of Armenia Erebuni Palace Erebuni Palace-Fortress[2] Haykaberd Van...

Church in SwitzerlandCathedral of St. UrsusCathedral of St. Urs and ViktorGerman: Kathedrale St. Urs und ViktorCathedral of St. UrsusSt. Ursus Cathedral47°12′30″N 7°32′22″E / 47.208311°N 7.539466°E / 47.208311; 7.539466CountrySwitzerlandDenominationRoman CatholicWebsiteDiocese of BaselHistoryStatusCathedralConsecrated26 September 1773ArchitectureFunctional statusActiveHeritage designationHeritage site of national significanceArchitect(s)Gaetano Matteo Pison...

Administrative post of the Ministry of Energy Petroleum Secretary of Pakistanمُعْتَمَد پٹرولیم پاکستانIncumbentMomin AghaAppointerPrime Minister of PakistanWebsitePetroleum Division The Petroleum Secretary of Pakistan (Urdu: مُعْتَمَد پٹرولیم پاکستان) is the Federal Secretary for Ministry of Energy (Petroleum Division). The officer is a BPS-22 grade officer, usually belonging to the Pakistan Administrative Service. The Secretary Petroleum is consi...

State Legislative Assembly Constituency in Tamil Nadu For other places with the same name, see Namakkal (disambiguation). NamakkalConstituency for the Tamil Nadu Legislative AssemblyConstituency detailsCountryIndiaRegionSouth IndiaStateTamil NaduDistrictNamakkalLS constituencyNamakkalTotal electors2,57,771[1]ReservationNoneMember of Legislative Assembly16th Tamil Nadu Legislative AssemblyIncumbent P. Ramalingam Party  DMKElected year2021 Namakkal is a state assembly constitu...

School in New York, U.S.A. Razi SchoolLocation55-11 Queens Blvd Woodside, NY 11377InformationTypePrivateMottoAcademic excellence in a distinctive Islamic environmentPrincipalHesam Karimi [1]GradesK to 12th gradeWebsiteOfficial website Razi School is an Islamic school in Woodside, New York. The school has partnered with NYC Department of Early Childhood Education in offering tuition-free full day Pre-Kindergarten classes for all 4-year-old children. Razi School is in the same building ...

U.S.-based organization A banner ad for MindFreedom International MindFreedom International is an international coalition of over one hundred grassroots groups and thousands of individual members from fourteen nations. Based in the United States, it was founded in 1990 to advocate against forced medication, medical restraints, and involuntary electroconvulsive therapy. Its stated mission is to protect the rights of people who have been labeled with psychiatric disorders. Membership is open to...

Founder Israel Izzy Paskowitz Surfers Healing at Narragansett, Rhode Island Surfers Healing is a non-profit organization that teaches children with autism to surf. It was founded by Israel and Danielle Paskowitz for the benefit of their son Isaiah Paskowitz who was diagnosed with autism at age three. Surfers Healing seeks to enrich the lives of people living with autism by exposing them to surfing. The surf camps are free of charge to autistic children, and include camps in Hawaii, North Caro...

Spanish explorer of the New World Cabeza de Vaca redirects here. For other uses, see Cabeza de Vaca (disambiguation). Álvar Núñez Cabeza de VacaBust of Cabeza de VacaBornÁlvar Núñez Cabeza de Vacac. 1488/1490/1492Jerez de la FronteraDiedAfter 19 May 1559 (aged over 66–71)Jerez de la Frontera or Valladolid, SpainResting placeSpainOccupation(s)Treasurer, explorer, author of La relación y comentarios, and ex-governor of Río de Plata in ArgentinaSpouseMaría MarmolejoParent(s)Francisco ...

1917 film The Yankee WayNewspaper advertisementDirected byRichard StantonWritten byEdward SedgwickRalph H. SpenceProduced byWilliam FoxStarringGeorge WalshEnid MarkeyJoseph J. DowlingProductioncompanyFox FilmDistributed byFox FilmRelease dateSeptember 15, 1917Running time50 minutesCountryUnited StatesLanguagesSilentEnglish intertitles The Yankee Way is a 1917 American silent comedy-drama film directed by Richard Stanton and starring George Walsh, Enid Markey and Joseph J. Dowling.[1] ...

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Guayaquil Department – news · newspapers · books · scholar · JSTOR (June 2019) (Learn how and when to remove this template message) Location of Guayaquil Department in Gran Colombia Guayaquil Department was one of the departments of Gran Colombia created in 1824. It bordered Ecu...