Scientific Visualization and Animation using Bezier Surfaces
An Introduction
|
Prof. David Bernstein
James Madison University
|
|
Computer Science Department
|
bernstdh@jmu.edu
|
Bezier Surfaces in OpenGL (cont.)
Using an Evaluator
svaexamples/surfaces/edit.c
(Fragment: mesh)
Bezier Surfaces in OpenGL (cont.)
Initialization
svaexamples/surfaces/edit.c
(Fragment: setup)
A Simple Surface Editing Program
svaexamples/surfaces/edit.c
Adding Lighting and Shading
Using the Evaluator to Fill
svaexamples/surfaces/shade.c
(Fragment: surface)
Adding Lighting and Shading (cont.)
Initialization
svaexamples/surfaces/shade.c
(Fragment: setup)
There's Always More to Learn