Competency-Based Questions (CBQ) · Question 18 of 40
Competency: Application A video-game engine shades each triangle of a 3-D model by its brightness (0, n · L ) , where…
Question 184 marksMedium
Competency: Application
A video-game engine shades each triangle of a 3-D model by its brightness max(0,n^⋅L^), where n^ is the unit normal ∣AB×AC∣AB×AC of the triangle ABC and L^ is the unit vector from the surface towards the light. A brightness of 0 means the face is dark. One triangle has corners A(1,0,0), B(3,2,1) and C(−1,1,2). (Hypothetical data.)
(a) Find AB×AC.
(b) Find the unit normal n^.
(c) Find the brightness of the triangle when the light is along L^1=31(2i^−j^+2k^), and when it is along L^2=31(−2i^+2j^+k^).