Skip to content

A tiny C++11 library for reading BVH motion capture data

License

Notifications You must be signed in to change notification settings

yuki-koyama/bvh11

Repository files navigation

bvh11

macOS Ubuntu GitHub

A tiny C++11 library for reading (and writing) BVH motion capture data.

Dependencies

Additional Dependencies for Demos (Optional)

Usage

Build and Install

git clone https://github.com/yuki-koyama/bvh11.git --recursive
mkdir build
cd build
cmake ../bvh11
make
make install

Import (and Export) BVH Data

#include <bvh11.hpp>

int main()
{
  // Import data
  auto bvh_object = bvh11::BvhObject("/path/to/bvh/data.bvh");

  // Do something (e.g., render the motion data, apply some processing, etc.)
  
  // Export data (if necessary)
  bvh_object.WriteBvhFile("/path/to/bvh/new_data.bvh");

  return 0;
}

License

MIT License.

Contributing

Contributions are welcome.