Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
494 commits
Select commit Hold shift + click to select a range
7cd1159
feat(library): keep the library panel state across reloads
nodemode-ai Dec 2, 2026
6877529
feat(i18n): add the library namespace with every language file
nodemode-ai Dec 2, 2026
beb2808
feat(library): load preset thumbnails through a small decode queue
nodemode-ai Dec 2, 2026
6182fc4
feat(library): add a virtual tile grid that recycles its nodes
nodemode-ai Dec 2, 2026
814ce89
feat(library): send the preset hash with thumbnail requests
nodemode-ai Dec 2, 2026
fc71d56
feat(library): add the preset details popover
nodemode-ai Dec 2, 2026
51e6d77
feat(library): add apply, favorite and remove actions with a tile menu
nodemode-ai Dec 2, 2026
33eb3ad
feat(library): add a viewport drop target for presets
nodemode-ai Dec 2, 2026
802e157
feat(library): drag a preset tile with a hint near the pointer
nodemode-ai Dec 2, 2026
77f9de8
feat(library): add the save selected material sheet
nodemode-ai Dec 2, 2026
6b0a69b
feat(service): add uv and tangent sections to the FSHM mesh block
nodemode-ai Dec 2, 2026
0d7bc0b
feat(raster): read uv0, tangents and material revisions
nodemode-ai Dec 2, 2026
602a053
feat(meshes): mark instances whose part colour replaces the material
nodemode-ai Dec 2, 2026
2f8e17b
feat(raster): fetch and decode material preview maps
nodemode-ai Dec 2, 2026
73df230
feat(raster): shade material mode from preview maps with ggx lights
nodemode-ai Dec 2, 2026
8ab40e2
feat(viewport): load preview maps for the raster material view
nodemode-ai Dec 2, 2026
13634e6
feat(i18n): add the library panel, menu, popover and sheet strings
nodemode-ai Dec 2, 2026
fc8cd1b
feat(library): build the Library panel on the virtual grid
nodemode-ai Dec 2, 2026
30d0d90
feat(scene): give materials an ordered label list
nodemode-ai Dec 2, 2026
38bf9e8
feat(gpu): pack texture sets into the tables block
nodemode-ai Dec 2, 2026
b16e3b4
feat(gpu): refuse material programs the interpreter cannot run
nodemode-ai Dec 2, 2026
abc432b
feat(gpu): upload program blobs, textures and uv sets from the host
nodemode-ai Dec 2, 2026
e9e8f11
feat(gpu): partial uploads for programs and texture sets
nodemode-ai Dec 2, 2026
ab51893
feat(gpu): set_textures on the renderer and a programs feature
nodemode-ai Dec 2, 2026
2b3dc6b
fix(library): restore scroll and the active tile only after the list …
nodemode-ai Dec 2, 2026
30f0e51
feat(io): one image decoder for png, jpeg, hdr and exr
nodemode-ai Dec 2, 2026
543149e
fix(library): keep the result count from resizing the footer
nodemode-ai Dec 2, 2026
669cb00
feat(format): name embedded textures by sha-256 and cap them at 256 mib
nodemode-ai Dec 2, 2026
8687cce
feat(io): turn raw texture slots into material slots on import
nodemode-ai Dec 2, 2026
5aaa68f
feat(library): find the library root, user data and cache folders
nodemode-ai Dec 2, 2026
cbc266e
feat(library): read presets strictly and build their materials
nodemode-ai Dec 2, 2026
cac81a9
feat(library): load the index and check each preset file against it
nodemode-ai Dec 2, 2026
8a6aaa4
feat(library): rank search words over name, tags, category and type
nodemode-ai Dec 2, 2026
d48d72c
feat(library): keep favourites and recent presets in the user state file
nodemode-ai Dec 2, 2026
a635c4b
feat(library): model the material ball for thumbnails
nodemode-ai Dec 2, 2026
26bb036
feat(library): render thumbnails on a background worker
nodemode-ai Dec 2, 2026
e3cd296
feat(library): apply presets to parts and save user presets
nodemode-ai Dec 2, 2026
b81acb6
feat(library): add the library commands to the catalogue
nodemode-ai Dec 2, 2026
0371c99
feat(backend): serve library thumbnails and the preset index
nodemode-ai Dec 2, 2026
8a7a79a
build(tauri): ship the material library as a bundle resource
nodemode-ai Dec 2, 2026
db78f01
feat(io): map gltf textures, samplers and material extensions to slots
nodemode-ai Dec 2, 2026
515ad23
feat(scene): add undoable commands to add, change, move and remove la…
nodemode-ai Dec 2, 2026
9615340
feat(scene): list the label commands with schemas in the catalogue
nodemode-ai Dec 2, 2026
d9d4252
feat(wasm): decode textures and hold them in the window session
nodemode-ai Dec 2, 2026
51b8ff8
feat(wasm): hand scene textures to the gpu viewport
nodemode-ai Dec 2, 2026
23e5d52
feat(frontend): decode textures in a worker beside the window engine
nodemode-ai Dec 2, 2026
7fc91f9
feat(frontend): feed the window session the textures its document sam…
nodemode-ai Dec 2, 2026
510388d
feat(frontend): load textures before the gpu viewport takes a scene
nodemode-ai Dec 2, 2026
1944864
feat(materials): sample textures with mips, wraps and colour spaces
nodemode-ai Dec 2, 2026
d2f80a4
feat(materials): add opcode 24 Label to the program and interpreter
nodemode-ai Dec 2, 2026
61c7d99
fix(library): drop thumbnail downloads whose tiles scrolled away
nodemode-ai Dec 2, 2026
3855404
feat(scene): compile visible labels after slots and graph
nodemode-ai Dec 2, 2026
0730808
fix(scene): box the material inside material.create arguments
nodemode-ai Dec 2, 2026
ae7e0e8
feat(materials): add optics parameters with a cauchy dispersion fit
nodemode-ai Dec 2, 2026
5f754bd
feat(materials): put the thin film on the specular and metal fresnel
nodemode-ai Dec 2, 2026
60ce9e7
feat(render-cpu): carry each instance's thin film and dispersion
nodemode-ai Dec 2, 2026
146dcad
feat(i18n): add the labels namespace in every language file
nodemode-ai Dec 2, 2026
201226e
feat(frontend): parse label lists and place hits in object space
nodemode-ai Dec 2, 2026
9f658c7
feat(frontend): choose label images from the desktop dialog or upload
nodemode-ai Dec 2, 2026
ecd8f95
feat(frontend): add a one-shot surface pick for placing labels
nodemode-ai Dec 2, 2026
35ca532
feat(frontend): show a material's labels with their fields
nodemode-ai Dec 2, 2026
8734b54
feat(gpu): texture lookups in wgsl
nodemode-ai Dec 2, 2026
214a1d5
feat(gpu): material program interpreter in wgsl
nodemode-ai Dec 2, 2026
3debf6c
fix(gpu): pack the leading well-formed mip levels only
nodemode-ai Dec 2, 2026
13af684
feat(wasm): let development runs pick the viewport kernel
nodemode-ai Dec 2, 2026
cc6def6
feat(viewport): accept preset drops from the library
nodemode-ai Dec 2, 2026
b92ef12
feat(library): show preset thumbnails for project materials made from…
nodemode-ai Dec 2, 2026
221a3c9
perf(material-ui): hash the material signature for swatch keys
nodemode-ai Dec 2, 2026
c72ac04
feat(material-ui): choose texture images on desktop and in the browser
nodemode-ai Dec 2, 2026
1cb4e7f
feat(material-ui): edit texture slots of a material
nodemode-ai Dec 2, 2026
8f5aec8
feat(viewport): scale the raster environment by its average colour
nodemode-ai Dec 2, 2026
62bc6be
feat(material-ui): show the material graph and open its editor
nodemode-ai Dec 2, 2026
731f6c0
feat(material-ui): add the save to library action
nodemode-ai Dec 2, 2026
72f3ae8
feat(material-ui): mount the labels and library sections
nodemode-ai Dec 2, 2026
8009745
fix(library): say plainly when the engine has no library commands
nodemode-ai Dec 2, 2026
dbc2dc4
feat(i18n): add the material namespace
nodemode-ai Dec 2, 2026
60c9f47
fix(viewport): keep one preview request per material in flight
nodemode-ai Dec 2, 2026
3f93b30
feat(viewport): follow the viewport quality for preview map sizes
nodemode-ai Dec 2, 2026
fc7215e
feat(import): embed imported textures as project members
nodemode-ai Dec 2, 2026
df86973
feat(import): keep re-imported textures and report them per file
nodemode-ai Dec 2, 2026
eceb5b9
feat(io): map mtl texture maps and their options to slots
nodemode-ai Dec 2, 2026
69bfe19
feat(io): unpack 3mf package textures into base colour slots
nodemode-ai Dec 2, 2026
87685a0
feat(io): map fbx texture properties to slots and unpack embedded media
nodemode-ai Dec 2, 2026
157bc5d
fix(material-ui): keep the textures empty line while a material loads
nodemode-ai Dec 2, 2026
403d63b
feat(library): add the library client for presets and project materials
nodemode-ai Dec 2, 2026
c3ea44c
feat(gpu): run material programs at surface hits
nodemode-ai Dec 2, 2026
e58b530
feat(gpu): ray cone footprint and per-hit eta in the integrator
nodemode-ai Dec 2, 2026
4aa42dd
fix(library): name the part a dropped preset went to
nodemode-ai Dec 2, 2026
402c2a8
feat(render-cpu): build the hit bsdf with its thin film
nodemode-ai Dec 2, 2026
3fa3544
fix(gpu): match the CPU hit context for programs
nodemode-ai Dec 2, 2026
80cf51f
fix(gpu): ray cone widening and programs at emissive samples
nodemode-ai Dec 2, 2026
1033dd3
docs(gpu): refresh the gpu plan text for material programs
nodemode-ai Dec 2, 2026
0e4eb4b
fix(library): give the details popover an opaque surface
nodemode-ai Dec 2, 2026
3260ea1
refactor(library): drop the unused recent reply parser
nodemode-ai Dec 2, 2026
830389e
feat(meshes): send uv set 0, tangents and material revisions
nodemode-ai Dec 2, 2026
c0cbea2
fix(import): snapshot new textures into the crash journal
nodemode-ai Dec 2, 2026
6937cc4
fix(meshes): stat only absolute texture paths for material revisions
nodemode-ai Dec 2, 2026
1841466
fix(library): report every problem of a broken preset and unlisted files
nodemode-ai Dec 2, 2026
7fd0405
fix(library): rank shorter names first and answer unknown ids as argu…
nodemode-ai Dec 2, 2026
3e45b03
fix(library): write saved presets in the format's key order
nodemode-ai Dec 2, 2026
3c0d455
fix(library): frame the ball closer and expose emitters for their colour
nodemode-ai Dec 2, 2026
7128270
perf(viewport): fetch preview maps only for materials on visible parts
nodemode-ai Dec 2, 2026
b54db98
feat(library): add a sha-256 digest for preset hashes
nodemode-ai Dec 2, 2026
d475064
feat(render-gpu): widen the material record for thin film and dispersion
nodemode-ai Dec 2, 2026
58eeca1
fix(import): point missing texture references at the model's folder
nodemode-ai Dec 2, 2026
7df4f9a
feat(io): read displacement maps from mtl and fbx
nodemode-ai Dec 2, 2026
cf40a80
feat(import): report images and texture slots in import.probe
nodemode-ai Dec 2, 2026
260e88a
style(import): satisfy clippy in the fbx map table and member keeping
nodemode-ai Dec 2, 2026
d7ccc4e
revert(wasm): drop the development kernel switch
nodemode-ai Dec 2, 2026
d6dfeb3
feat(commands): add the read-only material.labels command
nodemode-ai Dec 2, 2026
2b4d6c0
feat(engine): hand texture sets to the gpu preview
nodemode-ai Dec 2, 2026
a034b1e
fix(frontend): keep the texture report after the gpu viewport falls back
nodemode-ai Dec 2, 2026
7ee3e61
fix(library): satisfy clippy in the digest, search and listing
nodemode-ai Dec 2, 2026
58dab7d
feat(format): add an in-house sha-256 for naming embedded textures
nodemode-ai Dec 2, 2026
cb327ea
fix(io): store uvs with v pointing up as the texture lookup reads them
nodemode-ai Dec 2, 2026
47aa339
feat(scene): add the label document type for projected images
nodemode-ai Dec 2, 2026
7f6db0f
fix(backend): word the missing texture file reply plainly
nodemode-ai Dec 2, 2026
7c7dad3
fix(frontend): decode only new uses of an unchanged texture file
nodemode-ai Dec 2, 2026
5d5e050
fix(frontend): forget validators of textures the document dropped
nodemode-ai Dec 2, 2026
3e87104
feat(render-cpu): run material programs at hits with ray cone footprints
nodemode-ai Dec 2, 2026
58bf502
feat(commands): load snapshot textures and hand them to the renderer
nodemode-ai Dec 2, 2026
5f95b0c
fix(library): box the material a preset apply creates
nodemode-ai Dec 2, 2026
9957d81
feat(i18n): translate the material page into four languages
nodemode-ai Dec 2, 2026
a281691
feat(render-cpu): trace dispersion with one hero channel per path
nodemode-ai Dec 2, 2026
79ad1bb
feat(i18n): translate the graph page into four languages
nodemode-ai Dec 2, 2026
61b27cf
feat(i18n): translate the graph page into four languages
nodemode-ai Dec 2, 2026
ece1338
feat(render-gpu): port the thin-film fresnel to the wgsl bsdf
nodemode-ai Dec 2, 2026
d196d76
feat(i18n): translate the graph page into three languages
nodemode-ai Dec 2, 2026
2f3fa74
feat(render-gpu): trace dispersion with the cpu's hero channel
nodemode-ai Dec 2, 2026
0732bee
feat(i18n): translate the library page into four languages
nodemode-ai Dec 2, 2026
5e64885
feat(i18n): translate the material page into four languages
nodemode-ai Dec 2, 2026
69c001c
feat(i18n): translate the library page into four languages
nodemode-ai Dec 2, 2026
3628be5
feat(i18n): translate the material page into three languages
nodemode-ai Dec 2, 2026
e8b518e
feat(i18n): translate the graph page into four languages
nodemode-ai Dec 2, 2026
26151f7
feat(i18n): translate the library page into three languages
nodemode-ai Dec 2, 2026
97e1075
feat(i18n): translate the graph page into four languages
nodemode-ai Dec 2, 2026
13a45ff
fix(materials): write two film constants at their f32 precision
nodemode-ai Dec 2, 2026
3019da1
feat(i18n): translate the library page into four languages
nodemode-ai Dec 2, 2026
23cf275
feat(i18n): translate the material page into four languages
nodemode-ai Dec 2, 2026
c7fbecf
fix(i18n): translate the graph link count in danish
nodemode-ai Dec 2, 2026
ce15fd2
feat(i18n): translate the library page into four languages
nodemode-ai Dec 2, 2026
6af4082
feat(i18n): translate the material page into four languages
nodemode-ai Dec 2, 2026
6f08965
feat(i18n): translate the graph page into four languages
nodemode-ai Dec 2, 2026
001e28e
docs(native): log the fsh-io readers, texture slots and hand-offs
nodemode-ai Dec 2, 2026
fc45746
feat(i18n): translate the library page into four languages
nodemode-ai Dec 2, 2026
261a023
feat(i18n): translate the material page into four languages
nodemode-ai Dec 2, 2026
a49604a
docs(native): log kept sources, texture names and the fsh-cad crate
nodemode-ai Dec 2, 2026
281ef3d
docs(native): log material programs, types, slots and graphs
nodemode-ai Dec 2, 2026
6d3b2e8
docs(render-cpu): list the dispersion channel draw in the port spec
nodemode-ai Dec 2, 2026
3bb977f
docs(native): log the ext command groups, jobs, library and cli
nodemode-ai Dec 2, 2026
b283abd
fix(materials): average the rough film albedo over visible normals
nodemode-ai Dec 2, 2026
9219d32
docs(backend): log the import, cad, hand-off, texture and library routes
nodemode-ai Dec 2, 2026
2be6271
docs(backend): say uploaded slot textures stay referenced by path
nodemode-ai Dec 2, 2026
53a4ae1
fix(gpu): pack uv sets as the mesh stores them
nodemode-ai Dec 2, 2026
e95f003
feat(gpu): opcode mask for material_program and its validation
nodemode-ai Dec 2, 2026
80e9146
feat(materials): add the airy thin-film reflectance in acescg
nodemode-ai Dec 2, 2026
14763fb
docs(frontend): log the import, cad, hand-off, material and library ui
nodemode-ai Dec 2, 2026
4209902
docs(setup): log the cad launcher command and the library bundle
nodemode-ai Dec 2, 2026
03b16a7
docs(src-tauri): record that every import format is openable
nodemode-ai Dec 2, 2026
f99b66d
feat(io): read piz compressed openexr images
nodemode-ai Dec 2, 2026
cb0d25f
refactor(frontend): read materials with material.get, not the snapshot
nodemode-ai Dec 2, 2026
87fe4c0
fix(graph): name the space bar apart from coordinate space
nodemode-ai Dec 2, 2026
2f1fc8b
feat(io): decode baseline and progressive jpeg with zune-jpeg
nodemode-ai Dec 2, 2026
68926f9
docs(format): describe slots, graphs, sources and sha-256 textures
nodemode-ai Dec 2, 2026
1c15b6f
feat(io): read pxr24 compressed openexr images
nodemode-ai Dec 2, 2026
bf34c1f
docs(architecture): add fsh-cad, command groups, import and materials
nodemode-ai Dec 2, 2026
da6a8c5
fix(shell): refresh the summary after edits that answer change none
nodemode-ai Dec 2, 2026
89feed4
docs(viewport): describe mesh block flags and preview maps
nodemode-ai Dec 2, 2026
1482a6c
fix(materials): zero non-finite float texels when building a texture
nodemode-ai Dec 2, 2026
7d3ef24
fix(service): announce outside engine edits to the window
nodemode-ai Dec 2, 2026
b85f0f4
docs(materials): add the materials reference
nodemode-ai Dec 2, 2026
ceeba48
docs(import): add the import, cad and hand-off reference
nodemode-ai Dec 2, 2026
04d0af5
docs(library): add the material library reference
nodemode-ai Dec 2, 2026
7ff0782
fix(render-gpu): average the rough film albedo as the cpu does
nodemode-ai Dec 2, 2026
504c3a7
docs(wiki): add import, cad, materials and library pages
nodemode-ai Dec 2, 2026
12d2e0b
docs(readme): list import, cad, hand-offs, materials and the library
nodemode-ai Dec 2, 2026
575b3d9
docs(notices): add the import crates and the library's data sources
nodemode-ai Dec 2, 2026
3a93d09
feat(commands): add the read-only cad.parts command
nodemode-ai Dec 2, 2026
827a008
refactor(frontend): find CAD parts with cad.parts, not the snapshot
nodemode-ai Dec 2, 2026
5b85fba
docs(skills): route import, cad, materials and the library
nodemode-ai Dec 2, 2026
3d7d290
docs(skills): add cad, hand-off and library sub-skills
nodemode-ai Dec 2, 2026
c91d955
docs(claude): note ext groups, fsh-cad, assets/library and stubs
nodemode-ai Dec 2, 2026
42eb058
feat(commands): reload texture files repainted on disk
nodemode-ai Dec 2, 2026
1663ca2
docs(native): correct the reader corpus count to 94 files
nodemode-ai Dec 2, 2026
2857a77
docs(native): log the crash journal hooks and slot validation
nodemode-ai Dec 2, 2026
702d1b6
fix(render-cpu): disperse light sampled through a dispersive surface
nodemode-ai Dec 2, 2026
c527b5b
fix(render-gpu): disperse light sampled through a dispersive surface
nodemode-ai Dec 2, 2026
582c216
feat(backend): serve the document's outside texture files to the window
nodemode-ai Dec 2, 2026
7a5e4a0
fix(scene): map procedural normal outputs into the hit's frame
nodemode-ai Dec 2, 2026
097fc35
refactor(render-cpu): take constant inputs from the program base block
nodemode-ai Dec 2, 2026
58af80b
feat(gpu): widen vertex slots and add the texture frame word
nodemode-ai Dec 2, 2026
1fa8c13
feat(cad): let FORMSHOT_CAD_HELLO_TIMEOUT set the worker start wait
nodemode-ai Dec 2, 2026
f9fd8ed
fix(format): write only the kept sources a node still refers to
nodemode-ai Dec 2, 2026
8ba4a60
feat(wasm): decode every texture format and hand sets to the tracer
nodemode-ai Dec 2, 2026
bb7b448
docs(native): map the import, cad, material and library files
nodemode-ai Dec 2, 2026
1cdf233
docs(native): map the texture, optics, label and wasm texture files
nodemode-ai Dec 2, 2026
7261a23
feat(i18n): translate the labels page into 23 languages
nodemode-ai Dec 2, 2026
3b73d5e
feat(i18n): add the two texture fallback notes to gpuview
nodemode-ai Dec 2, 2026
800742f
feat(commands): add the read-only material.get command
nodemode-ai Dec 2, 2026
a493543
docs(native): log the image decoder, sampler, optics and labels
nodemode-ai Dec 2, 2026
f77620e
feat(scene): add a merging variant of material.set_graph
nodemode-ai Dec 2, 2026
303cb7b
refactor(frontend): merge graph value drags instead of grouping them
nodemode-ai Dec 2, 2026
2be6cc2
docs(native): log programs and optics in both tracers and textures
nodemode-ai Dec 2, 2026
4ba3b7b
docs(backend): log the texture route for the window's engine
nodemode-ai Dec 2, 2026
7ae8569
docs(frontend): log labels, window textures and the translations
nodemode-ai Dec 2, 2026
e30315a
docs(gpu): describe programs, textures, optics and the new layouts
nodemode-ai Dec 2, 2026
d06e99b
docs(materials): add labels, optics, decoding and loading
nodemode-ai Dec 2, 2026
984a20e
docs(viewport): describe textures in the window and the texture route
nodemode-ai Dec 2, 2026
2ee38f2
docs(format): describe material labels in the project file
nodemode-ai Dec 2, 2026
4742234
docs(architecture): programs run in both tracers, labels, 119 commands
nodemode-ai Dec 2, 2026
003938c
docs(readme): textures, labels and optics render in both tracers
nodemode-ai Dec 2, 2026
43ea964
docs(import): say both tracers sample textures and render presets
nodemode-ai Dec 2, 2026
d55b0d9
docs(notices): add zune-jpeg and zune-core
nodemode-ai Dec 2, 2026
fa2a899
docs(skills): programs, textures, labels and optics in the kit
nodemode-ai Dec 2, 2026
e38441b
docs(claude): the labels stub is now the labels section
nodemode-ai Dec 2, 2026
cc23aca
fix(scene): give the cylinder's top cap v-up uvs like the other primi…
nodemode-ai Dec 2, 2026
9b781e6
feat(desktop): hand the bundled library folder to the service
nodemode-ai Dec 2, 2026
53eb967
fix(frontend): load the material types when the material page mounts
nodemode-ai Dec 2, 2026
3378783
docs(format): describe kept CAD sources and when a save writes them
nodemode-ai Dec 2, 2026
a382ef4
docs(native): correct notes that said the tracers ignore programs
nodemode-ai Dec 2, 2026
d553e36
feat(textures): embed images that commands name by path
nodemode-ai Dec 2, 2026
ab0c69c
feat(materials): bake preview maps from the engine's texture cache
nodemode-ai Dec 2, 2026
d4bb750
fix(library): tint metallic paint flakes with the preset's colour
nodemode-ai Dec 2, 2026
af10e06
perf(gpu): pack opaque 8-bit textures in one float per texel
nodemode-ai Dec 2, 2026
004c4b1
fix(render): keep the film when a new material is assigned
nodemode-ai Dec 2, 2026
b1e64e3
feat(gpu): clear only the changed parts' rectangle on material edits
nodemode-ai Dec 2, 2026
b28812a
feat(render): read OpenEXR environment images
nodemode-ai Dec 2, 2026
85b7b8d
feat(textures): keep the environment image inside the project
nodemode-ai Dec 2, 2026
3bb2ba1
fix(cpu): clamp normals that maps bend past the view
nodemode-ai Dec 2, 2026
3d368e4
fix(gpu): clamp normals that maps bend past the view
nodemode-ai Dec 2, 2026
78f83c9
fix(library): give unveined stone presets a granular graph
nodemode-ai Dec 2, 2026
3f62309
fix(import): cut masked glTF materials at their alpha cutoff
nodemode-ai Dec 2, 2026
d534f36
feat(wasm): light the window viewport with the project's HDRI
nodemode-ai Dec 2, 2026
aed5ea9
fix(render): keep textures when the CPU takes over from a failed GPU
nodemode-ai Dec 2, 2026
0b32552
fix(textures): journal images embedded inside a history group
nodemode-ai Dec 2, 2026
adfe787
docs(native): bring earlier entries up to date with polish and qa
nodemode-ai Dec 2, 2026
d80d7fb
docs(native): log the polish and qa engine changes
nodemode-ai Dec 2, 2026
20aa329
docs(backend): log relayed outside edits and embedded uploads
nodemode-ai Dec 2, 2026
a38891e
docs(frontend): log material.get reads, history refresh and tr-7
nodemode-ai Dec 2, 2026
3eb201d
docs(src-tauri): the shell passes FORMSHOT_LIBRARY to the sidecar
nodemode-ai Dec 2, 2026
fe9dd0a
docs(gpu): texture storage 2, region resets and bent normals
nodemode-ai Dec 2, 2026
b086fd1
docs(materials): embedded command images, merged graphs, material.get
nodemode-ai Dec 2, 2026
1802f6d
docs(architecture): region resets on both tracers, relayed edits
nodemode-ai Dec 2, 2026
a2c6cb5
docs(format): images embedded when commands run, embedded environments
nodemode-ai Dec 2, 2026
c18219a
docs(import): hard alpha cutoff, hello timeout and cad.parts
nodemode-ai Dec 2, 2026
f56efad
docs(library): corrected preset graphs and the shell's library path
nodemode-ai Dec 2, 2026
2aea217
docs(readme): embedded images, region resets and relayed edits
nodemode-ai Dec 2, 2026
9b16b4a
docs(skills): material.get, cad.parts, relayed edits in the kit
nodemode-ai Dec 2, 2026
ba55013
build(native): lock the jpeg decoder
nodemode-ai Dec 2, 2026
81c4380
chore(release): 0.6.0
nodemode-ai Dec 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
359 changes: 340 additions & 19 deletions .agents/skills/formshot-rendering/references/tools.md

