C481 B581 Computer Graphics
Dana Vrajitoru

Interpolating Curves and Surfaces

Interpolating Curves

      

Bezier Curves
Some of the control points are used to define the tangent to the curve.

Spine Curves

Surfaces

NURBS in OpenGL

GLUnurbsObj *nobj;
nobj = gluNewNurbsRendered();
gluBeginSurface(nobj);
gluNurbsSurface(nobj, 
  nrk, knots, nr, knots, du, dv, 
  points, 4, 4, surf_type);
gluEndSurface(nobj);
// type: GLU_MAP2_VERTEX_3

Triangulation

Def. Given a set of points or vertices V={v1, v2, ..., vn}, find a set of triangles T={t1, t2, ..., tm} such as:

Lazy Algorithm

   

Open and Interesting Problems