Skip to content

Gnimuc/Assimp.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assimp

CI TagBot Codecov

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)