Commit Graph
123 Commits
Author SHA1 Message Date
chasse20 30d7ee51c4 Remove redundant tests and fix unused build warnings 2026-11-23 03:56:43 -05:00
chasse20 71a5637701 Auto: Integrate main and streamline Warp and Blur Slope evaluation
Align the picker, catalog, replacement, defaults, and protocol on warp and blurSlope. Retire the old selectors, preserve stored filter settings, and apply Source Tiling to sampled inputs inside each UV tile.

Prepare Warp directions once per region and reuse the source for independent directions. Keep Chain sampling at each successive position.

Preserve main's draw identities and placed-fill picker. Repair sparse Compare and anchor evaluation, lighting, gradient boundaries, and seed restoration. Reduce redundant Color Match work, blur scratch, and cold environment reductions.

Validated with Linux cargo xtask ci, release compositor tests, CLI examples, and filter snapshots.
2026-11-23 07:21:19 +00:00
chasse20 64d1108b14 Auto: Fix Compare evaluation, folder resets and mask editing
Integrate main's projector, resource-picker and UI changes. Keep Compare inputs tied to the correct folder draw, propagate filter margins through sparse masks, and preserve the real backdrop in folder thumbnails.

Retarget saved seed resets when folders are copied. Preserve grayscale tool choices, reject missing mask images before mutation, and release the previous anchor's draft and undo state when selection changes.

Borrow material data during planning and write filtered samples directly into output rows. Cover the repaired behavior in the compositor, engine and Properties tests.
2026-11-23 01:00:29 +00:00
chasse20 8b2821e163 Auto: Integrate main and fix material preview and picker state
Preserve linked fills and imported alpha images, bind cached composites to their mesh, and keep delayed orb results from evicting newer previews. Avoid rendering hidden picker tiles, redundant queue scans and an extra HDR image buffer.

Correct picker cancellation, native pointer ownership, channel selection and single-parameter pattern edits. Update the Material controls guide, retain the approved Studio Small 09 attribution, and exercise the mask projection through its accessible control.
2026-11-22 22:19:46 +00:00
chasse20 763737a508 Auto: Integrate main and fix projection sampling and Properties edits
Preserve per-selection scrolling when integrating the Fill and Symmetry panels. Keep batched edits and final drag motion in the correct undo step, expire hidden editors and preview textures, and show keyboard focus on Properties controls.

Correct per-copy depth culling, UV footprints, linear-light mip filtering and memory accounting. Preserve cropped-fill coverage through placement and reload. Reject malformed decal dimensions before mutation and reuse mesh bounds within each operation.

Bound preview ray scratch with reusable row batches and clip hidden outlines before generating dashes.
2026-11-22 19:58:41 +00:00
Rebornim a9928aacf3 Instanced folders: a filter's lit layer and height read the instance's space too
The filter stack's own plans (the lit base colour below a filter and the heights it reads) take the traversal's folder offset, as the neighbourhood fields do since part 4.
2026-11-22 05:30:04 +00:00
Rebornim 8c521dbf56 Instanced folders: a neighbourhood filter under an offset folder reads its content in the instance's space
Reported by skylartaylor on #698: a Blur on a layer inside an instanced folder under a scaled or rotated folder read its content in the source's un-offset space. Neighbourhood fields are built and looked up per layer and folder offset, for content and mask fields and on the cached-layer path.
2026-11-22 05:30:04 +00:00
chasse20 a99c37392c Filters: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
chasse20 71e35ae35c Effects, masks and folders: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:04 +00:00
Rebornim 7d8cbb658a Filters: the stand-ins parts 2-4 kept for the filter panel and the effect blend lookups go 2026-11-22 05:30:04 +00:00
Rebornim 616601d4a9 Temporary: filter effects keep main's filter panel until part 5, and effects read their blend through main's lookups 2026-11-22 05:30:04 +00:00
Rebornim b4d810ddcf Filters: engine evaluation, commands, docs and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim f49ff387f1 Effects, masks and folders: engine evaluation and the remaining tests 2026-11-22 05:30:04 +00:00
Rebornim 2eeadf2d71 Filters: the filter library and its maths (blur, bevel, glow, drop shadow, baked lighting, gradients, shape filters) 2026-11-22 05:30:04 +00:00
chasse20 a7d165e029 Fills: review repairs from #698
Chasse's repairs to this part's code, carried over from the #698 head (5644b7d3).
2026-11-22 05:30:03 +00:00
Rebornim 5be1193f7b Temporary: the mask fill's source slot and the filter slot use the new picker; main's filter panel stays until part 5 2026-11-22 05:30:03 +00:00
Rebornim 82b981e641 Temporary: the fill's Material section keeps main's channel rows and filter effects main's filter panel 2026-11-22 05:30:03 +00:00
Rebornim b5b99d6fd3 Fills: Material and colour commands, panels and tests 2026-11-22 05:30:03 +00:00
Rebornim 32f848c7c5 Fills: engine evaluation, commands and the remaining tests for the Fill tab 2026-11-22 05:30:03 +00:00
Rebornim e131e826b1 Fills: Symmetry, mirrored or radial copies of a 3D projection 2026-11-22 05:30:02 +00:00
Rebornim 891247db6a Fills: decals are placed planars, and the Warp projection 2026-11-22 05:30:02 +00:00
Rebornim 9958edaece Fills: Shape crop, Backface culling and Depth culling on 3D projections 2026-11-22 05:30:02 +00:00
Rebornim 9be079d6f8 Fills: every projection samples with tiling, rotation and offset, Filtering, UV Wrap and Match per UV Tile 2026-11-22 05:30:02 +00:00
chasse20 6f8e984d7a Auto: Integrate main and reduce repeated procedural sampling work
Reuse two fur seed tables per worker, share knot noise, and skip invisible decay and brocade detail. Normalize each catalog lookup once while preserving label and saved-name aliases.

Consolidate periodic sampling helpers, move FurLock into its own module, and strengthen coverage of coarse-grid fallback and saved pattern names. Preserve main's project and Assets changes and document the expanded catalog.
2026-11-18 21:52:15 +00:00
Morion 77c39a8dd6 Read a pattern exactly when its coarse grid coordinate is not finite
plane_value blended four samples of a coarse grid, and a point so far out that the grid overflowed made the blend NaN although the pattern itself was finite there. It now reads the exact point in that case. The test checks every procedural at the extreme coordinates and fails without the fix (Cells at infinity gave NaN).
2026-11-18 11:50:53 -05:00
Morion 8e7bc663fd Fix knotty wood seam, replace coral maze with rotting flesh, test scale coverage
Knotty wood measured the ring a knot pulls towards from the copy of the unit the point was in, so a knot across the top or bottom edge left a horizontal mark when the unit repeated; it is now measured from the knot's own copy, and a test checks that no pattern is rougher across the edge of the unit than across its middle. Coral maze becomes Rotting flesh: folded wet tissue with branching veins and blistered patches of decay. The reptile scales test now asserts that a scale covers every point instead of reading a minimum brightness.
2026-11-18 11:31:25 -05:00
Morion 77eb6a2b85 Merge origin/main into feat/procedural-geometric-tilings 2026-11-18 10:53:50 -05:00
Morion 4993700189 Add organic, fabric, timber and camouflage procedurals
Thirteen seamless patterns: smooth fur, mackerel sky, soft billow, reptile scales, young bark, coral maze, camouflage, knit, basket weave, goose-eye twill, slub silk, strip flooring and knotty wood. Each repeats every unit and takes extreme and non-finite coordinates. Tests cover repetition, range, variation, the seed and the extremes, plus the specific structure of the scales, bark, maze, camouflage tones, weaves and boards.
2026-11-18 10:38:07 -05:00
chasse20 b85088526a Auto: Merge main and reconcile Tile Generator fill sources
Use the Tile Generator sampling context for gradient maps and retain pattern settings and gradient stops through fill edits. Keep the shared picker alongside the gradient, decal symmetry, and layer selection controls. Collect thumbnails after the dock and detached windows draw.

