russimp 0.1.5

Assimp bindings for rust
Documentation

russimp russimp Crates.io

Rust bindings for Assimp (https://github.com/assimp/assimp)

Overview

Russimp is a library for talking to the assimp library which enables you to read 3d models in different formats to a common structure. These bindings are based on assimp v5.0.1.

Helping

You are very welcome to help with development, adding a feature, fixing a problem or just refactoring. Try to do it with tests =)

We need help to compile it on windows and on mac.

Testing

To test the api on your local machine you will need to have the environment variable GITHUB_WORKSPACE set up with the project root path.

GITHUB_WORKSPACE=./ cargo test --verbose

Requirements

Rust

You will need rust stable, cmake, C and C++ compiler as well.

How to use it?

Just call Scene::from with the filename and the flags you want. From the scene you will have access to the underlying structs.

let scene = Scene::from("myfile.blend",
vec![PostProcessSteps::CalcTangentSpace,
     PostProcessSteps::Triangulate,
     PostProcessSteps::JoinIdenticalVertices,
     PostProcessSteps::SortByPType]).unwrap();