mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
feat(editor): add --gen-texture-argyle sweater-knit pattern
31st procedural texture: classic argyle pattern done by working in a 45-rotated coord system (u, v) = (x+y, x-y) so lozenges become axis-aligned squares for the checkerboard step. Diagonal stitch lines fall out of u%cell and v%cell crossing zero. Three-color: A/B for the alternating diamond fill, third color for the diagonal stitch overlay. Defaults to 64-pixel cells with 2-pixel stitches. Useful for sweater fabric, seat cushions, heraldic banner overlays.
This commit is contained in:
parent
0d2312ec8d
commit
8cd6f46aa3
3 changed files with 97 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Flame: vertical color gradient from dark base to hot top with noise flicker\n");
|
||||
std::printf(" --gen-texture-tartan <out.png> <colorAHex> <colorBHex> <colorCHex> [bandPx] [W H]\n");
|
||||
std::printf(" Tartan plaid: 3-color crossing bands forming Scottish-style overlap pattern\n");
|
||||
std::printf(" --gen-texture-argyle <out.png> <colorAHex> <colorBHex> <stitchHex> [cellPx] [W H]\n");
|
||||
std::printf(" Argyle: 45-rotated lozenge checkerboard with diagonal stitch lines (sweater knit)\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