Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/formshot-rendering/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formshot tools

Generated from the engine's command catalogue (formshot 0.14.0) by `./formshot agents sync`; do not edit by hand.
Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand.

## Contents

Expand Down
7 changes: 4 additions & 3 deletions .claude/skills/formshot-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: "Guides work on formshot, the Form-family 3D product renderer by no
license: Apache-2.0
metadata:
nodemode.author: nodemode-ai
nodemode.pack-version: "0.14.0"
nodemode.pack-version: "0.15.0"
---

# Formshot Harness

formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. Read the code before trusting a claim here.
formshot is the Form family's 3D product renderer by nodemode-ai (Apache-2.0): open a model, drag materials onto parts, light it, watch a physically based picture converge, then render stills, animations and variants. It is modeled on its siblings formsurface (shell and service), formsculpt (launcher, setup and engine bridge) and formvis (the shared dock). Current state: v0.2.0, unreleased. The shell, the document and project file, the CPU path tracer and the command line render exist; everything else is planned with the version the plan gives it, and the sub-skills mark it planned. Since then the GPU path tracer (fsh-render-gpu, held to the CPU picture), device choice with a fallback to the CPU, the live viewport (WebGL2 raster modes, picking, gizmo, interaction regimes, an optional WebAssembly engine on WebGPU with a streamed fallback) and the engine-driven crash journal have landed. GPU work has run only on software drivers (lavapipe, SwiftShader, llvmpipe), and the path tracer in the window has not drawn a frame yet. After that came import (3MF, FBX, background jobs, reimport, embedded textures), STEP and IGES through FormCAD's kernel worker (fsh-cad), family hand-offs, material types, texture slots, graphs compiled to a material program, and the material library; both path tracers run material programs with textures (loaded by `fsh-commands/src/textures.rs`), image labels, thin film and dispersion. Then lighting (light spread, edge softness, IES profiles, light and shadow links, the Hosek-Wilkie physical sky, studio presets; pins, finite dome, backplate and background image are in the document but still being rendered), cameras (six projections, bladed and anamorphic apertures, pick focus), the image (grade, effects, AgX, ACES 1.3, OpenColorIO through fsh-ocio), 23 render passes with Cryptomatte, image writers in fsh-io, the render queue, and the denoisers (fsh-denoise, optional Open Image Denoise through fsh-oidn) landed; the GPU port of the denoiser is still being merged. At 0.9.0 shots, material variants and model sets, the configurator with rules, material templates and measurements (document blocks in fsh-scene with groups in fsh-commands), keyed animation with rigs, motion blur on the CPU (the GPU refuses moving scenes), and frame sequences and movies through a separate ffmpeg program landed, with their window pages and the timeline. At 0.10.0 advanced light transport landed on the CPU (nested media, volumes, subsurface, spectral rendering with dispersion, photon caustics, cutaways with caps, rounded edges, fibres) and the GPU ports of media, motion blur, spectral, cutaways and rounded edges; the GPU still refuses caustics, fibres, more than 4 overlapping media and more than 32 cutaways, and `transport.features` says which engine renders what. P16 (0.11.0) brought the editors: node editor preview and setups, the UV editor over fsh-uv, label placement, one Preferences table, shortcuts, workspaces, presentation mode and menus that fit under the bar. P17 (0.12.0) brought exchange: one export scene for GLB, OBJ, STL, PLY, USD and USDZ with fsh-bake for what a format cannot carry, web configurator and spin viewer folders, 3DM, IFC and USD import, and MaterialX and texture set import. P18 (0.13.0) brought agents: a headless service with its own consent and folder rules, MCP profiles with curated `formshot_*` tools, the agent guide in the engine (`help.guide`), a local scripting channel with a Python client, plugins run as processes, live links (`link.*`) with a Blender add-on, Keep in sync for hand-offs, a console in the window, and render setups and a self-test in `formshot-engine`. P19 (0.14.0) brought the render farm: the crate `fsh-farm` (token, sealed wire, bundles, worker, dispatcher; native only, no engine), the `farm.*` commands, `formshot-engine worker` and `farm`, and the Render Farm window; it has run as processes on loopback addresses, not yet on two separate machines in the builders' logs. 0.15.0 was a showcase pass with no engine change: five demo projects in `assets/demos` replace Home's templates (the four built-in templates stay behind New project, imports and `file.new`), the README took the Form family layout with screenshots and renders (the full feature list and the limits are in `docs/FEATURES.md`), and the app wears the owner's two-bottle icon. Read the code before trusting a claim here.

