mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
feat(editor): add --gen-texture-knit V-stitch fabric pattern
47th procedural texture: knit fabric V-stitch — each stitch occupies a cellW x cellH cell holding the V-shape made by two diagonal strokes meeting at the apex (cellW/2, 0) and dropping to the cell's bottom corners. Cells tile contiguously in both axes giving the iconic chevron-zigzag appearance of knitted fabric stitches. Useful for sweater fabric, woolly NPC clothing, blanket textures, mitten/scarf set dressing, dwarven knitwork. Defaults to 16x12 cells with 2-px stroke width.
This commit is contained in:
parent
0ff13ccd67
commit
a9f4e322d5
3 changed files with 91 additions and 0 deletions
|
|
@ -127,6 +127,8 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Leopard: irregular spots (4 sub-circles each) for animal-print fabric/fur\n");
|
||||
std::printf(" --gen-texture-zebra <out.png> <bgHex> <stripeHex> [period] [amplitude] [wavelength] [W H]\n");
|
||||
std::printf(" Zebra: wavy parallel stripes via sinusoidal y-shift (animal-print stripes)\n");
|
||||
std::printf(" --gen-texture-knit <out.png> <bgHex> <stitchHex> [cellW] [cellH] [strokeW] [W H]\n");
|
||||
std::printf(" Knit: V-stitch chevron-zigzag pattern reading as knitted fabric stitches\n");
|
||||
std::printf(" --add-texture-to-zone <zoneDir> <png-path> [renameTo]\n");
|
||||
std::printf(" Copy an existing PNG into <zoneDir> (optionally renaming it on the way in)\n");
|
||||
std::printf(" --gen-mesh <wom-base> <cube|plane|sphere|cylinder|torus|cone|ramp> [size]\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue