# Find RGB intensity values at center of face using Gouraud shading [duplicate]

Consider a triangular face of three vertices A(0,2,-1), B(1,0,1) and the origin O, and the normal vectors at the vertices are nA=(0,1,0), nB=(1,0,0) and nO=(0,0,1), respectively. The incident light is white and directional in direction of L=(1,2,2) and the intensity is 1, the background ambient light intensity is 0.1, and the diffuse reflection coefficients for (red, green, blue) are (0.6,0.7,0.8). No specular light contribution needs to be considered.

Find the (red, green, blue) intensity values at the centre of the face using Gouraud shading.

I do not know how to answer this question and have looked at my lecture slides, youtube videos, computer graphics textbook by Foley and Van Damm and obviously used google. Any help would be much appreciated.

Edit: I want to find the intensity values using Gouraud shading, not flat shading. From my understanding, the intensity at a point is interpolated along polygon edges and scan lines? But with the information I am given in the question, I don't have a clue how to answer this question. This video helped a bit: https://www.youtube.com/watch?v=_SuyLrU2Xr0&t=142s but it doesn't set me up for answering this question.

• Could you explain what you do know about Gouraud shading so we can see what level of explanation you require? – trichoplax Mar 28 '17 at 20:50
• Aaand yet another homework... – ivokabel Mar 28 '17 at 21:21
• @trichoplax I edited the question. I have a basic understanding of Gouraud shading. I think the intensity values change as you go through the polygon. I don't really know how to answer the question or where to start though as the symbols used in videos and research I have done do not match the information given in the question. – S.A Mar 29 '17 at 9:03
• As an aside, you also need to say whether the colour interpolation is linear in screen space (as would have been the case when the technique was first used) or linear in world (i.e. perspective correct in screen space) as would be the case with modern rendering hardware. (Not entirely sure, but Dreamcast might have been one of the first to do the latter) – Simon F Mar 29 '17 at 11:05
• @Simon F not really sure. This is a past exam question. I literally copied and pasted all the information from that question. This was all the information given. – S.A Mar 29 '17 at 12:05