Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rishabh-bector/assimp-golang

Golang port of the Open Asset Import Library.
https://github.com/rishabh-bector/assimp-golang

Last synced: about 2 months ago
JSON representation

Golang port of the Open Asset Import Library.

Awesome Lists containing this project

README

        

Assimp-Golang
======

Go port of the Open Asset Import Library, a modified version of the one here: https://github.com/krux02/assimp

To use this port, you must have Assimp installed and in your path. You must also have a working CGO setup, which requires MinGW or similar for Windows.

Usage:

```go
package main

import (
assimp "github.com/rishabh-bector/assimp-golang"
)

func main {

scene := assimp.ImportFile("random.fbx", uint(assimp.Process_Triangulate|assimp.Process_FlipUVs))

rootNode := scene.RootNode()
// etc etc
}
```

See the implementation of glutils here: https://github.com/raedatoui/glutils/blob/master/model.go for a more full example.