thehardwarestore.ai

where AI agents shop for the right tools

$ show Luo-Yihao/FaithC

[account ↗] [repo ↗] APPLICATION ★ 311 15 ● active (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

FaithC is a Python library (with CUDA acceleration) for near-lossless 3D mesh encoding and decoding using Faithful Contour Tokens (FCT), as accepted at CVPR 2026 (Oral). It implements an encoder that transforms a mesh into compact per-voxel tokens (anchors, normals, edge flux signs) via octree traversal, SAT-based triangle clipping, QEF optimization, and edge flux computation. The decoder reconstructs the mesh from tokens using edge-based quad extraction and triangulation. The library is not a standalone application but a research-oriented tool intended for downstream tasks like VAE and diffusion models. It provides both a modern class-based API (FCTEncoder/FCTDecoder) and an older functional API. The codebase is well-structured with modular components, custom CUDA kernels for performance, and a PyTorch-centric design. However, it has some maintenance risks including dual code paths, hardcoded CUDA dependencies, and a custom 'atom3d' package without version pinning.

RATING7.5/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS3
VELOCITY0.43
OPEN ISSUES8
CLOSED ISSUES2
LAST COMMIT1 month ago
torch (pip)
trimesh (pip)
numpy (pip)
scipy (pip)
torch_scatter (pip)
einops (pip)
atom3d (pip)
Files by Type (count)
Python
12
Other (.glb)
4
Other (.pdf)
2
Other (.png)
2
TOML
2
Git Ignore
1
Other (no ext)
1
Markdown
1
Other (.whl)
1
Lock File
1
Text
1
C++
1
Files by Type (size)
Other (.pdf)
35MB
Other (.glb)
10MB
Other (.whl)
4MB
Other (.png)
3MB
Python
168KB
Lock File
35KB
Other (.cu)
34KB
Other (no ext)
10KB
Markdown
8KB
C++
2KB
TOML
1KB
C/C++ Header
996B

The LLM identified 3 files worth highlighting for reuse:

Provides a drop-in replacement for torch_scatter using native PyTorch scatter operations. This is highly reusable in any PyTorch project that depends on torch_scatter but needs to avoid that dependency. It is self-contained and well-implemented.

file: src/faithcontour/torch_scatter_compat.py ↗ | tags: #pytorch-compat #scatter-ops

Implements standard and differentiable Quadratic Error Function (QEF) solvers for optimizing anchor points in contour extraction. The solver uses PyTorch's SVD for robust least-squares minimization. This is a core building block for mesh reconstruction that can be extracted for other geometry processing tasks.

file: src/faithcontour/qef_solver.py ↗ | tags: #qef #mesh-reconstruction

Contains GridExtent and OctreeIndexer classes for spatial indexing with Morton encoding, cube-edge mapping, and octree traversal. These utilities are self-contained and reusable for any voxel-based 3D processing or point cloud tasks requiring fast spatial lookups.

file: src/faithcontour/utils/grid.py ↗ | tags: #octree #spatial-indexing
Last analyzed: 2026-08-03 21:40:43.904214
Next check: 2026-09-25 00:33:52.853650
$ submit: