Skip to content
pubscout

ditredi

2.0.2, released 3 years ago by jelenski.net

Displays large 3D datasets and meshes on a transparent canvas in Flutter.

WASM-ready
$ flutter pub add ditredi

What it does

Renders static 3D shapes like cubes, faces, lines, meshes, and points efficiently in a Flutter widget. It supports transformations, camera control, lighting, and loading .obj files with materials.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display static 3D meshes or large datasets in your Flutter app.
  • You want to load and render 3D models from .obj files.

Skip it when

  • You are trying to build a complex 3D game engine.
  • You need advanced physics simulation or real-time skeletal animation.

Strengths

  • Efficiently renders large 3D datasets on a transparent canvas.
  • Out-of-the-box support for multiple geometric shapes and .obj file parsing.
  • Provides built-in scene controllers and draggable camera widgets.

Weaknesses

  • Not intended for full 3D game engine features.
  • Limited to material (.mtl) colors for .obj files.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
DiTreDi(
    figures: [
        Cube3D(2, Vector3(0, 0, 0)),
    ],
)

Alternatives

Packages that do the same job and could replace ditredi.

Works with

Packages commonly used together with ditredi: ones it builds on, ones built on it, and its own family.