Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnimuc/assimp.jl
Julia language binding for assimp
https://github.com/gnimuc/assimp.jl
assimp bindings julia
Last synced: 18 days ago
JSON representation
Julia language binding for assimp
- Host: GitHub
- URL: https://github.com/gnimuc/assimp.jl
- Owner: Gnimuc
- License: mit
- Created: 2019-06-03T12:01:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-04T18:09:05.000Z (over 1 year ago)
- Last Synced: 2024-10-12T10:24:12.013Z (27 days ago)
- Topics: assimp, bindings, julia
- Language: Julia
- Homepage: https://github.com/assimp/assimp
- Size: 55.7 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Assimp
![CI](https://github.com/Gnimuc/Assimp.jl/workflows/CI/badge.svg)
![TagBot](https://github.com/Gnimuc/Assimp.jl/workflows/TagBot/badge.svg)
[![Codecov](https://codecov.io/gh/Gnimuc/Assimp.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/Gnimuc/Assimp.jl)## Installation
```
pkg> add Assimp
```## Quick start
```
using Assimp.LibAssimp# load asset
scene = aiImportFile("/your/file/path/xxx.glb",
aiProcess_CalcTangentSpace |
aiProcess_Triangulate |
aiProcess_JoinIdenticalVertices |
aiProcess_SortByPType)
if scene == C_NULL
@error aiGetErrorString() |> unsafe_string
end# do something
# clean up
aiReleaseImport(scene)
```