Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.
/ gombz Public archive

a Go language library providing a serializable data structure for 3d models and animations

License

Notifications You must be signed in to change notification settings

tbogdala/gombz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOMBZ

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.

Requirements

This does require cgo which means that gcc should be in your path when trying to build using this library.

Software requirements:

  • Mathgl - for 3d math
  • BSON - a BSON implementation in Go for binary serialization

The gombz compiler also needs:

  • Assimp version 3.1 - tested with this version
  • Assimp-go - Go wrappers for Assimp

Compiler Installation (gombzc)

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

TODO

  • 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

LICENSE

Gombz is released under the BSD license. See the LICENSE file for more details.

About

a Go language library providing a serializable data structure for 3d models and animations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages