https://github.com/hampta/htr2smd
Python HTR to SMD Converter
https://github.com/hampta/htr2smd
animation converter cryengine crytek htr python smd valve
Last synced: 12 months ago
JSON representation
Python HTR to SMD Converter
- Host: GitHub
- URL: https://github.com/hampta/htr2smd
- Owner: hampta
- License: mit
- Created: 2024-01-04T13:42:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T16:14:01.000Z (about 2 years ago)
- Last Synced: 2025-01-03T22:16:43.913Z (about 1 year ago)
- Topics: animation, converter, cryengine, crytek, htr, python, smd, valve
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Motion Analysis HTR to SMD Converter
## Introduction
[HTR](https://research.cs.wisc.edu/graphics/Courses/cs-838-1999/Jeff/HTR.html) is a hierarchical representation of a motion sequence.
It is a sequence of hierarchical transformations, each of which is a 3D translation followed by a 3D rotation.
The HTR format is used by [Cryengine](https://www.cryengine.com/).
This tool converts HTR files to the [SMD](https://developer.valvesoftware.com/wiki/Studiomdl_Data) format used by the [Source Engine](https://developer.valvesoftware.com/wiki/Source_Engine).
## Installation
### From Source
```bash
git clone https://github.com/hampta/htr2smd
cd htr2smd
python htr2smd.py
python htr2smd.py
python htr2smd.py
python htr2smd.py
```
### From compiled binary
Download the executable from releases - [htr2smd](https://github.com/hampta/htr2smd/releases/latest)
```bash
./htr2smd.exe
./htr2smd.exe
./htr2smd.exe
./htr2smd.exe
```
Or just drag and drop the HTR file(s) or folder(s) onto the executable.
After conversion, the SMD files will be created in the *SMD* folder in the same directory as the HTR file(s) or folder(s).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgements
* [Valve Corporation](https://www.valvesoftware.com/) for the [Source Engine](https://developer.valvesoftware.com/wiki/Source_Engine)
* [Crytek](https://www.crytek.com/) for [Cryengine](https://www.cryengine.com/)