Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuki-koyama/bvh11
A tiny C++11 library for reading BVH motion capture data
https://github.com/yuki-koyama/bvh11
bvh cpp11 motion-capture
Last synced: about 2 months ago
JSON representation
A tiny C++11 library for reading BVH motion capture data
- Host: GitHub
- URL: https://github.com/yuki-koyama/bvh11
- Owner: yuki-koyama
- License: mit
- Created: 2018-08-09T15:52:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-26T10:19:24.000Z (over 3 years ago)
- Last Synced: 2024-10-13T01:27:47.745Z (2 months ago)
- Topics: bvh, cpp11, motion-capture
- Language: C++
- Homepage:
- Size: 4.34 MB
- Stars: 40
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeCppGameDev - bvh11
README
# bvh11
[![macOS](https://github.com/yuki-koyama/bvh11/actions/workflows/macos.yml/badge.svg)](https://github.com/yuki-koyama/bvh11/actions/workflows/macos.yml)
[![Ubuntu](https://github.com/yuki-koyama/bvh11/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/yuki-koyama/bvh11/actions/workflows/ubuntu.yml)
![GitHub](https://img.shields.io/github/license/yuki-koyama/bvh11)A tiny C++11 library for reading (and writing) BVH motion capture data.
![](./docs/sample.gif)
## Dependencies
- C++11 standard library
- Eigen 3 (`brew install eigen`)### Additional Dependencies for Demos (Optional)
- three-dim-util
- Eigen 3 (`brew install eigen`)
- Qt 5 (`brew install qt`)## Usage
### Build and Install
```bash
git clone https://github.com/yuki-koyama/bvh11.git --recursive
mkdir build
cd build
cmake ../bvh11
make
make install
```### Import (and Export) BVH Data
```cpp
#includeint 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.