Final Project - Triangle Mesh Morphing

Tim Curtis

CPSC 604

12/7/2011

For this project, I utilized a triangle warping algorithm to create a frame-by-frame morph from one image into another. I first brought both images into openGL, and drew points over each of the images. Triangles were created from the sets of points for each image. I blended the two images incrementally to create several intermediate images that exhibit the morphing process, which you can see below.

Algorithms using Barycentric Coordinates were used in the program.

For my first example, I warped a stop sign into a cross walk sign:

Stop Sign Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5 Intermediate 6 Intermediate 7 Intermediate 8 Intermediate 9 Crosswalk Sign

The animated GIF:

Animated Sign Morph

My next example was much more complicated, using human faces instead of simple geometric figures:

Face 1 Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5 Intermediate 6 Intermediate 7 Intermediate 8 Intermediate 9 Face 2

The animated GIF:

Animated Sign Morph