| Shapeshifter:
An Xmorph Tutorial (page 2) by Dr. Michael J. Gourlay |
|
|||||||
|
|
BACK TO PAGE 1 CONTINUED ON PAGE 3 4 Reading image files
Now read the destination image. From the "File" menu, select "Open destination image...". A dialog box will appear asking for a destination image file name. Type in "alien-head-440x450.tga" and press the "Okay" button. An image of an alien face will appear in the right image panel of the Xmorph main window. An alternative way to read the image files is from the command line. To achieve roughly the same effect as the above steps, issue this command:
One benefit of providing Xmorph with the image files at the command line is that the Xmorph main menu automatically resizes itself to fit the image files, without needing scrollbars. Another difference is that the initial number of mesh lines will be different. Whether or not this is desirable depends on the preference of the user. As will be explained soon, the number and position of mesh lines and points can be changed manually. In fact, this is the main purpose of the Xmorph graphical user interace. Each image panel image can be dimmed. From within the image panel, select the "Properties" menu, and toggle the "Dim Image" button. The corresponding image will be dimmed. The purpose of dimming an image is to make the mesh lines and points more visible. When an image is dimmed, only its displayed image within the Xmorph image panel is dim. When the image is morphed and written to a file, the original brightness is used. If your display is a grayscale or pseudo-color display (e.g. if your display can not display more than 256 colors) then the images Xmorph displays will not be identical to what is stored in the image files. The displayed images might be dithered, and will have lower display quality than the actual images. The images used internally by Xmorph, however, are the full color images. This means that the image files produced by Xmorph will be truecolor images, even if your display can not show them. The benefit is that Xmorph can be used on low-quality displays yet produce high-quality image files. The image files produced by Xmorph have no relation to the display quality. In fact, a companion program to Xmorph, called Morph, is a command-line-only version of Xmorph which has no image display features at all, and can be run on machines that do not have displays. This allows morphs to be performed offline, distributed across many machines or many processors. This feature will be explained in the next section. |
|||||||
|
© 2003, Digital Media Online, All Rights Reserved
| |||||||