Drawing Bezier Surfaces
Simple approach is to loop through uniformly spaced increments of u and v
DrawSurface(void)
{
for (int i = 0; i < imax; i++) {
float u = umin + i * ustep;
for (int j = 0; j < jmax; j++) {
float v = vmin + j * vstep;
DrawQuadrilateral(...);
}
}
}
Watt Figure 6.32
Previous slide
Next slide
Back to first slide
View graphic version