#file-format #wavefront-obj #gltf #stl #ply #obj #assimp

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

#39 in Data formats

Download history 13/week @ 2024-09-16 24/week @ 2024-09-23 5/week @ 2024-09-30 169/week @ 2024-10-07 16/week @ 2024-10-14 116/week @ 2024-11-11 117/week @ 2024-11-18 70/week @ 2024-11-25

303 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
~56K SLoC