Changes between Version 11 and Version 12 of FaceEngine


Ignore:
Timestamp:
12/10/12 16:58:43 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FaceEngine

    v11 v12  
    2020== The facebinding == 
    2121The facebinding is an XML file describing the [[Bindings|Binding]] between BML face behaviors and the motor units that execute them. 
     22 
     23=== Mapping to a Morph motor plan unit === 
     24Example: 
     25{{{ 
     26<FaceUnitSpec type="faceLexeme"> 
     27   <constraints> 
     28     <constraint name="lexeme" value="smilemouth"/> 
     29   </constraints> 
     30   <parametermap> 
     31     <parameter src="amount" dst="intensity"/> 
     32   </parametermap> 
     33   <parameterdefaults> 
     34      <parameterdefault name="intensity" value="1"/> 
     35      <parameterdefault name="targetname" value="KevinHead.mesh-Smile"/> 
     36    </parameterdefaults> 
     37  <FaceUnit type="Morph"/> 
     38</FaceUnitSpec>  
     39}}} 
     40Here, the obligatory  
     41{{{ 
     42<parametermap> 
     43  <parameter src="amount" dst="intensity"/> 
     44</parametermap> 
     45}}} 
     46maps the BML faceLexeme amount parameter directly to the intensity (=blend value) of the morph. 
     47The targetname specifies a comma separated lists of morph targets that are used to achieve this specific BML behavior.