Update affected tests for the merged picker and cover image-backed and reduced-resolution gradients.
2026-11-18 07:25:28 +00:00
chasse20 0ff72b0d46 Auto: Revert export additions and evaluate brush pickup by tile
Remove DDS encoding, its dependency, export options, tests and documentation. Revert the MaterialX export-dialog option and preview additions while retaining engine export support.

Evaluate material-brush and mask Clone/Smudge pickup on demand. Give mask preview and commit an explicit value image. Sample the document in solo mode and avoid redundant export cache invalidation.

Validate saved decal axes, stencil settings and smudge strength. Bound smart-mask reads, write masks atomically and reject external anchor references. Clear stale clone sources on cross-set selection. Reject moves into another set’s folder and use layer positions to detect no-op moves without cloning the project again.

Load saved materials on shelf click and route pinch gestures to viewport zoom. Add regression tests for the affected behaviors.
2026-11-18 05:20:25 +00:00
Morion 5907ad6a45 Merge origin/main into feat/procedural-geometric-tilings 2026-11-17 23:24:15 -05:00
chasse20 26490af2b9 Auto: Harden command and clone bounds and reduce mask allocations
Reject overflowing set indexes, saturate layer moves and clone offsets, and validate path corner flags before mutation. Clear discarded path caches and replace disabled-mask previews with a blank upload.

Reduce repeated selection allocations and temporary mask buffers. Preserve public reexports while separating types, and complete scoped comment and guard-spacing cleanup.

Validated paint and focused engine tests, workspace Clippy, production wasm checks, layering and formatting.
2026-11-18 04:14:11 +00:00
chasse20 7d1573d491 Auto: Fix tile rendering, panel edits, and localized test harnesses
Respect per-UV-tile resolution when reducing procedural patterns. Cover rotated tiles across repeat boundaries without counting overlapping copies more than once.

Preserve both contrast and invert edits when committed together, with regression coverage. Pin tile-panel tests to English and allow missing glyphs in the image-menu preview-cache harness.
2026-11-18 01:17:09 +00:00
chasse20 f06c8acecf Auto: Integrate main and defer hidden picker previews
Create image and anchor previews only for visible picker tiles, advance
outside thumbnail frames so stale handles can expire, and reuse bilinear
corner samples. Add focused preview and lifetime regressions and complete
scoped comment, spacing, and slider-constant cleanup.

Preserve the prepared main integration. Validated with affected release
tests, workspace Clippy, layering, wasm, panic_hunt, formatting, and
offscreen UI snapshots.
2026-11-18 00:05:33 +00:00
vangel76 d9bdef92b2 TextureCraft UI parity batch: 45 changes in one commit
Combines 45 open pull requests so the Windows proof build runs once. Included:

