Commit Graph
625 Commits
Author SHA1 Message Date
Morion 9378d2fe11 Procedural patterns: hexagon tiles, wave scales and herringbone planks
Fills and masks had few geometric tilings. Three new procedurals, generated
in code like the others:

- Hexagon tiles: hexagons with joints and a tone per tile.
- Wave scales: rows of overlapping fans of concentric arcs.
- Herringbone planks: planks three times as long as wide, with gaps, a tone
  and a grain per plank.

Each repeats every unit, tones included, so it tiles without seams; a test
checks that, and another one the joints between hexagons and planks. Their
labels are added to the nine translation tables. In release they take 43 to
62 ns per texel, like Bricks and Twill.

Part of #409
2026-11-11 09:17:14 -05:00
test-bit-sys 21856d7783 fix(formats): preserve existing OBJ UVs when only some objects lack UVs (#286) (#394)
Previously, if any object in an OBJ mesh lacked texture coordinates, all UVs across all objects were discarded and replaced with a full automatic unwrap.

Skip empty models without indices, preserve existing UVs on textured objects while assigning default UVs to untextured helper/sub-objects, and report a warning without forcing a full mesh unwrap.
2026-11-11 08:57:31 +01:00
Chris Hassebrook e52393a869 Merge pull request #380 from SteamSmith/fix/render-grain-stutter
Rendering mode: no flash when the camera moves, steadier frames, less grain
2026-11-11 00:53:49 -05:00
Chris Hassebrook 86aebc7bba Merge pull request #218 from vangel76/fix/save-over-load-limit
Opening a project has no size limit
2026-11-11 00:53:24 -05:00
chasse20 63043aa99e Fix GPU test setup and rendering cache lifetimes 2026-11-11 00:34:26 -05:00
chasse20 1c5ff6e5c3 Restore configurable project resource limits 2026-11-11 00:30:36 -05:00
chasse20 ebe18a1846 Merge main into project resource limits 2026-11-11 00:22:29 -05:00
chasse20 78425a2c2a Fix rendering regressions and merge main 2026-11-10 23:48:49 -05:00
Chris Hassebrook 75d417d50c Merge pull request #351 from Rebornim/feat/path-tool-parity
Path tool: live preview while placing points, edit points in the views
2026-11-10 23:11:54 -05:00
chasse20 3295cec476 Merge main and preserve path cursor behavior 2026-11-10 22:47:15 -05:00
Chris Hassebrook 8316acf0ba Merge pull request #347 from Rebornim/feat/symmetry-parity
Symmetry: movable plane, settings popup and viewport display
2026-11-10 22:32:16 -05:00
chasse20 76b9a30f63 Guard stored paths and fix History redo jumps 2026-11-10 22:23:51 -05:00
chasse20 6a976004ee Merge main and retain path and rail tests 2026-11-10 22:23:43 -05:00
chasse20 565ae84dea Preserve combined mirror and radial symmetry 2026-11-10 22:11:57 -05:00
Chris Hassebrook a1fa613de5 Merge pull request #352 from Rebornim/feat/rail-popup
Rail panels open in a popup beside their icon, one at a time
2026-11-10 22:00:40 -05:00
chasse20 906b22630f Fix History jumps through pending path edits 2026-11-10 21:59:49 -05:00
chasse20 885dbd1f0a Fix native-only items in wasm builds 2026-11-10 21:45:32 -05:00
chasse20 4612e1aa87 Handle texture deltas in path cache test 2026-11-10 21:32:02 -05:00
chasse20 f7be672c92 Extend rays for displaced fill copies 2026-11-10 21:12:29 -05:00
chasse20 f17e524776 Fix path undo repaint and restore Apply 2026-11-10 21:07:57 -05:00
chasse20 9c359bacfc Fix Escape handling for hidden rail popups 2026-11-10 20:59:11 -05:00
chasse20 0886db98f8 Fix moved fill copies on curved surfaces 2026-11-10 20:49:34 -05:00
chasse20 2f2ba103be Fix non-Linux path benchmark imports 2026-11-10 20:39:32 -05:00
chasse20 37524a87a2 Merge main and fix rail popup input and sizing 2026-11-10 20:35:07 -05:00
chasse20 6ec769feca Merge main and fix path preview issues 2026-11-10 20:31:49 -05:00
chasse20 ca08fb7c3d Merge main and fix symmetry review issues 2026-11-10 20:22:40 -05:00
Chris Hassebrook c00735cb7f Merge pull request #312 from Rebornim/fix/decal-other-set
Drop a shelf image on the texture set under the cursor, as a channel or a mask
2026-11-10 19:20:28 -05:00
Chris Hassebrook 4362017922 Merge pull request #342 from Rebornim/feat/levels-editor
Levels: edit the input range, gamma and output range on the histogram
2026-11-10 19:10:40 -05:00
chasse20 bf76e5f852 Reject stale decal effect frames 2026-11-10 18:59:18 -05:00
Dylan M. Taylor 21b3046648 packaging: use [[ for bash tests (SonarCloud S7688) (#403)
* packaging: use [[ for bash tests (SonarCloud S7688)

Behaviour-preserving: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each script; the rest is left to CI.

Clears all 70 open issues: `packaging/{linux,macos,freebsd,web}/*.sh`.

* packaging/web: parse the wasm size override as base 10 under [[

Inside [[ ]], -gt evaluates its operands arithmetically: a leading zero reads as octal and other text as an expression. Read the override as a base-10 number, as photocraft does.
2026-11-10 18:58:27 -05:00
chasse20 89e52133a4 Merge latest main into Levels editor 2026-11-10 18:54:31 -05:00
chasse20 00f3cb4583 Fix Levels editing, accessibility and state cleanup 2026-11-10 18:49:41 -05:00
Chris Hassebrook 85ca306ffb Merge pull request #331 from Rebornim/feat/section-reset
Reset icon on each brush section header
2026-11-10 18:45:30 -05:00
chasse20 77a03ddcb3 Merge main and fix decal placement and input handling 2026-11-10 18:29:43 -05:00
chasse20 8a94f07185 Merge main and fix brush reset layout and focus 2026-11-10 18:28:55 -05:00
Chris Hassebrook a6389f8e11 Merge pull request #392 from storytold/revert-381-perf/material-loading
Revert "Show a whole material at once: coarse first look, then the exact result"
2026-11-10 16:08:57 -05:00
Chris Hassebrook d664dc239c Revert "Show a whole material at once: coarse first look, then the exact result" 2026-11-10 16:08:27 -05:00
Chris Hassebrook 783cbdcb27 Merge pull request #381 from SteamSmith/perf/material-loading
Show a whole material at once: coarse first look, then the exact result
2026-11-10 16:07:09 -05:00
vangel76andClaude Sonnet 5.5 6a6f2fd2ab Merge upstream/main into fix/save-over-load-limit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:00:54 +01:00
FredApps 8083ca08a5 Merge pull request #264 from Aalzard/layers-panel-redesign
Layers panel: live thumbnails and a clearer row layout
2026-11-10 21:23:02 +01:00
FredApps 4a3e5c41b4 Return test setup errors before assertions 2026-11-10 20:44:42 +01:00
FredApps 26ddc8c256 Merge main and keep nested thumbnail controls accessible 2026-11-10 20:10:52 +01:00
FredApps b855e542fb Merge pull request #378 from storytold/sonar/appimagetool-https
packaging(linux): refuse non-HTTPS redirects when fetching appimagetool
2026-11-10 18:43:35 +01:00
FredApps fd7baa02b7 Merge branch 'main' into sonar/appimagetool-https 2026-11-10 18:23:44 +01:00
Chris Hassebrook 24062ad6c0 Merge pull request #335 from Rebornim/feat/x-swap-mask-value
X inverts the mask paint value
2026-11-10 10:46:36 -05:00
FredApps 9de96cfee4 FreeBSD CI: run the GPU crates' tests one at a time (#379)
* FreeBSD CI: run the GPU crates' tests one at a time

The FreeBSD VM's software Vulkan driver crashes (SIGSEGV) when several tests create a wgpu device at once. texturecraft-render's lib and headless tests, and earlier texturecraft-automation's, died this way in every FreeBSD run since Nov 6, with no render or dependency change. photocraft already serializes its GPU tests for the same reason; do the same for the crates that open a device.

* FreeBSD CI: test the whole workspace one test at a time

Excluding the GPU crates from the parallel run changed feature unification, and winit then built without its X11/Wayland backends (compile_error on FreeBSD). Run the whole workspace in one cargo test with --test-threads=1 instead.
2026-11-10 14:30:38 +01:00
chasse20 a7236149cb Merge main and fix brush reset accessibility 2026-11-10 07:44:04 -05:00
chasse20 7de078d8d9 Merge main and tidy mask-value shortcut tests 2026-11-10 07:15:02 -05:00
SteamSmithandClaude Sonnet 5.5 208c645d0c Show a whole material at once: coarse first look, then the exact result
Applying a material filled the model in tile by tile, and each apply made the
next one slower. Now:
- a big recomposite first draws a coarse look of every tile (sampled texels
  repeated across blocks), then refines to the exact result;
- layers hidden behind an opaque layer are skipped (not when anchors or height
  masks are involved);
- compositing and upload budgets adapt: larger when idle, smaller while the
  user is interacting, and uploads reserve time for conversion;
- no coarse pass during a live stroke or with neighbourhood filters;
- blending at full weight returns the blended value exactly.

Tests: coarse-then-exact, hidden-layer culling gives identical pixels, coarse
pass covers every tile, no coarse pass while a stroke is live.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 06:40:11 -05:00
SteamSmithandClaude Sonnet 5.5 6f5c78d173 Rendering mode: no flash when the camera moves, steadier frames, less grain while orbiting
Orbiting in Rendering mode flashed a "Starting render" placeholder, got grainy
and stuttered once the GPU was busy. Now:
- the path tracer works at half size while the camera moves and keeps the last
  picture on screen until the full-size one has a few samples (no placeholder);
- previous-size accumulation buffers are kept, so switching size does not
  reallocate;
- the samples-per-frame controller uses a frame-time floor (1/75..1/30 s), cuts
  only when a frame takes 1.75x the floor and regrows after 6 frames;
- texture loading counts as motion and texture take-in is throttled, so the
  scene is not rebuilt every frame while materials load;
- environment lookups are cached.

Tests cover the controller, the held picture, size switching and the
quick-frames case.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 06:40:08 -05:00