Repository navigation
Initial public release of Inkray, a geometry- and lighting-aware photo editor built with React, Three.js WebGL2, and FastAPI.
Highlights
- Monocular 3D & Intrinsic Inference: Reconstructs 3D depth, points, normals, and camera intrinsics with MoGe-3 (
Ruicheng/moge-3-vitl) and decomposes lighting into albedo, diffuse shading, and residual layers with Marigold IID Lighting v1.1 (prs-eth/marigold-iid-lighting-v1-1). - Automatic Surface-Aware Painting: Paints freehand brush strokes and placed 2D artworks onto photographs using automatic planar fitting, bounded geodesic / intrinsic curved-surface wrapping, foreground occlusion depth-testing, or 2D fallback.
- Lighting-Aware Compositing & Layer Stack: Supports Flat, Shading, and Texture compositing modes on GPU, 2D Artwork Canvas creation/import, multi-layer Brush Objects and Scene Objects drag-and-drop priority ordering, undo/redo, and full-resolution PNG export.
- Inspection & Caching: Includes RGB, Depth, Normals, Mask, Albedo, Shading, Residual, 3D Point Cloud, and 2.5D Triangle Mesh views backed by SHA-256 disk caches and sequential CUDA VRAM offloading.
Notes
- Local ML inference in this release requires Linux or Windows (CPU or CUDA; CUDA recommended for MoGe-3 sparse refinement).
- Quick Start instructions and model attribution are documented in
README.md.