Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)
```