SiGML Extensions

From Virtual Humans
Revision as of 14:53, 10 May 2014 by John.Glauert (talk | contribs) (Avatar Settings for Camera, Avatar, and Ambients.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main Page >> SiGML


Player Settings

A number of extensions to SiGML are available when using JASigning to animate SiGML data. These enable some actions of the player to be scripted with a SiGML file. The current extensions are provided by adding a <player_settings\> element between signs in the SiGML file. The <player_settings\> element encloses one or more settings elements.

Camera Settings

The camera location is controlled by eight parameters that can be provided in a .properties file or an app <argument/> or applet <param/>. Changes to the settings caused by use of the mouse with modifier keys are reflected on the Java Console Log and can be copied to use as initial camera settings.

The first six camera settings can be changed during the course of playing a SiGML file with <player_settings/> as in the following example:

<player_settings>
  <camera_location cx="0.00" cy="0.50" r="4.50" theta="30.0" phi="40.0" fov="30.0"/>
</player_settings>

Avatar Choice

JASigning accepts commands to switch between avatars through menu choices, through messages on a special socket for the SiGML Service Player app, and through <player_settings/> in SiGML files.

<player_settings>
  <avatar name="marc"/>
</player_settings>

Ambient Motion Settings

The JASigning software accepts <player_settings/> to control the ambient motion behaviour. However, these settings refer to features of older player sofware and are ignored by JASigning at present.

<player_settings>
  <ambient_motions body="ON" head="ON" blink="ON"/>
</player_settings>

Main Page >> SiGML