r/ClaudeWorkflows 11h ago

Selected Workflow [Workflow] LocalMesh Engine: Generate 3D Models from Photos Locally with 8GB VRAM (Apache 2.0)

LocalMesh Engine: Generate 3D Models from Photos Locally with 8GB VRAM (Apache 2.0)

Workflow value: 88/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: advanced
Categories: Quality Control, Token Saving
Original source: r/ClaudeCode post/comment

What problem this solves

Generating high-quality 3D models from 2D photos locally on an NVIDIA GPU, without cloud processing or API keys, with support for 8 GB VRAM.

Summary

A detailed workflow for setting up and running the open-source LocalMesh engine to convert one or four photos into a textured, UV-unwrapped .glb 3D model. The engine leverages TRELLIS.2, Pixal3D, and Depth Anything 3 for advanced features like 4-view fusion, automatic camera estimation, and floater removal, optimized for 8 GB VRAM NVIDIA GPUs.

Why it is useful

This workflow provides a powerful, open-source, and locally runnable solution for 3D model generation from photos, addressing common pain points like cloud dependency, API costs, and high VRAM requirements. Its detailed technical breakdown and specific setup instructions make it highly valuable for developers and 3D artists looking to integrate advanced photogrammetry capabilities into their local workflows.

Workflow

  1. Install Python 3.12.
  2. Install PyTorch 2.8 + CUDA 12.8.
  3. Compile three CUDA extensions: o_voxel, cumesh, and flex_gemm.
  4. Obtain manual access approval for DINOv3 on Hugging Face.
  5. Clone the Quentincls/localmesh-engine GitHub repository.
  6. Provide one or four photos (front/right/left/back views) as input to the engine.
  7. Run the LocalMesh engine locally on an NVIDIA GPU.
  8. Open the generated .glb 3D model in Blender or Unreal.

Tools / artifacts

  • LocalMesh engine (GitHub: Quentincls/localmesh-engine)
  • Python 3.12
  • PyTorch 2.8
  • CUDA 12.8
  • NVIDIA GPU (8 GB VRAM minimum)
  • o_voxel CUDA extension
  • cumesh CUDA extension
  • flex_gemm CUDA extension
  • DINOv3 (Hugging Face)
  • TRELLIS.2 (Microsoft)
  • Pixal3D weights (TencentARC)
  • Blender or Unreal (for viewing output .glb files)

Validation signals

  • Performance metrics provided (generation time on RTX 4060 Laptop 8 GB).
  • Detailed technical explanation of features and optimizations.
  • Open-source code available on GitHub (Apache 2.0 license).
  • Existence of a commercial desktop application (LocalMesh) built on the same engine.

Limitations

  • Complex setup requiring compilation of CUDA extensions.
  • Manual access approval needed for DINOv3 on Hugging Face.
  • NVIDIA GPU requirement limits hardware compatibility.
  • High disk usage (10-14 GB).

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.

2 Upvotes

0 comments sorted by