Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/rishabh-bector/assimp-golang
- Owner: rishabh-bector
- License: mit
- Created: 2019-01-30T04:07:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T04:16:28.000Z (over 5 years ago)
- Last Synced: 2024-06-10T08:48:04.397Z (3 months ago)
- Language: C++
- Size: 1.59 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - rishabh-bector/assimp-golang - Golang port of the Open Asset Import Library. (C++)
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 mainimport (
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.