You are given a triangle with endpoints:
This triangle is a fully saturated red (Od,R = 1), and the
specular color is white. The triangle has the following material
properties:
You have the following light sources:
The viewer is at point [1 2 5 1]T
The display has the following characteristics:
(A) Compute the intensity of the ambient reflection at the interior point [0.5 1 1 1]T.
(B) Compute the intensity of the diffuse reflection at the same point.
(C) Compute the intensity of the specular reflection at this point.
(D) Given this intensity information, what color should a pixel at this point be drawn?
(E) Describe the contribution of the two different light sources.
An alternative would be to use one of the smooth shading techniques.
Assume that good estimates for outward pointing unit normal vectors at
the vertices P1, P2, and P3 are as follows:
(A) Compute the new color values at each of the three vertices.
(B) Use Gouraud shading to compute the color of the point [0.5 1 1 1]T. Assume that the triangle projects onto the display without distortion, so that linear interpolation along the triangle surface gives the same results as linear interpolation in the space of the display.
(C) Use Phong shading to compute the color of the point [0.5 1 1 1]T.
(D) How do the diffuse and specular components of intensity differ for flat shading, Gouraud shading, and Phong shading?
(E) Compare the amount of computation required for each type of shading.
(B)Suppose that we want to draw a C2 continuous curve to
connect points A and B shown below:

We know that the endpoints of the curve we wish to draw are A and B.
Suppose that we also know all of the derivativess of the curve at those
endpoints. In general, can we produce a C2 continuous splice between
A and B with a cubic polynomial curve? Why or why not?
(C)What type of curve would you choose to draw a C1 continuous splice between A and B? Give the value of the geometry vector for this curve.
Suppose that these equations were of the form:
For some unknown value b. Now, consider the four equally spaced
Bezier points (forming a line segment along the x-axis):
Show that, for parametric curve Q(t) to have constant velocity from P1 to P4, b must equal 3.

Use this expression for Qi(t) to show that two adjacent curves i and i+1 have C2 continuity at the join point.
(A)Derive the geometry vector to construct this patch as a Hermite surface patch. Align parameter s with the x-axis and parameter t with the y-axis.
(B)What is the geometry vector if we make this a Bezier surface patch?
(A)Describe an algorithm for doing the union operation for two quadtrees. Be careful to compress nodes when possible to maintain a compact representation of the object.
(B)Trace the operation of the union algorithm on the two
quadtrees below. Draw a sketch of the two objects and their union to
test your algorithm.

Trace the first few generations of branching structures using the
following rewrite rule: