#3d-model #file-format #wavefront-obj #gltf #model #obj #assimp

modelz

A library to load various 3D file formats into a shared, in-memory representation

5 releases

0.1.4 Jul 26, 2024
0.1.3 Jul 25, 2024
0.1.2 Jul 21, 2024
0.1.1 Jul 21, 2024
0.1.0 Jul 20, 2024

#43 in Data formats

Custom license

34KB
675 lines

Modelz

Latest Version

Modelz is a Rust library to load various 3D file formats into a shared, in-memory representation.

Getting Started

You can fully load an 3D Model/Scene using just one line of code

let model = Model3D::load("model.gltf").except("Failed to load");

You can also specify a format Modelz should use

let model = Model3D::from_format("model", ModelFormat::OBJ).except("Failed to load")

What is supported

  • Wavefront OBJ
  • glTF 2.0
  • STL
  • PLY

Contributing

Contributions are welcome!. If you'd like to help improve the library or add support for new formats, feel free to submit a pull request.

Note

Modelz is inspired by the popular open-source library Assimp.

Dependencies

~3.5–6MB
~110K SLoC