#gltf #stl #ply #graphics #assimp #obj

modelz

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

6 releases

0.1.5 Oct 10, 2024
0.1.4 Jul 26, 2024

#181 in Data formats

Download history 7/week @ 2024-11-28 3/week @ 2024-12-05 9/week @ 2024-12-12 10/week @ 2025-02-06

630 downloads per month

MIT license

34KB
676 lines

Modelz

Latest Version

Modelz is a Rust library to load various 3D file formats into a shared, in-memory representation. With minimal depenencies and fast performance

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

~1.2–3MB
~57K SLoC