An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# The Motion Analysis HTR to SMD Converter


Screenshot

## 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/)