This is a Go library that provides a serializable data structure for 3d models and animations. Basically, it provides a set of data structures that represent 3d models, bones and animations as well as functions to decode and encode them. The serialization process uses BSON notation and then is run through zlib.
Additionally, it provides a compiler to take any file that Assimp supports and turns it into a compressed binary file that can be read by this library.
This does require cgo
which means that gcc
should be in your path
when trying to build using this library.
Software requirements:
The gombz compiler also needs:
The gombz compiler called gombzc
can be installed to your $GOPATH/bin
folder
by using the following command:
go install github.com/tbogdala/gombz/cmd/gombzc
- Documentation
- Better command-line flags to better control ASSIMP
- Consider supporting more than one mesh
- Consider including bitangents? Send feedback or create an issue if you feel strongly about this
Gombz is released under the BSD license. See the LICENSE file for more details.