Skip to content

loomwork v0.6.0

Latest

Choose a tag to compare

@donkamonka17-spec donkamonka17-spec released this 05 Dec 17:22

loomwork v0.6.0 adds three opt-in companion maps: --normal, --roughness and --ao. Default output is unchanged.

  • --normal OUT.png writes a tangent-space normal map (+Y up) derived from the weave's height field with wrapped differences, so it tiles exactly. --strength scales the slope.
  • --roughness OUT.png (with --rough-range LO HI) and --ao OUT.png (with --ao-radius) write 8-bit grey companion maps from the same height field; both tile exactly.
  • CI now runs the new tests on Pillow 10.4.0, 11.3.0 and latest.

Limits, plainly:

  • The height field is a model of the weave, not measured geometry. The maps have not been viewed in a real renderer.
  • Normal vectors are only approximately unit length: the worst error measured was 1.52/255 (6 seeds, size 64).
  • Not supported with --sheet or SVG output names; clashing output names are refused.
  • Default output was byte-identical to the previous version in every combination compared (seeds, weaves, sizes, periodic or not).
  • No issues or reports of outside use so far.