SpectraLipz Wav Player for Animation Lipsync

 

MOUTH SHAPE 2D DEFINITION FILE FORMAT

File Format Name: Mouth Shape 2D Definition
File Type: Ascii Text (*.txt)
Code: SLMS2D
Version: V1
Last Update: Feb. 17, 2006

This file format defines the mouth shapes displayed in the Spectralipz software. This is used in the menu option FILE -> IMPORT -> MOUTH SHAPE DEFINITION. There are two types of mouth shapes that can be defined, 2D which consists of a list of images and 3D which consists of a mesh and morphshapes. This file describes the 2D type.

A 2D mouth shape definition is composed of a mouth shape definition file and the refered image files. All these files must be located in the same directory.

The Mouth Shape Definition File

This file format is composed of lines of plain ASCII text. Each line is terminated with CR/LF (carriage return/line feed). This file can be viewed or edited by any plain text editor (e.g. Windows NotePad). The file's default extension is ".txt"

The first two lines of the file should always be the following. This merely states the file type and the version.

SLMS2D
V1

The file can then contain any number of image definition lines. These have the following format.

defMouthShape <name> <image filename> <comments>

The following is the contents of the default mouth shape definition that comes with the software.

SLMS2D
V1
defMouthShape "rest" "defMale_rest.tga" "Rest"
defMouthShape "AI" "defMale_ai.tga" "A I"
defMouthShape "E" "defMale_e.tga" "E"
defMouthShape "O" "defMale_o.tga" "O"
defMouthShape "U" "defMale_u.tga" "U"
defMouthShape "CD" "defMale_cd.tga" "C D G K N R S TH Y Z"
defMouthShape "FV" "defMale_fv.tga" "F V (D TH)"
defMouthShape "L" "defMale_l.tga" "L (D TH)"
defMouthShape "MB" "defMale_mb.tga" "M B P"
defMouthShape "WQ" "defMale_wq.tga" "WQ"



The Image Files

The image files must be 24 bit .tga files with a resolution of 256 x 256.

 

 

©2005 Alexander Calero