|
COS 526 - Advanced Computer Graphics
|
Fall 2004
|
Written Exercise 2
Due Tuesday, Oct. 19
- As we saw, a single cubic Bézier curve can be defined as
Q(t) = b0(t) P0 + b1(t) P1 +
b2(t) P2 + b3(t) P3
where the Pi are the control points and the bi(t) are
the Bernstein polynomials.
- Extend this definition to a bicubic Bézier patch. That is, write
down the equation for Q(s,t) in terms of the Bernstein polynomials and the
sixteen control points Pij, i=0..3, j=0..3.
- How would you go about computing the surface normal at an arbitrary point
on a Bézier patch? That is, given some s and t, find the surface normal
at Q(s,t). (Explain how you would derive the answer - it is not necessary to
write out the full expression explicitly.)
- What is the degree of continuity at an interior point of an
nth-order B-spline patch? What is the degree of continuity
at a point on the boundary between two such B-spline patches?
- Show that a quadratic rational Bézier curve in
the plane can generate arbitrary conic sections (i.e.,
arcs of an arbitrary curve of the form
Ax2 + Bxy + Cy2 + Dx + Ey + F = 0).
Short proofs preferred!
- The basic operation in hierarchical frustum culling is testing whether
some primitive shape lies completely inside, lies completely outside, or
crosses the view frustum. Describe how to perform this test for (a) a sphere
and (b) an AABB (axis-aligned bounding box). Assume the equations for the
planes that make up the view frustum are given.
Submitting
Please submit the answers to these questions in writing, or in an email to
smr@cs.princeton.edu, with "CS526" in the subject line.
Plain text email is preferred.
Please see the general
notes on submitting your assignments, as well as the
late policy and the
collaboration policy.
Last update
28-Nov-2018 11:36:09
smr at princeton edu