Question: Recall that the normal matrix Mn performs model - view transformations for surface normals ( by 1 transforming them from object spaces to camera spaces

Recall that the normal matrix Mn performs model-view transformations for surface normals (by 1 transforming them from object spaces to camera spaces). Given a model-view matrix Mmv =10000100002100001, and a triangle with vertices p0=(1,0,0)>, p1=(0,1,0)>, and p2=(0,0,1)> in the object space, please: (i) Write down the normal matrix Mn corresponding to Mmv.(ii) Calculate the object-space normal n of the triangle via n=(p1 p0)(p2 p0) k(p1 p0)(p2 p0)k .(1)(Feel free to use a calculator/program to compute the cross products.)(iii) Calculate the camera-space normal n0 of the triangle based on camera-space positions of its vertices. That is, n0=(p 01 p 00)(p 02 p 00) k(p 01 p 00)(p 02 p 00)k ,(2) where p 0 i = Mmv pi for i =0,1,2(under homogeneous coordinates).(iv) Calculate the camera-space normal n0 using the normal matrix Mn and the triangles object-space normal n from Eq.(1) via: n0= Mn n kMn nk . If your calculations are correct, this result should match the one given by Eq.(

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!