📗 Enter your ID (the wisc email ID without @wisc.edu) here: and click (or hit the "Enter" key)
1,2,3,4,5q6
📗 Please report any bugs or mistakes on Piazza.
📗 Question 1
Question 2
📗 Question 3
Question 4
📗 Question 5
📗 [1 points] A curve has the basis function: \(b_{0}\left(u\right)\) = , \(b_{1}\left(u\right)\) = , \(b_{2}\left(u\right)\) = , and its control points are \(p_{0}\) = , \(p_{1}\) = , \(p_{2}\) = . For \(u\) = , the curve is at .
Click to check: Incorrect.
📗 [1 points] Change the animation function so that the animation on the left is the same as the one on the right (the rotation speeds are \(0.05\) per frame): .
let c1 = cube("green");
let c2 = cube("red");
let c3 = cube("yellow");
let g = new THREE.Group();
g.add(c1);
g.add(c2);
scene.add(g);
scene.add(c3);
c2.translateX(0.25);
g.translateX(0.25);
function loop() {
animate(g, c1, c2, c3);
window.requestAnimationFrame(loop);
}
loop();
Click to change the animation function for the animation on the left.
📗 [1 points] A cubic Bezier curve in 3D has its control points , , , . The tangent vector at the beginning of this curve is: .
Click to draw the tangent vector (green); the correct tangent vector is red.
📗 [1 points] Consider the following sphere lit with a directional light source from the above and an ambient light source using the "classic" Phong lighting model. Change the shininess parameter and specular color so that the sphere on the left looks like the one on the right.
➩ The original color of sphere is black and the color of the light is white.
Use to apply the parameter values to the picture on the left.
📗 [1 points] Given a triangle where vertex \(1\) is with UV , vertex \(2\) is with UV , vertex \(3\) is with UV . The UV at the point is .