Large diffs are not rendered by default.

38 changes: 22 additions & 16 deletions .claude/skills/formshot-harness/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
name: formshot-harness
description: "Guides work on formshot, the Form-family 3D product renderer by nodemode-ai: Rust engine workspace (fsh-*), CPU and GPU (wgpu, WGSL) path tracers, the live viewport (WebGL2 raster modes, the WebAssembly engine on WebGPU), layered materials, the .fshot project file, MCP tools, FastAPI service, Tauri desktop. Use whenever a task touches the document, commands, undo, the render snapshot, the BVH, BSDFs, sampling, tone mapping, glTF or OBJ import, the .fshot format or journal, the command registry or catalogue, the MCP endpoint or consent, the agent dock, the window shell, Home, the workspace, the service, the Tauri sidecar, doctor and notices runs, version bumps (0.x from 0.4.0), or any file under native/, frontend/src, backend/app, src-tauri or setup/. Enforces project laws (SEDO, zero DOM flicker, z-index tokens, no tests). Not for formsculpt or formsurface."
description: "Guides work on formshot, the Form-family 3D product renderer by nodemode-ai: Rust engine workspace (fsh-*), CPU and GPU (wgpu, WGSL) path tracers, the live viewport (WebGL2 raster modes, the WebAssembly engine on WebGPU), layered materials, the .fshot project file, MCP tools, FastAPI service, Tauri desktop. Use whenever a task touches the document, commands, undo, the render snapshot, the BVH, BSDFs, sampling, tone mapping, model import (glTF, OBJ, 3MF, FBX, STEP, IGES), hand-offs, material types, slots and graphs, the material library, the .fshot format or journal, the command registry or catalogue, the MCP endpoint or consent, the agent dock, the window shell, Home, the workspace, the service, the Tauri sidecar, doctor and notices runs, version bumps (0.x from 0.6.0), or any file under native/, frontend/src, backend/app, src-tauri or setup/. Enforces project laws (SEDO, zero DOM flicker, z-index tokens, no tests). Not for formsculpt or formsurface."
license: Apache-2.0
metadata:
nodemode.author: nodemode-ai
nodemode.pack-version: "0.4.0"
nodemode.pack-version: "0.6.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. 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. 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 @@ -21,8 +21,8 @@ formshot-harness/
references/evals.md three evaluations and the trigger list
sub-skills/[skill-name]/SUB-SKILL.md
engine-core scene-document cpu-tracer gpu-tracer materials io-formats
command-registry agent-substrate ui-shell viewport engine-service
desktop-shell verification
cad-and-handoffs material-library command-registry agent-substrate
ui-shell viewport engine-service desktop-shell verification
```

Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this folder.
Expand All @@ -31,20 +31,22 @@ 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.4.0) | everything that knows about scenes, rays and pixels |
| Rust engine | `native/` (one Cargo workspace, edition 2021, all crates 0.6.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` |
| 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 |
| fsh-accel | `native/crates/fsh-accel` | two-level binned-SAH BVH, watertight triangle test, `Intersector` |
| fsh-materials | `native/crates/fsh-materials` | the layered surface BSDF (diffuse, GGX, coat, transmission, fuzz) with energy compensation tables |
| fsh-io | `native/crates/fsh-io` | glTF/GLB and OBJ readers to a raw scene, clean-up, PNG and HDR or EXR writers |
| fsh-format | `native/crates/fsh-format` | the `.fshot` stored ZIP, deterministic save, validated load, atomic write, the command journal and recovery |
| fsh-materials | `native/crates/fsh-materials` | the layered surface BSDF (diffuse, GGX, coat, transmission, fuzz) with energy compensation tables; thin film and dispersion (`film.rs`, `optics.rs`); the material program (25 opcodes, 24 the label projection), the texture sampler and mips, its interpreter, texture pixel types and the ten procedural patterns |
| fsh-io | `native/crates/fsh-io` | glTF/GLB, OBJ, STL, PLY, 3MF and FBX (ufbx, native only) readers to a raw scene with texture slots, clean-up with tangents, `probe`, the Form family hand-off readers (`family/`), PNG and HDR or EXR writers |
| fsh-cad | `native/crates/fsh-cad` | STEP and IGES through FormCAD's kernel worker (a child process, JSON lines): locate, client, quality, `.mesh` parsing, colours and shared shapes, file scans; native only |
| fsh-format | `native/crates/fsh-format` | the `.fshot` stored ZIP, deterministic save, validated load, atomic write, embedded textures named by SHA-256, kept CAD sources, the command journal and recovery |
| fsh-render-cpu | `native/crates/fsh-render-cpu` | the CPU path tracer (the specification engine), progressive passes, develop, the a-trous denoiser |
| fsh-render-gpu | `native/crates/fsh-render-gpu` | the GPU path tracer on wgpu 30: one WGSL megakernel, software BVH and ray-query traversal, refusals, bands, readback; held to fsh-render-cpu's picture (the planned-for-0.3.0 tracer, now built) |
| fsh-commands | `native/crates/fsh-commands` | the one catalogue (88 entries) and `dispatch(session, name, args)` over an engine session; device choice and the GPU fallback ladder, interaction regimes, render jobs and the render region, picking and framing, the crash journal |
| fsh-commands | `native/crates/fsh-commands` | the one catalogue (121 entries), the texture loader (`textures.rs`) and `dispatch(session, name, args)` over an engine session; device choice and the GPU fallback ladder, interaction regimes, render jobs and the render region, picking and framing, the crash journal; command groups in `src/ext/` (import with jobs and reimport, cad, handoff, materials, library with its thumbnail worker) |
| fsh-cli | `native/crates/fsh-cli` | `formshot-engine`: render (`--device`), info, convert, devices, bench, catalogue, dispatch (`--journal`) over stdin JSON lines |
| fsh-py, fsh-wasm | `native/crates/fsh-py`, `fsh-wasm` | PyO3 module `fsh_py` and the wasm-bindgen package (session, service mirror, `create_viewport` on WebGPU), both outside the default members |
| Frontend | `frontend/` (vanilla TypeScript, Vite, port 5300) | `src/shell/` frame, registry, menus, Home, settings, dock adapter; `src/ui/` workspace and viewport; `src/engine/` client, streamed render loop, `raster/` (WebGL2), `gpu/` (WebGPU engine), `pkg/` (built wasm, ignored); `src/dock/` shared dock |
| Backend | `backend/app/` (FastAPI, 127.0.0.1:8300) | window key and local guard, projects library, engine bridge (with the journal folder), render routes, mesh and snapshot byte routes, `/mcp`, consent, the agent bus |
| Frontend | `frontend/` (vanilla TypeScript, Vite, port 5300) | `src/shell/` frame, registry, menus, Home, settings, dock adapter; `src/ui/` workspace and viewport, `import/`, `cad/`, `handoff/`, the Material page (`pages/material.ts`, `material/`), the graph editor (`graph/`), the library panel (`library/`); `src/engine/` client, streamed render loop, `raster/` (WebGL2), `gpu/` (WebGPU engine), `pkg/` (built wasm, ignored); `src/dock/` shared dock |
| Backend | `backend/app/` (FastAPI, 127.0.0.1:8300) | window key and local guard, projects library, engine bridge (with the journal folder), render routes, mesh and snapshot byte routes, `/mcp`, consent, the agent bus; `routers/` imports (uploads, sweep), cad (worker fetch), handoff (watcher, offers), textures, library (thumbnails) |
| Material presets | `assets/library/` | 249 preset JSON files and the generated `materials/index.json`, bundled as a Tauri resource |
| 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 |
Expand All @@ -53,10 +55,12 @@ Sub-skill paths resolve as `sub-skills/[skill-name]/SUB-SKILL.md` from this fold

