Repository navigation
loomwork v0.6.0 adds three opt-in companion maps: --normal, --roughness and --ao. Default output is unchanged.
--normal OUT.pngwrites a tangent-space normal map (+Y up) derived from the weave's height field with wrapped differences, so it tiles exactly.--strengthscales 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
--sheetor 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.