CS155 Computer Graphics
Morphing Lab
Today you'll build the morphing data for the class morphing film. You'll also test our new morphing software. If you encounter a problem with the software let me know immediately. At this point the interface is rudimentary. Please make suggestions on how it can be improved. Start by downloading
Run the program morph. The program should display two images; the source on the left is a blue square and the destination on the right is a red circle. Right click in one of the images to enter the first point. Subsequent clicks will add points to create a line strip. Enter "L" to end the current line strip. To edit the existing line strip, select a point by left clicking. Hold the left button down to drag the selected point to a new location. Enter "S" to save your data. The program write the data to "morph.dat". This overwrites any existing data so the program will double check with you before writing. Type "H" for all info about the interface.
Once you have constructed your features you can test them using morphguts. This program reads "source.bmp", "destination.bmp", and "morph.dat" and displays the two images. Enter "M" to create the in-between images. The program will prompt you for the percentage. Enter a number between 0 and 1. The program will do the warps and morph -- be patient it is not fast -- then display the morph image. Enter "d" to cycle through the warps and morph images.
Once you've gotten the hang of the program you should construct the feature set for the morph from your image to the one following you in the image list linked here. (The last person should morph to the first.) When you are happy with your feature set, rename "morph.dat" as FROM_TO where FROM is your first name and TO is the first name of the person following you in the list. Then mail this file to me. I will run a batch program to create the intermediate images and complete the film.