assimp 0.0.2 assimp: ^0.0.2 copied to clipboard
Dart bindings for Open Asset Import Library aka Assimp, which can import various well-known 3D model formats in a uniform manner.
Dart bindings for Assimp #
This library provides FFI bindings to Open Asset Import Library aka. Assimp, which is a portable library to import and export various well-known 3D model formats in a uniform manner.
Usage #
import 'package:assimp/assimp.dart';
final scene = Scene.fromFile('path/to/3d-model.obj');
for (final mesh in scene.meshes) {
// ...
}
To use this package, add assimp
as a dependency in your pubspec.yaml file.
Status #
This package is currently in alpha stage and supports read-only imports with Assimp 5.x, and has so far been developed and tested on 64-bit desktop platforms only. The documentation is still more or less direct copy-paste from the original library, and is therefore full of broken references.
Notice also that dart:ffi is still in beta, and many fundamentally important features are still in research and development: