Docsity

7 Practice Problems on Computer Graphics - Assignment 6 | CS 3451, Assignments of Computer Graphics

Toggle sidebar
bg1
Practice problems - set 6
1. Let’s say that you iterate a subdivision algorithm (either Loop or Butterfly) on an octahedron model
(8 triangles, 6 vertices, 12 edges). Compute the number of vertices, edges and triangles after:
a) one subdivision
b) two subdivisions
c) three subdivisions
d) a general formula for number of vertices, edges and triangles after Nsubdivisions
2. Consider the two Bezier curves with the following control points:
Curve A: (0,0), (0,1), (2,1), (3,3)
Curve B: (3,3), (4,4), (5,5), (6,8).
Do they join smoothly at (3,3)? If not, move the point where they join (i.e. replace the control point
(3,3) for both curves by some other point) so that they do.
3. Apply subdivision for Bezier curve Cwith control points (0,0), (4.4), (8,4), (12,0). In particular:
(a) Ccan be obtained by tracing a Bezier curve D1and then Bezier curve D2. Compute the control
points of D1and D2using Bezier subdivision.
(b) Ccan be obtained by tracing four Bezier curves E1,E2,E3and E4. Compute the control points of
these curves using subdivision and write them out (four per curve).
4. How many vertices, edges and triangles are there in a tetrahedron after:
1One subdivision step (Loop or Butterfly)
2Two subdivision steps
3Three subdivision steps
4Nsubdivision steps, any N
5. Let P0= (0,0), P1= (0,1), P2= (1,1), P3(1,0). What is BP0P1P2P3(.5)?
6. Given the control points P0= (0,0), P1= (0,1), P2= (1,0), P3= (1,1), P4= (0,0) and P5= (1,1)
compute the first point in the sequence of control points for the same curve obtained by applying one
degree-dB-spline subdivision step for
a) d= 1
b) d= 2
c) d= 3
d) d= 4
e) d= 5
f) d= 6
7. Consider a cubic degree B-spline curve with control points P0, P1, . . .. What is its starting point?
1

Partial preview of the text

Download 7 Practice Problems on Computer Graphics - Assignment 6 | CS 3451 and more Assignments Computer Graphics in PDF only on Docsity!

Practice problems - set 6

  1. Let’s say that you iterate a subdivision algorithm (either Loop or Butterfly) on an octahedron model (8 triangles, 6 vertices, 12 edges). Compute the number of vertices, edges and triangles after:

a) one subdivision

b) two subdivisions

c) three subdivisions

d) a general formula for number of vertices, edges and triangles after N subdivisions

  1. Consider the two Bezier curves with the following control points:

Curve A: (0, 0), (0, 1), (2, 1), (3, 3) Curve B: (3, 3), (4, 4), (5, 5), (6, 8).

Do they join smoothly at (3, 3)? If not, move the point where they join (i.e. replace the control point (3, 3) for both curves by some other point) so that they do.

  1. Apply subdivision for Bezier curve C with control points (0, 0), (4.4), (8, 4), (12, 0). In particular:

(a) C can be obtained by tracing a Bezier curve D 1 and then Bezier curve D 2. Compute the control points of D 1 and D 2 using Bezier subdivision.

(b) C can be obtained by tracing four Bezier curves E 1 , E 2 , E 3 and E 4. Compute the control points of these curves using subdivision and write them out (four per curve).

  1. How many vertices, edges and triangles are there in a tetrahedron after:

1 One subdivision step (Loop or Butterfly)

2 Two subdivision steps

3 Three subdivision steps

4 N subdivision steps, any N

  1. Let P 0 = (0, 0), P 1 = (0, 1), P 2 = (1, 1), P 3 (1, 0). What is BP 0 P 1 P 2 P 3 (.5)?
  2. Given the control points P 0 = (0, 0), P 1 = (0, 1), P 2 = (1, 0), P 3 = (1, 1), P 4 = (0, 0) and P 5 = (1, 1) compute the first point in the sequence of control points for the same curve obtained by applying one degree-d B-spline subdivision step for

a) d = 1 b) d = 2 c) d = 3

d) d = 4 e) d = 5 f) d = 6

  1. Consider a cubic degree B-spline curve with control points P 0 , P 1 ,.. .. What is its starting point?