Interactive Computer Graphics: Assignment 6
Topics:
- OpenGL evaluators and Bezier curves: Drawing a Bezier curve using
OpenGL evaluators
- Interaction: User has the ability to interactively change the
location of the control points
Develop a program that allows the user to interactively input an arbitrary
number of 2D points up to a maximum number (10 to 15?). Draw a single N-th order
Bezier curve, where N is the number of control points. Once the curve is
drawn, allow the user to pick and move the control points.
You may find these two programs useful for your project:
pick.c,
bezier.c.
Grading Scheme
- Interactive input and clearing of control points : 2 points
- Drawing an N-th order Bezier curve : 2 points
- Picking and moving control points : 3 points
- Correctly redrawing Bezier curve with modified control points : 1 point
- Make the selected control point follow the
cursor (during a button click, hold and release sequence) : 1 point
- Continuously update the curve during control point dragging: 1 point
Last modified January 11, 2010.