yuki-koyama / bvh11

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:C++ 94.8%Language:CMake 5.2%