```
fsh-core <- fsh-scene, fsh-accel, fsh-materials
fsh-scene -> fsh-materials (the program types; re-exported as fsh_scene::fsh_materials)
fsh-io, fsh-format -> fsh-core, fsh-scene
fsh-cad -> fsh-core, fsh-io (and FormCAD's kernel worker as a child process, never linked)
fsh-render-cpu -> fsh-core, fsh-scene, fsh-accel, fsh-materials (rayon)
fsh-render-gpu -> fsh-core, fsh-scene, fsh-accel, fsh-materials, fsh-render-cpu (wgpu, bytemuck; pollster natively)
fsh-commands -> every crate above (fsh-render-gpu natively only)
fsh-commands -> every crate above (fsh-render-gpu and fsh-cad natively only)
fsh-cli, fsh-py, fsh-wasm -> fsh-commands; fsh-cli also fsh-io; fsh-wasm on wasm32 also fsh-render-gpu (WebGPU)
backend/app/engine.py -> fsh_py (Binding) or formshot-engine dispatch --journal (Process, JSON lines)
backend/app/routers/mcp.py -> the engine catalogue, through consent
Expand Down Expand Up @@ -95,8 +99,10 @@ These come from the dev-rules operating mode and apply to every sub-skill.
| Nodes, meshes, materials as data, cameras, environment, commands, undo, merge, groups, selection, the render snapshot | `sub-skills/scene-document/SUB-SKILL.md` |
| The BVH, the CPU path tracer, lights, sky, ground, camera rays, develop, tone maps, denoise, determinism | `sub-skills/cpu-tracer/SUB-SKILL.md` |
| The GPU path tracer: WGSL modules, buffer layouts, traversal (BVH or ray queries), refusals, device choice and the CPU fallback, parity with the CPU, software Vulkan runs | `sub-skills/gpu-tracer/SUB-SKILL.md` |
| BSDF lobes, Fresnel, energy tables, layering | `sub-skills/materials/SUB-SKILL.md` |
| glTF/GLB, OBJ, PNG, HDR or EXR, the `.fshot` file, the journal and recovery | `sub-skills/io-formats/SUB-SKILL.md` |
| BSDF lobes, Fresnel, energy tables, layering; material types, texture slots, graphs and node kinds, the program and its opcodes, procedurals, texture filtering, preview maps | `sub-skills/materials/SUB-SKILL.md` |
| glTF/GLB, OBJ, STL, PLY, 3MF, FBX, import options, units, jobs, reimport, imported textures, PNG, HDR or EXR, the `.fshot` file, the journal and recovery | `sub-skills/io-formats/SUB-SKILL.md` |
| STEP and IGES, fsh-cad, the CAD worker and its fetch, retessellation, hand-offs from FormCAD, FormSculpt, FormSurface and FormFabric | `sub-skills/cad-and-handoffs/SUB-SKILL.md` |
| Material presets in `assets/library`, the `library.*` commands, thumbnails, the library panel | `sub-skills/material-library/SUB-SKILL.md` |
| Adding or changing an engine command end to end | `sub-skills/command-registry/SUB-SKILL.md` |
| MCP endpoint, stdio bridge, consent, agent configs, skills, the dock and its tabs | `sub-skills/agent-substrate/SUB-SKILL.md` |
| Window shell, registry, menus, palette, shortcuts, Home, workspace, settings, tokens, icons, languages | `sub-skills/ui-shell/SUB-SKILL.md` |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: cad-and-handoffs
description: "Changes how formshot reads STEP and IGES through FormCAD's kernel worker (fsh-cad: locate, the JSON-lines client, quality presets, the .mesh file, colours and shared shapes, STEP and IGES file scans, probe), the CAD branch of import and jobs, kept sources, scene.retessellate and scene.set_part_mesh, the worker fetch (backend/app/routers/cad.py, setup/cad_worker, ./formshot cad), the CAD Import page and re-tessellate dialog, and hand-offs from FormCAD, FormSculpt, FormSurface and FormFabric (fsh_io::family, handoff.* commands, the watcher and consent prompt). Load for any CAD or hand-off change."
---

# CAD and Hand-offs

## Purpose

Own `native/crates/fsh-cad`, `native/crates/fsh-commands/src/ext/cad.rs` and `ext/handoff.rs`, `native/crates/fsh-io/src/family/`, `backend/app/routers/cad.py` and `handoff.py`, `setup/cad_worker`, and `frontend/src/ui/cad/` and `ui/handoff/`. Hands back a CAD or hand-off change that keeps the engine off the network, keeps part ids through retessellation, and asks the person before anything another program sent changes the document.

## Preconditions

STEP and IGES are read by FormCAD's kernel worker (OpenCascade 8.0.1, release `occt-8.0.1`), a child process speaking JSON lines (`hello`, `xde_read`, `tessellate`, `shutdown`; protocol 2), never linked. Its source and protocol are in FormCAD's `kernel/` folder; FormCAD is another repository, read-only from here. `docs/IMPORT.md` describes the user-facing behaviour; `native/HASHOUT_LOG.md` § fsh-cad and § fsh-commands, `backend/HASHOUT_LOG.md` and `frontend/HASHOUT_LOG.md` § CAD and hand-offs hold the decisions and what ran. Only Linux x86_64 has run. The worker sends no progress, no face colours, no IGES colours and no instance matrices; fsh-cad's `scan.rs` reads colours from the file and `read.rs` derives sharing by matching tessellations.

## Procedure

1. Read the logs above, then `fsh-cad/src/lib.rs` and the module you touch.
2. The engine never downloads. The worker is found by `FORMSHOT_CAD_WORKER`, beside the program, then `<cache>/formshot/workers/<tag>/`; the service and `./formshot cad fetch` install it there after checking the pinned record (`RELEASE`, `RECORD_SHA256` in cad.py), `SHA256SUMS` and every file. A new worker release changes those two constants and nothing else.
3. Every worker call goes through `Worker::call` with a timeout and the `Watch`; cancel and timeout kill the child. Worker starts wait `fsh_cad::hello_timeout()` (`FORMSHOT_CAD_HELLO_TIMEOUT`, 120 s by default). The window learns which parts are CAD from `cad.parts`, not from node metadata in a snapshot; a save writes only the sources some part names. Keep `fsh-cad` out of the wasm32 tree (fsh-commands depends on it natively only).
4. CAD reads produce a `fsh_io::RawScene` in metres, Z up, and go through the shared clean-up with instancing off; nodes carry `source.path`, `source.node`, and parts `source.cad`, `cad.mesh`, `cad.quality`, `cad.unit`, `cad.up`. Keep `Engine::import`'s CAD branch at its top and the job path in `ext/import/jobs.rs`.
5. Retessellation and re-import swap meshes with `mesh.add` plus `scene.set_part_mesh`, so part ids, materials, selection and shared meshes survive; never rebuild a part.
6. Kept sources (`fshot:sources/<fnv64>.<ext>`, at most 64 MiB) live in `Preserved::sources` and in the session folder; a change keeps saves without sources byte-identical to older ones.
7. Hand-offs: readers in `fsh_io::family` recognise what each app writes (GoF manifests, FormSurface map names and templates, writers' generator lines). Anything that arrives on its own is held by the service and offered in the window (deny, once, always per app); only the window's own choice or an agent under MCP consent opens it. No URL scheme, no new file association. A hand-off is one undo step and records `source.app` and the other `source.*` keys.
8. FormCAD, FormSculpt, FormSurface and FormFabric are not edited from here; a missing feature on their side is written down as an ask in the log.

## Gate

Done when `cargo clippy -p fsh-cad -p fsh-commands --all-targets -- -D warnings` is clean and `cargo check --target wasm32-unknown-unknown -p fsh-commands` passes; with the real worker fetched into a scratch `FORMSHOT_CACHE`, a STEP and an IGES sample imported through `formshot-engine dispatch` (and through `import.start` with a cancel), saved, reopened and resaved identically, and retessellated with part ids unchanged and undo exact; a hand-off change ran `handoff.inspect` and `handoff.open` on real exports of the sending app, and the prompt was seen in a browser.

## Hands back

The samples and their licences, triangle counts per quality, timings, whether the real worker or a stand-in answered, and what was not run (platforms, Tauri).

## Owned resources

None bundled. Related: `sub-skills/io-formats/SUB-SKILL.md`, `sub-skills/engine-service/SUB-SKILL.md`, `sub-skills/ui-shell/SUB-SKILL.md`.
Loading