This pack exists so that an agent entering the repo cold edits the right layer, in the right order, under the project laws, and proves the result.

Expand All @@ -32,7 +32,7 @@ Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this fold

| Area | Location | Role |
| --- | --- | --- |
| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.14.0) | everything that knows about scenes, rays and pixels |
| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.15.0) | everything that knows about scenes, rays and pixels |
| fsh-core | `native/crates/fsh-core` | maths, Transform, Ray, Aabb, Rgb in ACEScg, typed ids and document keys, units, the deterministic sampler, warps and MIS heuristics; std only |
| fsh-scene | `native/crates/fsh-scene` | the document, the command enum and its table, undo and redo with merge and groups, change levels, selection, `flatten()` to `RenderSnapshot`; the 18 material types, texture slots, material graphs, the compiler to programs and the preview bake; `lighting/` (IES table, link masks, pins, dome, pictures, reference evaluation, studio presets), camera lens fields, the image style, passes and `denoise_settings.rs`; the document blocks `shots`, `variants` (with model sets), `configurator`, `measure` and `animation` (tracks, keys, rigs), and `motion.rs` (motion blur settings and the shutter flatten); `mesh_replace.rs` (`mesh.replace`, a mesh's data replaced under the same key, the UV editor's one write) |
| fsh-accel | `native/crates/fsh-accel` | two-level binned-SAH BVH, watertight triangle test, `Intersector` |
Expand All @@ -56,6 +56,7 @@ Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this fold
| Python client and plugins | `python/formshot/`, `plugins/`, `python/examples/` | `client.py` (discovery, connect, commands made from the catalogue, batches, events, link helpers), `plugin.py` (the author API) and `plugin_host.py` (the process that runs one plugin), `commands.md` (generated by `agents sync`, never edited by hand); `plugins/template/` and five example plugins; standard library only |
| Blender add-on | `integrations/blender/formshot_link/` | the live link client for Blender 4.2 and later (`channel.py` and `sync.py` use the standard library only, `blender.py` is the one module that imports `bpy`); Apache-2.0 |
| Material presets | `assets/library/` | 249 preset JSON files and the generated `materials/index.json`, and seven studio presets in `studios/`, bundled as a Tauri resource |
| Demo projects | `assets/demos/` | five `.fshot` projects with `thumb.webp` previews and `index.json` (order, names, tags, credits), Home's templates since 0.15.0 through `backend/app/project_library.py` (`demos`, `demo:[id]` templates copied on create); credits in `assets/demos/README.md` and NOTICE.md; bundled as the Tauri resource `demos` |
| Sidecar entry | `backend/formshot_engine.py` | PyInstaller entry, frozen as `formshot-engine-backend` |
| Desktop | `src-tauri/` (Tauri 2) | splash, sidecar start, window key, main window, `.fshot` association, updater |
| Dispatcher | `./formshot`, `./build_app` and `setup/` | one script per task; `serve --headless`, `mcp` (`mcp/server.py`, `setup/mcp_stdio.py`), `script` (`setup/script.py`), `agents` (`setup/agents.py` with `agents_guide.py` and `agents_python.py`) |
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/formshot-rendering/references/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# formshot tools

Generated from the engine's command catalogue (formshot 0.14.0) by `./formshot agents sync`; do not edit by hand.
Generated from the engine's command catalogue (formshot 0.15.0) by `./formshot agents sync`; do not edit by hand.

## Contents

Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

Versions follow `v*.*.*` with dots. Dates are US Eastern time; entries before 0.9.0 give the UTC date. FormShot has not been released; these versions exist in the repository only.

## 0.15.0 · 2026-12-05

Showcase: five demo projects replace Home's templates, the README takes the Form family layout with screenshots and renders of the demos, and the app wears the owner's new icon.

### Added

- Five demo projects in `assets/demos/`: Headphones and a Racing helmet (our own models, Apache-2.0), the chess set "A Beautiful Game" (the MaterialX Project and Ed Mackey, CC BY 4.0), the "Materials Variants Shoe" (Shopify, CC BY 4.0) and the "Toy Car" (Guido Odendahl and Eric Chadwick, CC0), the last three from the Khronos Group's glTF Sample Assets with the chess set's and the shoe's textures reduced to 1024 px. Each keeps an On black and an On white shot over one set of lights; the headphones keep a Finish variant set (Black, Silver) and the shoe a Colourway set (Midnight, Beach, Street). Credits in `assets/demos/README.md` and NOTICE.md.
- The service lists the demos as templates (`demo:<id>`, category Demo, with a credit line), serves their previews at `/api/project-templates/demo/{demo}/thumb`, and creating a project from one copies the demo into the library as a saved project of your own. The desktop bundle carries the demos beside the material library.
- `docs/FEATURES.md`: the full feature list, rendering on a device and the known limits, moved out of the README.

