63 -> 72 materials. Cobblestone uses rounded cells with sunken joints, gravel
fine Voronoi stones, plaster a soft troweled tooth; linen a coarse weave, wool
and moss a soft sheen.
A UV tile with a lower resolution than its atlas block fills the block's
corner, so it has fewer texels per UV unit. Neighbourhood filters (blur,
sharpen, warps, bevel, glow, ...) and height-to-normal slopes used the block's
texel density for every tile, so such a tile blurred twice as wide and showed
twice as steep slopes in UV space.
TextureSet::block_scales gives each block's share; the compositor filters each
block at its tile's radius, texture export and the CPU path tracer scale the
slope by it, and the display packs it into the Extra texture's alpha for the
viewport and GPU path tracer shaders (parallax too).
layer.add.image read the projection params only when `projection` was
given, so an offset or rotation alone was dropped. The features list no
longer promises a cylindrical offset.
A fill's properties showed only its projection and scale, and
layer.fill.projection rebuilt the projection from its params, so
changing the scale reset a rotation set before and no offset could be
set at all. The command now changes only the fields it is given
(scale, also per axis; rotation; offset; sharpness; axis) and keeps the
rest while the kind stays the same. Properties show the UV rotation and
offset, the tri-planar blend sharpness, and the axis and world offset
of planar and cylindrical projections.
Editing a path repaints only it and the paths above it: the sublayer's pixels
after the paths below are cached (keyed by those paths, the mesh and the
texture size) and reused while the edit goes on. A unit test checks the cached
repaint matches painting every path.
Adds a UI test for the path rows (pick to edit, pick again to finish, remove)
and a properties-paths frame to the offscreen window snapshots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live repaints merged into the last step whenever its label matched, so editing the same
path again (or the same index in another sublayer) joined the earlier edit and one undo
reverted both. An edit now merges only into the step it made itself. Stored brush
settings are clamped when read, like the tool's own, since they come from the file.
Keeps both sides of the translation tables, AGENTS rules and the formats module list;
material files in the browser load before the ask-to-save step (they add a layer, not a
new project); Arabic for the eight MaterialCraft strings; menu parity regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When file.exportTextures is given a colorSpace, colour maps carry it: an ICC profile in PNG,
JPEG, TIFF and WebP, the chromaticities attribute in EXR. TGA, BMP and HDR have no place for one
and warn. Data maps and exports without a chosen space are unchanged.
The profile is a small version 2.1 matrix/curve profile written from the space's primaries
(Bradford-adapted to D50), tested against the published sRGB colorants.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- SkewMap::paint refuses a stroke whose dabs would visit more than 2^26 texels, before any
texel changes; the dab count alone didn't bound the work of a big brush on a big map.
- bake.skew.set checks the image size from its header (decode_image_within) before decoding.
- The 2D view is shown for the skew brush in bake mode only, not in rendering mode.
- Prepared::correct allows its argument count for clippy; the skew test uses its own folder.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- MaterialX export: a tiled file's <UDIM> name comes from the file plan, so a set called
cloth.1001.body keeps its name; the DirectX normal warning is raised only when a material has a
normal map.
- colorSpace that isn't a string is an error instead of the format's default.
- MaterialX import: an image that isn't a regular file is skipped with a warning (a pipe in the
folder would have blocked the read).
- Auto-rebake: remembers which inputs each map image was baked from, so undoing a rebake brings
back a map that is out of date and rebakes it; not scheduled automatically on the web build,
where a bake would run on the page's thread.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A paste into a layer of another texture set set the session's target
to the new effect, so a later stroke in the active set could commit to
it. The target now changes only for a paste into the active set. The
layer and effect row menus offered Paste effect only while a layer was
already selected, though a click selects the row first; they now check
the clipboard alone.