Skip to content

Motion Capture to BAP values

Brice Donval edited this page Jan 7, 2020 · 9 revisions

The virtual agents can reproduce the data record via Motion Capture system. The module BVHFileReader (Add/Inputs/) has to be connected with MPEG4Animatable module. The main function of this module is to convert the stream of BVH data to BAP data, as body motion of the Greta agents are animated through BAP representation.

drawing

Examples of bhv file are stored in the folder <GRETA_DIR>/bin/Examples/BvhMocap/

The bvh file can have different agent's root position in the space and when you run different bhv file can you see the agent shift or disappear from the current camera view. To overcome this problem in the BVHFileReader interface there are three checkbox: (example of https://github.com/gretaproject/greta/blob/master/bin/Examples/BvhMocap/c-ladder.bvh and https://github.com/gretaproject/greta/blob/master/bin/Examples/BvhMocap/Dance.bvh run with any of the checkbox enabled https://youtu.be/Vxqv0W5gKTg)

  • "Delete initial offset of Root Position" --> the agent root (hip) will move around the initial position (example: https://youtu.be/avfjlQVA94E);
  • "Delete initial offset of Root Orientation" --> the agent will not rotate the root around the y-axis;
  • "No shift in Root Position" --> the agent root will not undergo any shift along the three axes (example: https://youtu.be/W3-_oVEkmiY).

Getting started with Greta

Greta Architecture

Quick start

Advanced

Functionalities

Core functionality

Auxiliary functionalities

Preview functionality

Nothing to show here

Previous functionality (possibly it still works, but not supported anymore)

Clone this wiki locally