Changes between Version 3 and Version 4 of Bindings


Ignore:
Timestamp:
12/10/12 16:33:51 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Bindings

    v3 v4  
    44== Spec == 
    55A binding contains different specs, each mapping from a BML behavior with certain properties to one or more motor units. 
     6 
     7== motor unit definition == 
     8Defines the motor unit for the spec. This is Engine dependent. 
     9For example: 
     10<FaceUnitSpec type="faceLexeme"> 
     11  ...  
     12  <FaceUnit type="Morph"/> 
     13</FaceUnitSpec> 
     14This hooks up the spec to a motor unit that morphs the face. 
    615 
    716== type == 
     
    4150<gaze xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" influence="EYES" bmlt:dynamic="true"... /> 
    4251}}} 
     52 
     53== parametermap == 
     54The parametermap maps parameter values from BML to the motor unit. For example: 
     55{{{ 
     56<parametermap> 
     57  <parameter src="amount" dst="intensity"/> 
     58</parametermap> 
     59}}} 
     60sets the value of BML behavior parameter "amount" to motor parameter "intensity". 
     61 
     62== parameterdefaults == 
     63Set default parameter values for a motor unit. Such defaults are overwritten by values set through the parametermap. 
     64 
     65Example: 
     66{{{ 
     67<parameterdefaults> 
     68  <parameterdefault name="intensity" value="1"/> 
     69  <parameterdefault name="targetname" value="KevinHead.mesh-Smile"/> 
     70</parameterdefaults> 
     71}}}