Skip to content

Preps skeletal meshes to ozz-animation format while also creating intermediate JSON representation of mesh data for your engine

Notifications You must be signed in to change notification settings

ColinGilbert/ozz-assimp-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assimp can be a real pain to use with skeletal information.

Therefore, I wrote a simple utility that loads a file with Assimp, uses Lemon Graph Library (https://lemon.cs.elte.hu/trac/lemon) to parse it, and exports the info to ozz-animation's own binary format. Furthermore, it uses Cereral to create a JSON of the model for your game engine, all neatly bundled up and ready to use.

To build the example (*nix):

git clone --recursive https://www.github.com/ColinGilbert/ozz-assimp-loader &&
cd ozz-assimp-loader &&
mkdir build &&
cmake ..
&& make

To run the Assimp to ozz importer, run:

./model_importer CesiumMan.gltf

It creates a directory called "output" in its local directory and spits out all necessary files.

Enjoy!

About

Preps skeletal meshes to ozz-animation format while also creating intermediate JSON representation of mesh data for your engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published