### Changed

- Home's Templates show the five demos with their rendered previews instead of the four built-in templates, which stay behind New project, model imports and `file.new`. Choosing a demo shows its credit and opens the copy.
- The README follows the Form family layout: a hero screenshot, a Features table of four screenshots, a gallery of every demo On black and On white, and credits for the demo models.
- The owner's new icon, a chrome flask and a black square bottle, replaces the aperture in the desktop app's icon set, the window's mark and the README.

### Checked

- tsc and vite build; the backend's demo listing, copying and refusals against a temporary library; Home in headless Chrome with the CPU throttled 4 times and a slow network: the window revealed once, every demo preview in its reserved 16:9 box, layout shift 0. The helmet, headphones, shoe and chess demos opened from Home and settled in the window's viewport, and both shots of all five applied and rendered as intended in the engine; `formshot-engine render --all-shots` rendered a demo's two shots.
- Every new string translated into the 25 languages, with regional words for es-MX and fr-CA.
- Not yet: the desktop app with the bundled demos, Windows and macOS.

## 0.14.0 · 2026-12-05

Render farm: other machines render a project's shots, configurations or frames for this one, over connections that only machines sharing one farm token can open, and every picture equals what this machine would have rendered.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thank you for helping. FormShot is the Form family's 3D product renderer: open a model,
dress its parts in materials, light it and render it in one window, with no account,
running on your own computer, and open to agents over MCP. It is at 0.14.0 and not
running on your own computer, and open to agents over MCP. It is at 0.15.0 and not
released yet, so the most useful help now is careful use and clear reports.

## Where to start
Expand Down
13 changes: 12 additions & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FormShot is licensed under the Apache License 2.0 (see `LICENSE`). Copyright 202

This file is the human list: what each component is and why it is there. `THIRD-PARTY-NOTICES.txt` lists every package that ships with its version and licence; `./formshot notices` replaces it with the full licence texts (copyright lines, conditions and disclaimers) from the installed Python packages, `frontend/package-lock.json`, `native/Cargo.lock`, `src-tauri/Cargo.lock` and the cargo registry, and `./formshot notices --check` checks it covers what ships. It ships in every installer beside this file, is frozen into the service, and is shown in Preferences under About.

FormShot 0.14.0 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs.
FormShot 0.15.0 is unreleased. Licences marked "to confirm" below were not read from package metadata on the machine that wrote this file, and are confirmed when the lock files are complete and `./formshot notices` runs.

## Included in this repository

Expand Down Expand Up @@ -86,6 +86,17 @@ The presets in `assets/library/` are our own work under Apache-2.0. Their number
| USDA AMS Sucrose Conversion Table (Appendix XV) | US government work | refractive index of sugar solutions |
| MFA Boston CAMEO gemstone table, GIA Gem Encyclopedia, LibreTexts Gemology, orders of magnitude of luminance | facts cited, no text or tables copied | gem indices and dispersion, lamp and display luminance |

## Demo projects

The five projects in `assets/demos/` ship with the app and open from Home. Three are made from models in the Khronos Group's glTF Sample Assets; `assets/demos/README.md` says what was changed in each.

| Work | License | Where |
| --- | --- | --- |
| "A Beautiful Game", the MaterialX Project, ASWF (2020), converted to glTF by Ed Mackey (2022); textures reduced to 1024 px | CC BY 4.0 | `assets/demos/chess/` |
| "Materials Variants Shoe", Shopify (2021); textures reduced to 1024 px | CC BY 4.0 | `assets/demos/shoe/` |
| "Toy Car", Guido Odendahl and Eric Chadwick (2020) | CC0 1.0 | `assets/demos/toycar/` |
| Headphones and racing helmet, original models (nodemode-ai) | Apache-2.0, our own work | `assets/demos/headphones/`, `assets/demos/helmet/` |

## Published data and specifications used by the engine

| Source | License or status | Used for |
Expand Down
Loading