instantreality 1.0

Component:
H-Anim
Status:
partly implemented
Structure type:
concrete
Standard:
X3D3.0

HAnimDisplacer

HAnimDisplacer can be used in three different ways: (a) identify vertices corresponding to a particular feature on the HAnimSegment, (b) represent a particular muscular action displacing vertices in various directions (linearly or radially), and (c) represent a complete configuration of the vertices in an HAnimSegment. For example, in the case of a face, there might be an HAnimDisplacer for each facial expression. Hint: name suffixes include _feature, _action and _config. Multiple HAnimDisplacer nodes must appear consecutively inside HAnimSegment.

Inheritance

Code

XML encoding
<HAnimDisplacer coordIndex=''
displacements=''
name=''
weight='0.0'
logFeature=''
 />
Classic encoding
HAnimDisplacer {
	coordIndex []
	displacements []
	name ""
	weight 0.0
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFInt32 coordIndex MFInt32 inputOutput Defines coordinate array of HAnimSegment vertices affected by HAnimDisplacer indices provide order in which coordinates are applied order starts at index 0, commas are optional between sets use -1 to separate indices for each feature
MFVec3f displacements MFVec3f inputOutput Set of 3D values added to neutral or resting position of each set of HAnimSegment vertices referenced by coordIndex field
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFString name SFString inputOutput name must be present so that HAnimHumanoid can be identified at runtime name needs to match DEF name!
SFFloat weight SFFloat inputOutput 0.0 Scale displacements using weight value before adding them to neutral vertex positions.