- Fill layers can color from dark to light with a gradient map (PR #535, fixes #482)
- Front, side and top views, and F5/F6 switch between perspective and orthographic (PR #539, part of #241)
- Textures export as DDS, with compressed normal and grayscale maps for game engines (PR #543, fixes #354)
- The active layer and the eye in the Layers panel are much easier to see (PR #561, fixes #553)
- Export dialog can also write a MaterialX file for each texture set (PR #563, fixes #558)
- Layers toolbar stays on one row and cut-off layer names show on hover in small windows (PR #564, fixes #560)
- Save a layer's mask as an image file or copy it to the clipboard from the layer menu (PR #565, fixes #559)
- Shift + wheel and Ctrl + wheel change the brush size, and Ctrl+drag brush changes have a fine mode (PR #566, part of #545)
- Select several layers in the Layers panel with Shift+click, Ctrl+click and Ctrl+A (PR #567, fixes #247)
- Pressing F frames the object you are painting, so a floor plane no longer throws off the view (PR #568, fixes #478)
- Save a mask as your own smart mask and reuse it on other layers and projects (PR #569, fixes #562)
- Show one layer alone in the viewport, with or without its mask (PR #570, fixes #544)
- On-screen orbit, pan and zoom buttons let a pen tablet move the 3D and 2D views (PR #573, fixes #288)
- Decals can be mirrored to the opposite side of the mesh across X, Y or Z, with optional U or V flip (PR #576, fixes #272)
- Shift+click lines in the 3D view start at the spot you last painted, even after turning the view (PR #578, fixes #574)
- History steps now name the tool and layer and appear in the interface language (PR #580, fixes #572)
- Path tool keeps your points when you click in the other view and tells you why (PR #582, fixes #575)
- Brush, symmetry and tool settings stay when you open another project or restart the app (PR #584, fixes #571)
- Reset only the panel layout from the Window menu, and Reset UI now asks first (PR #586, fixes #577)
- Output templates ask before deleting and before dropping an unfinished edit (PR #588, fixes #579)
- Clone tool shows its source in the 2D view, forgets it when you switch texture set, and can restart at the source each stroke (PR #590, fixes #581)
- Move the symmetry plane to the model's middle or to a clicked point in one click (PR #591, fixes #585)
- Projection stencil can be dropped in from Assets, moved and reset with fields, turned in snapped steps, and the 2D view says projection works in 3D (PR #593, fixes #583)
- Smudge now shows which channels it drags and lets you switch them (PR #594, fixes #587)
- Save panel layouts under a name and switch between them from the Window menu (PR #595, fixes #589)
- Clone and Smudge now work on layer masks (PR #596, fixes #592)
- A layer image menu test no longer fails when another test switches the interface language (PR #597)
- Clicking a material in the shelf now paints with it instead of adding a layer (PR #599, fixes #305)
- Alt+click on a mask thumbnail now labels the mask view and blanks the other texture sets (PR #605, fixes #600)
- Painting on a texture set that is not active now shows a hint why nothing happens (PR #607, fixes #601)
- Ctrl+Shift+click draws straight lines that snap to 15 degree steps (PR #609, fixes #604)
- Output template channels can be inverted (PR #611, fixes #603)
- Smudge now follows the mirror and radial symmetry planes (PR #613, fixes #602)
- The shortcut list now shows the stencil, clone source, straight line and path gestures (PR #614, fixes #608)
- Symmetry now also mirrors strokes painted in the 2D view (PR #615, fixes #610)
- Decals keep their image's proportions while sizing and can be flipped (PR #617, fixes #606)
- Polygon fill now also fills the mirrored side when symmetry is on (PR #619, fixes #612)
- A decal dragged over a curved or differently facing surface now turns with it instead of tilting or flipping (PR #622, fixes #616)
- Every brush alpha now has size, roundness, contrast and invert settings (PR #623, part of #598)
- Decals placed as a mask can now be sized, turned and moved from Properties like decal layers (PR #624, fixes #618)
- Renaming effects and linking fills to mask anchor points are now tested in the interface (PR #626, fixes #621)
- Path points can be corners, so paths can have hard edges (PR #627, fixes #620)
- Layer menu can apply a layer's blending mode and opacity to all channels, and copy/paste channel blending (PR #631, fixes #629)
- Display Settings can now set glow, vignette, sharpen and film grain (PR #632, fixes #630)
- Every command a key can run can now get a keyboard shortcut (PR #633, fixes #628)

Fixes found while combining them: the named layouts window is drawn again, layer remove/duplicate/group/visibility stay bindable to keys, the Clone tool's Aligned switch is kept with the other tool settings, smudge copies in the 2D view keep their own trails, and a UI or control-channel camera command during a view glide is no longer undone by the glide.
2026-11-17 22:51:06 +01:00
Rebornim d858fdba36 Pattern edits take the seed with tile settings, a uniform pick outranks them, gray rows take a typed value, the output size follows the UV tiles 2026-11-17 16:27:46 +00:00
Rebornim 7c28d4f5f5 Tile Generator image inputs
The Custom image input shape draws one of the pattern's input images in each tile, picked at random or by tile number, through the shape's tiling, angle, scale and turns; the background image shows under the shapes instead of the background value. Patterns read images through a PatternContext (its resolution and the image resources), which the compositor passes; procedural() keeps evaluating without images.
2026-11-17 16:27:37 +00:00
Rebornim 37edd3c44b Tile Generator pattern and pattern resolution
A Tile Generator pattern kind lays shapes out in a grid of tiles: 15 shapes and image inputs, tile counts, row or column offset, middle size, interstice, size modes, scale, free and quarter-turn rotation, mirroring, per-tile random scale, position, rotation and luminance, masks, Add/Max/Add sub blending, background, opacity and a position/contrast window. Its settings are a TileGenerator on Procedural (saved only for that kind).

Every pattern gets an output resolution like generators: below the UV tile's resolution it is read from an image of that size, bilinearly. Patterns saved before keep their form and render unchanged.
2026-11-17 16:26:06 +00:00
chasse20 009bb0c4d1 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-17 16:22:03 +00:00
chasse20 f8a202c77a Auto: Expand painting and baking workflows and integrate main
Add configurable mesh-map baking, cage previews, polygon fill, path editing, symmetry controls, generator settings, and material previews. Update shelf, docking, project configuration, localization, and UI persistence.

Update mesh import, project loading and recovery, rendering, compositing, and painting. Expand regression tests and benchmarks, refresh dependencies and documentation, and incorporate CI, updater, and packaging changes.
2026-11-17 08:40:45 +00:00
chasse20 55120d3ae4 Merge latest main into CPR 13 preserving reviewed repairs 2026-11-17 08:19:56 +00:00
chasse20 c5f7f17380 Auto: Preserve HDR fills and adapt benchmarks to main
Integrate main and adapt the performance suite to current bake settings,
map selection and undo APIs.

Preserve full triplanar image weighting for floating-point resources and
add a regression for lost HDR contributions. Use hardware floor when
SSE4.1 is enabled, retaining the portable fallback.

Split Report and Row into their own files and complete scoped naming,
spacing and comment cleanup.

Validated with 132 release tests, workspace Clippy, wasm and layering
checks, formatting, and retained targeted noise and performance probes.
2026-11-17 07:57:09 +00:00
Chris Hassebrook b2c7806961 Merge pull request #437 from subtilicus/fix/viewport-normal-precision
Keep baked normals above 8 bits in the viewport
2026-11-17 02:46:08 -05:00
chasse20 071d410d8a Auto: Integrate main and harden half-float normal display
Preserve signed RGBA16F normal uploads while integrating current main.
Reject invalid baked samples before blending, skip sampling absent baked
normal maps, and cover two-set normal shading with a headless test.

Complete scoped spacing, comment and shader constant cleanup while
preserving shader values.
2026-11-17 06:42:03 +00:00
chasse20 22742ce173 Auto: Integrate latest main with tile-aware recomposition 2026-11-17 06:39:06 +00:00
chasse20 ff4c285b1d Auto: Integrate main and preserve tile-aware invalidation 2026-11-17 06:32:23 +00:00
chasse20 379288e8c3 Merge current main into PR #226 2026-11-17 06:20:17 +00:00
chasse20 efaff5e13e Merge main into PR #226 and preserve reviewed fixes 2026-11-17 06:10:52 +00:00
Morion 920438c73b Merge latest main and retain rewritten roadmap audit 2026-11-17 00:32:18 -05:00
chasse20 f10d92b997 Auto: Respect curvature modes and filter inherited anchor choices
Combine micro height with edge and cavity responses before mode selection. Build inherited-effect Fill and micro-detail anchor choices from the effect owner. Add focused regressions for both behaviors.
2026-11-17 03:56:18 +00:00