

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Solutions
AB^ ~ × AC~ = [1, − 1 , 0],
and therefore ( AB~ × AC~) · AO~ = 1
and ( AB~ × AC~ ) · AD~ = 1.
Thus, the triangle ABC is not visible.
By the same method:
(a) The triangle ABD is visible
(b) The triangle ACD is visible
(c) The triangle BCD is invisible
(i) Translate by [− 1 , −2] (this takes the line into one passing through the origin)
(ii) Rotate by α = tan−^1 (0.5) clockwise – the line forms this angle with the x-axis so the rotation would take it into the x-axis
(iii) Apply symmetry about the x-axis
(iv) Undo the rotation in (ii): rotate by α counterclockwise
(v) Undo the translation (i) – trandslate by [1, 2]
Now, it’s not hard to see that sin(α) = 1/
5 and cos(α) = 2/
5 (look at the triangle with vertices (1, 2), (3, 3) and (3, 2)). Thus, one of the forms of the answer is:
In general, the tetrahedra containing the viewpoint will not show up. The image would be equivalent to the image of the tetrahedra that do not contain the viewpoint.
could translate by (−a, −b) (sending (x, y) into (x − a, y − b)), then apply symmetry about (0, 0) (sending (x − a, y − b) into (a − x, b − y)) and then translate by (a, b) (sending (a − x, b − y) into (2a − x, 2 b − y)).
Now, take any point (x, y) and apply A. The result is (2ax − x, 2 ay − y). Apply B and you get (2bx −
(2ax − x), 2 by − (2ay − y)) = (x + 2bx − 2 ax, y + 2by − 2 ax). This is (x, y) translated by the vector 2 ab~. Thus, the composite transformation is the translation by 2 ab~.
((ay − by )(px − ax) + (bx − ax)(py − ay )) ∗ ((ay − by )(qx − ax) + (bx − ax)(qy − ay )) ≥ 0
(a) For a perfectly diffuse surface, the brightest point is where the unit normal vector is the same as the light vector, i.e. for the point right below the light source (if you think of the z-axis as pointing up). Thus, the answer is: (lx, ly , 0).
(b) The brightest point is where the value of the Phong term is largest, i.e. where the normalized half-way vector is the same as the normal vector. Here is a picture showing the cross-section of the space along the plane that is parallel to the z-axis and contains l and v. l′^ and v′^ are the projections of l and v onto the plane and b is the point we are looking for.
α α
l
v
l’ b v’
N=H
Notice that the triangles ∆vv′b and ∆ll′b are similar and therefore the ratios |ll′| : |vv′| = lz : vz and |bl′| : |bv′| are the same. This means that the point b splits the interval l′v′^ into parts whose lenght ratio lz : vz. Thus, b can be computed as the weighted average of v′^ and l′^ with weights whose ratio is lz : vz , i.e. b =
lz lz + vz
v′^ +
vz lz + vz
l′^ =
lz vx + vz lx lz + vz
lz vy + vz ly lz + vz