14 releases

0.2.3 Jul 12, 2021
0.2.2 Jun 27, 2021
0.2.0 May 6, 2021
0.1.9 Apr 12, 2021
0.1.1 Dec 15, 2020

#23 in Rendering

Download history 29/week @ 2021-04-07 24/week @ 2021-04-14 23/week @ 2021-04-21 13/week @ 2021-04-28 15/week @ 2021-05-05 21/week @ 2021-05-12 5/week @ 2021-05-19 2/week @ 2021-05-26 3/week @ 2021-06-02 15/week @ 2021-06-09 30/week @ 2021-06-16 25/week @ 2021-06-23 7/week @ 2021-06-30 17/week @ 2021-07-07 31/week @ 2021-07-14 8/week @ 2021-07-21

62 downloads per month

Custom license

98KB
2K SLoC

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.

This is an ongoing work. I am working on it when I have time to spare.

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.

Make sure to run cargo fmt before creating a pull request.

Requirements

Rust

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

How to use it?

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

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

Dependencies

~0.6–2.5MB
~54K SLoC