COMP SCI 559 Midterm: CS 559 Midterm-cs559-f15 2
Document Summary
1: [5 4% = 20%] multiple choice section. Circle or underline the correct answer (or answers). You do not need to provide a justi cation for your answer(s). (1) the construction of the camera transform (e. g. via the tgwl lookat method) requires us to provide an up vector as one of the inputs. P = a + b + c where , and are the barycentric coordinates of p (to be clear, the variables p, a, b, c are the position vectors of the respective points in this expression). Let us now consider the special case when the point p actually lies on the triangle edge ab. It is also quite frequent that the fragment shader would start by normalizing the value it receives in this varying variable, prior to using it. Write the letter the one most correct answer here: (a) the host program can specify the values of varying variables (b) it is not possible.