wiki:EmitterEngine

Version 2 (modified by welberge, 6 years ago) (diff)

--

EmitterEngine

Setup

Setup in AsapVirtualHuman? spec:

<AsapVirtualHuman>
  <!-- Breathingemitter that sens small breathing animations every now and then -->
  <Loader id="breathingengine" 
          loader="asap.emitterengine.loader.EmitterEngineLoader">
    <EmitterInfo class="asap.breathingemitter.BreathingEmitterInfo"/>
  </Loader>

  <!-- Blinkemitter that sens small blink animations every now and then -->
  <Loader id="blinkengine" 
          loader="asap.emitterengine.loader.EmitterEngineLoader">
    <EmitterInfo class="asap.blinkemitter.BlinkEmitterInfo"/>
  </Loader>
</AsapVirtualHuman>

== Enabling blinking ==
{{{
<bml xmlns="http://www.bml-initiative.org/bml/bml-1.0"  id="bml1" xmlns:bmlt="http://hmi.ewi.utwente.nl/bmlt" xmlns:bmla="http://www.asap-project.org/bmla">
  <bmlt:blinkemitter id="blinkemitter1" start="0" range="0.5" avgwaitingtime="2"/>  
</bml>
}}}
See also http://asap-project.ewi.utwente.nl/wiki/BMLT#bmlt:blinkemitter