Homework 4: Curves

This is a curve modeler that allows the user to draw straight lines, bezier curves, and bspline curves and to use those 2D curves to generate a simple surface of revolution. The user may then edit the curve as they wish, adding, removing, and moving control points as they desire. The color as well as x-rotation of the 3D model can also be toggled.

Michelle Bu (-cx)

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player



INSTRUCTIONS:
'm', then 'w/s' to rotate the rendered 3D image up and down, respectively.
Toggle 'r/g/b', then 'w/s' to adjust the red, green, blue values of the rendered 3D image higher and lower, respectively.
'0' to draw straight lines.
'1' to draw Bezier curves.
'2' to draw Bspline curves.
'3' to draw Bezier curves recursively (though 3D rendering is buggy).
'+' to increase level of detail in curves.
'-' to decrease level of detail in curves.
'z' to enter zoom mode, then drag mouse to zoom in/out.
Left click to add a control point.
Right click to delete a control point.
Left click and drag to move a control point.
'q' or ESC to quit.
There is a bit of lag towards the end of the video when drawing the bezier curve recursively. This is because the screencasting coupled with the high level of detail that was previously set for the other curves severely pummelled my CPU.