diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 6538b688..3f5fd8de 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -18,9 +18,10 @@ images, materials, sample graphs, presets, environments) may ever be added. | `assets/app-icon/LICENSE.txt` | App icon licence | MaterialCraft contributors | original | MIT OR Apache-2.0 | | `docs/images/materialcraft-workspace.png` | README screenshot: the workspace with the brick wall sample | MaterialCraft contributors | Offscreen render of MaterialCraft's UI (`crates/ui-egui/tests/snapshot.rs`) | MIT OR Apache-2.0 | | `docs/images/materialcraft-wood.png` | README screenshot: the wood planks template | MaterialCraft contributors | Offscreen render of MaterialCraft's UI | MIT OR Apache-2.0 | -| `docs/images/materialcraft-fabric.png` | README screenshot: the woven fabric template | MaterialCraft contributors | Offscreen render of MaterialCraft's UI | MIT OR Apache-2.0 | +| `docs/images/materialcraft-lava.png` | README screenshot: the lava rock template | MaterialCraft contributors | Offscreen render of MaterialCraft's UI | MIT OR Apache-2.0 | +| `docs/images/materialcraft-ground.png` | README screenshot: the mossy ground template | MaterialCraft contributors | Offscreen render of MaterialCraft's UI | MIT OR Apache-2.0 | | `docs/images/materialcraft-new-graph.png` | README screenshot: the New graph dialog | MaterialCraft contributors | Offscreen render of MaterialCraft's UI | MIT OR Apache-2.0 | -| `docs/images/materialcraft-materials.png` | README render: six sample materials on the material ball | MaterialCraft contributors | `materialcraft-cli render --scene material_ball --full`, six renders side by side | MIT OR Apache-2.0 | +| `docs/images/materialcraft-materials.png` | README render: eight sample materials on spheres | MaterialCraft contributors | `materialcraft-cli render --scene sphere --full --hq` of the templates, eight renders in a grid | MIT OR Apache-2.0 | | `docs/brand/artcraft-*.svg`, `docs/brand/artcraft-*.png` | ArtCraft logo and mark | ArtCraft Team | storytold/craftrules `assets/brand/` | ArtCraft brand terms, not open source ([`docs/brand/LICENSE-brand.txt`](docs/brand/LICENSE-brand.txt)) | | `crates/nodes/src/text.rs` (`GLYPHS`) | Single-stroke vector font of the Text node (A–Z, a–z, 0–9, punctuation) | MaterialCraft contributors | Original, designed as stroke data in code | MIT OR Apache-2.0 | diff --git a/README.md b/README.md index 7cf6b022..364351ef 100644 --- a/README.md +++ b/README.md @@ -70,18 +70,18 @@

Wood planks: anisotropic grain, warped and laid over planks

- A woven fabric graph: a weave pattern with soft fuzz, as a blue cloth on the rounded cube and in the 2D view -

Woven fabric: a weave pattern with fuzz and a color ramp

+ A lava rock graph: Voronoi plates with cracks and glowing seams, as dark rock with orange emissive cracks on the rounded cube +

Lava rock: cracked plates over glowing emissive seams

- The New graph dialog: template spheres for empty, PBR, brick wall, stone tiles, wood planks, rusty metal, woven fabric and stone ground, with the graph name and size + The New graph dialog: template spheres for empty, PBR, brick wall, stone tiles, wood planks, painted metal plates, rusty metal, lava rock, polished marble, wicker weave, woven fabric and mossy ground, with the graph name and size

New graph: start from a PBR template or a sample material

- Six material balls rendered by MaterialCraft: red brick, wood planks, rusty metal, stone tiles, blue woven fabric and stone ground -

Six sample materials on the material ball, rendered by materialcraft-cli render

+ A mossy ground graph: stones height-blended with dirt and moss grown in the crevices, on the rounded cube and in the 2D view +

Mossy ground: stones and dirt height-blended, with moss in the gaps

@@ -90,11 +90,13 @@ Every material below is a node graph that ships with MaterialCraft as a template, built only from its own procedural nodes (no photos, scans or textures from anywhere else) and rendered by -`materialcraft-cli render --scene material_ball --full`. +`materialcraft-cli render --scene sphere --full --hq` (the height output displaces the mesh, with +ray-traced ambient occlusion and a shadowed key light).

- Brick, wood planks, rusty metal, stone tiles, woven fabric and stone ground on material balls + Eight material spheres: red brick, lava rock with glowing cracks, blue painted metal plates with rivets, wood planks, wicker weave, mossy ground, cracked stone tiles and polished white marble

+

Brick wall · Lava rock · Painted metal plates · Wood planks
Wicker weave · Mossy ground · Stone tiles · Polished marble

## Why MaterialCraft @@ -130,7 +132,7 @@ cargo run --release -p materialcraft -- package.mcraft # open a package cargo run --release -p materialcraft -- --control 7878 # + JSON control channel cargo run --release -p materialcraft-cli -- mcp # MCP server (stdio) cargo run --release -p materialcraft-cli -- new wood wood.mcraft -cargo run --release -p materialcraft-cli -- render wood.mcraft wood.png --scene material_ball --full +cargo run --release -p materialcraft-cli -- render wood.mcraft wood.png --scene sphere --full --hq cargo run --release -p materialcraft-cli -- export wood.mcraft textures --format png --depth 16 cargo run --release -p materialcraft-cli -- export my.mcraft out --set wear=0.7 # with a graph input "wear" set first cargo run --release -p materialcraft-cli -- run my.mcraft file.exportMaterial '{"path": "my.mcmat", "size": 2048}' # for TextureCraft diff --git a/apps/materialcraft-cli/src/main.rs b/apps/materialcraft-cli/src/main.rs index 6bf0be1d..fef8f39e 100644 --- a/apps/materialcraft-cli/src/main.rs +++ b/apps/materialcraft-cli/src/main.rs @@ -26,7 +26,7 @@ USAGE: Run [{\"id\", \"params\"}, ...] or {\"open\": , \"steps\": [...], \"save\": }. materialcraft-cli new