Furniture materials: wood, stone, iron, cloth, straw, fur, book spines and spellbook pages in both styles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No files matched your search
@@ -0,0 +1,79 @@
|
||||
# Furniture materials (2026-11-07)
|
||||
|
||||
Textures for the furniture boxes of `src/props.rs` (`Mat`, `mc`): every box of a material gets the
|
||||
texture on all sides, tinted by the box's own colour, so the furniture keeps its colours and gains
|
||||
detail (book spines with titles, a spellbook page with script, straw dummies, wood grain, ...).
|
||||
|
||||
`fal-ai/flux-2-pro`, `image_size: square_hd`, `seed: 4400`; the material's sentence followed by:
|
||||
|
||||
```text
|
||||
Square texture seen straight on, flat even lighting, no shadows, no vignette, no border, no text unless asked. Hand-painted pixel art style for a dark-fantasy dungeon strategy game: chunky clear shapes, crisp edges, readable at small size. Fills the whole image.
|
||||
```
|
||||
|
||||
## wood
|
||||
|
||||
```text
|
||||
Light weathered wooden planks running vertically with clear wood grain, knots and a few nail heads, in light neutral beige tones.
|
||||
```
|
||||
|
||||
## stone
|
||||
|
||||
```text
|
||||
A rough block of light grey stone with chisel marks, small pits and a few fine cracks, in light neutral grey tones.
|
||||
```
|
||||
|
||||
## iron
|
||||
|
||||
```text
|
||||
Light grey forged iron with hammer dents, scratches and a few rivets near the edges, in light neutral grey tones.
|
||||
```
|
||||
|
||||
## cloth
|
||||
|
||||
```text
|
||||
Woven fabric with a visible coarse weave, soft folds and a simple embroidered border near the edges, in light neutral off-white tones.
|
||||
```
|
||||
|
||||
## straw
|
||||
|
||||
```text
|
||||
Bundled straw and sackcloth: coarse burlap with straw sticking out, stitched seams, in light neutral beige tones.
|
||||
```
|
||||
|
||||
## fur
|
||||
|
||||
```text
|
||||
Thick shaggy animal fur with tufts and strands, in light neutral beige-grey tones.
|
||||
```
|
||||
|
||||
## book
|
||||
|
||||
```text
|
||||
The spine of one old leather-bound book standing upright, filling the whole image: two raised bands near the top and the bottom, a gilded frame and a short line of golden title letters in the middle, worn leather, in light neutral tones.
|
||||
```
|
||||
|
||||
## paper
|
||||
|
||||
```text
|
||||
An open page of an old spellbook filling the whole image: yellowed parchment with many lines of dark handwritten script, a small drawn magic circle and a red initial letter, in light neutral tones.
|
||||
```
|
||||
|
||||
## Processing
|
||||
|
||||
`tools/make_material.py` crops (stone and the book lay on white), turns the picture into grey
|
||||
detail with a mean brightness of 0.8 (the page keeps its colours) and scales to 64x64 (high-res)
|
||||
and 16x16 (pixel art):
|
||||
|
||||
```bash
|
||||
T=tools/make_material.py
|
||||
python3 $T wood-raw.png wood
|
||||
python3 $T stone-raw.png stone --crop 0.15,0.15,0.75,0.6
|
||||
python3 $T iron-raw.png iron --crop 0.1,0.1,0.9,0.9
|
||||
python3 $T cloth-raw.png cloth --crop 0.12,0.12,0.88,0.88 --mean 0.85
|
||||
python3 $T straw-raw.png straw --crop 0.05,0.05,0.95,0.95
|
||||
python3 $T fur-raw.png fur
|
||||
python3 $T book-raw.png book --trim --mean 0.75
|
||||
python3 $T paper-raw.png paper --color --crop 0.04,0.04,0.96,0.96 --mean 0.8
|
||||
```
|
||||
|
||||
Copied to `assets/textures/mat/`.
|
||||
@@ -0,0 +1,16 @@
|
||||
# Material textures for the furniture (props.rs), 2026-11-07: (name, prompt). The game uses them
|
||||
# as grey detail that the furniture's own colours tint.
|
||||
STYLE = ("Square texture seen straight on, flat even lighting, no shadows, no vignette, no border, no text unless asked. Hand-painted pixel art "
|
||||
"style for a dark-fantasy dungeon strategy game: chunky clear shapes, crisp edges, readable at small size. Fills the whole image.")
|
||||
MATS = {
|
||||
"wood": "Light weathered wooden planks running vertically with clear wood grain, knots and a few nail heads, in light neutral beige tones.",
|
||||
"stone": "A rough block of light grey stone with chisel marks, small pits and a few fine cracks, in light neutral grey tones.",
|
||||
"iron": "Light grey forged iron with hammer dents, scratches and a few rivets near the edges, in light neutral grey tones.",
|
||||
"cloth": "Woven fabric with a visible coarse weave, soft folds and a simple embroidered border near the edges, in light neutral off-white tones.",
|
||||
"straw": "Bundled straw and sackcloth: coarse burlap with straw sticking out, stitched seams, in light neutral beige tones.",
|
||||
"fur": "Thick shaggy animal fur with tufts and strands, in light neutral beige-grey tones.",
|
||||
"book": "The spine of one old leather-bound book standing upright, filling the whole image: two raised bands near the top and the bottom, "
|
||||
"a gilded frame and a short line of golden title letters in the middle, worn leather, in light neutral tones.",
|
||||
"paper": "An open page of an old spellbook filling the whole image: yellowed parchment with many lines of dark handwritten script, "
|
||||
"a small drawn magic circle and a red initial letter, in light neutral tones.",
|
||||
}
|
||||
|
After Width: | Height: | Size: 368 B |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 623 KiB |
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 421 B |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 436 B |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 438 B |
|
After Width: | Height: | Size: 6.2 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 1.4 MiB |