Commit Graph
1420 Commits
Author SHA1 Message Date
Rebornim 13deee13b4 Draw the panel tabs and frames in TextureCraft's colours again
craft-ui's dock has drawn every panel's tab strip and body in the suite's
default grey since the move to craft-libs: the app gave craft-ui no theme.
Hand it one built from the app's tokens (the strip on the window chrome, the
shown tab and body on the panel card, the tab names in the app's text
colours), kept while the tokens stay the same.
2026-11-27 08:25:57 +00:00
Rebornim 896cd220c8 Keep the brush preview in view under the paint tool's tabs while its sections scroll 2026-11-27 08:25:57 +00:00
Rebornim 1ace4f12e9 Set the lazy mouse in the top bar only, and give its Spacing the Properties range
The Brush section's folded Lazy mouse band repeated the top bar's button and distance; it goes, as the reference keeps the lazy mouse in the top bar. The top bar's Spacing slider stopped at 200 % while Properties' goes to 1000 %; both now reach 1000 %. Saved values are unchanged.
2026-11-27 08:25:57 +00:00
Rebornim a82b9312fd Keep the right-click popup's brush pictures apart from the docked panel's
The popup and the docked panel draw the brush preview, stamp dial and jitter strip at their own widths through one cache entry per picture, so each frame one replaced the other's texture: the popup's pictures came out blank and both were rendered again every frame. The cache now keeps one entry per drawing layer.
2026-11-27 08:25:57 +00:00
Rebornim bec8934c80 Leave the brush tools' Properties without hint lines
The Brush section's two Ctrl+drag lines go (the shortcuts stay in the
keymap), the Smudge section's two lines become the tooltips of Strength
and Channels dragged, and the Clone section's lines become the tooltip
of its source row, which reads Source: none until one is set.
2026-11-27 08:25:57 +00:00
Rebornim d627b8c004 Set the brush's channel values in cards under the fill layer's pills
The Material section of a brush tool's Properties now looks like a fill
layer's: the channel strip uses the fill's pills (Color, Metal, Rough,
Normal, Height; a click turns a channel on or off, Alt+click keeps it
alone), and each channel that is on gets a card with its swatch, name
and "Uniform" under it. Base color has the colour bar with its
eyedropper, Metallic, Roughness and Height a gray ramp with its value
and invert glyph, and Normal reads "Flat" with no value row (the brush
paints the flat normal). Each card's reset puts the channel back to its
default value. Every change goes through tool.material.

The eraser shows only the strip: it removes paint from the channels
that are on and has no values to set. The hint lines under the old
chips are gone. Polygon fill keeps its own material rows.

A slot card whose source can't be swapped (these uniform channels)
answers no clicks on its row and reads as a label, not a list.
2026-11-27 08:25:57 +00:00
Rebornim 44dceb6059 Paint every brush tool's strokes through the stencil, set in a Stencil tab
The stencil now shapes Paint, Eraser, Smudge and Clone strokes as well as
Projection ones: its gray times its alpha masks the stroke, read from the
viewport's point of view, and the tool keeps painting its own material.
Only the Projection tool paints the image's colors. In the 2D view, where
the stencil isn't drawn, only the Projection tool uses it, as before. The
viewport shows the stencil and S + drag places it for every brush tool.

Every brush tool gets the Stencil tab. Its section is a slot showing the
stencil image (a click opens the picker of the project's textures with
Import... first, × takes the stencil away, an image dropped on it becomes
the stencil; the S-drag keys are its tooltip), a Tiling mode list (No
Tiling, H and V Tiling) with a picture per mode, Scale, Rotation and
Position X / Y stacked beside a picture of the view with the stencil
placed in it, and Overlay opacity. The STENCIL caption's reset puts the
stencil back in the middle of the view. The sliders change it through
tool.stencil.
2026-11-27 08:25:57 +00:00
Rebornim 161d09514a Pick the brush alpha from a slot and shape it beside a picture of it
The Alpha section's grid of tiles becomes one slot showing the alpha in
use (thumbnail, name, kind). A click opens the resource picker with the
built-in shapes, the library's alphas and the project's textures; the ×
goes back to the Round shape. An alpha or a texture dropped on the slot
becomes the alpha.

Parameters is a band: Hardness, Roundness (Round shape only), Size X and
Size Y stack beside a live picture of the stamp they make, then Contrast
and Invert. Text is a folded band in the sheet's rows.
2026-11-27 08:25:57 +00:00
Rebornim 2cf3d2ad67 Turn pen pressure on Size on and off from the Size row
BrushSettings gains size_pressure (on by default and for brushes saved
before it existed, so old projects paint as before). Off, a light pen
paints at full size in both views; tool.brush takes and reports
sizePressure. The Size band's rows keep a pen button slot, Minimum Size
greys while pressure is off, and the brush preview drops its pen taper.
2026-11-27 08:25:57 +00:00
Rebornim e6342a9f29 Lay out the paint tool's Brush section in the reference's bands
Size (Size, Minimum Size, Spacing), Opacity (Flow, Stroke opacity),
Orientation (the brush's stamp on a dial beside Angle, Follow Path),
Jitter (a strip of jittered dabs above the four jitters) and Projection
(Alignment with a picture per mode, Backface culling with its Angle
fade, Size Space, Stamp depth) as property-sheet bands, each with its
own reset. Brush presets open from the Brush caption's menu button.
Particles and Lazy mouse stay, folded.
2026-11-27 08:25:57 +00:00
Rebornim 18c7b690ca Lay out the paint tool's Properties as one page under jump tabs
The tool's Brush, Alpha and Material (Grayscale on a mask) were three
pages behind icon buttons, one shown at a time. They are now sections of
one scrolling page, with the same jump tabs on the panel's top strip as a
fill's Properties: a tab scrolls to its section, and the section in view
lights its tab, in the docked panel and the right-click popup. The
Projection tool's stencil moves from above the tabs into its own Stencil
section. The rows inside the sections are unchanged for now.
2026-11-27 07:33:31 +00:00
Rebornim a89626c697 Paint the brush preview with the current brush's own stamps
The stroke at the top of the paint tool's properties was a flat line that only followed size, flow and
opacity. It now lays down the brush's stamps (alpha, hardness, spacing, flow, angle, follow path and the
jitters) in the colour the tool paints, or the mask's gray, and the sphere takes the tool's metallic and
roughness. The picture is rendered again only when the brush, its colours or the panel size change.
2026-11-27 07:33:31 +00:00
Rebornim 2efb7bd747 Snapshot the paint tool's Properties tabs, the mask Grayscale tab and the right-click popup 2026-11-26 10:23:12 +00:00
FredApps 684f71bd79 Merge pull request #860 from storytold/fix/warp-toolbar-test-headless
Warp toolbar test: install the headless runtime so main's CI is green again
2026-11-26 10:25:06 +01:00
FredApps 3695db1d44 Warp toolbar test: install the headless runtime on its harness
Main's CI has failed since #837 merged: place_on_surface_keeps_a_warp_on_its_own_texture_set
builds its harness without framework::install_headless, which the framework
runtime needs since #800, and panics with "the runtime plugin's hooks did not
run". Every other harness already installs it.
2026-11-26 15:50:40 +07:00
skylar taylor-barrick 356f01b2f0 Nightly: stop blocking a refused launch on macOS (#853)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).
2026-11-26 00:47:29 -06:00
Chris Hassebrook 6b01f32eab Merge pull request #837 from vangel76/feat/warp-toolbar-805
Warp tool bar in the top bar: gizmo modes, place on surface, snapping, mirrors and resets
2026-11-26 01:00:38 -05:00
aiongg 4ff7cb6165 Merge pull request #800 from aiongg/minimal-port-next
TextureCraft: minimal port to craft-libs next
2026-11-26 00:27:34 -05:00
aiongg 47356ee5b5 Sample project tests drive the app through the framework runtime 2026-11-26 04:34:05 +00:00
chasse20 c20d538da6 Auto: Integrate main's November roadmap update
Bring in the November 25 roadmap audit and its tracker schema follow-up.
2026-11-26 04:18:45 +00:00
chasse20 d0b1c7e3ac Auto: Integrate main and fix warp placement, resets and stale drags
Preserve main’s perspective ring fit and use the displayed radius when deciding whether a ring can be grabbed. Keep surface placement on the edited fill’s texture set and end captured drags when the loaded mesh or projection changes.

Preserve toolbar settings across layout changes, honor Ctrl snapping, and expose the manipulator settings as keyboard-adjustable sliders. Reset stored projector rotation and scale when keeping corners, and reject invalid reset arguments before editing.

Skip hidden handle geometry, reuse projected axes, and remove temporary selection and hit-test vectors.
2026-11-26 04:13:53 +00:00
Chris Hassebrook d45bb2cad8 Merge pull request #848 from storytold/docs/roadmap-audit-2026-11-25
Docs: update the roadmap after the November 25 audit
2026-11-25 22:59:50 -05:00
chasse20 d08c7b900c Docs: preserve the roadmap tracker schema 2026-11-25 22:59:10 -05:00
chasse20 bae6870aec Docs: update the roadmap after the November 25 audit 2026-11-25 22:53:27 -05:00
aiongg 3bcd6f7153 Texture-set hover tests drive the app through the framework runtime 2026-11-26 03:51:34 +00:00
aiongg 8180c82fab Merge storytold main (3c026860) into the minimal port 2026-11-26 03:21:25 +00:00
Chris Hassebrook 3c026860e3 Merge pull request #775 from vangel76/feat/texture-set-hover-767
Highlight texture sets in the 3D viewport on hover
2026-11-25 22:16:53 -05:00
skylar taylor-barrick c57d4045f0 Switch on supervised nightlies on the nightly-signer branch (#838)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 21:05:43 -06:00
chasse20 4c6c880568 Auto: Integrate main's coverage-only CPU baking
Register cfg(coverage) with the workspace lint and use the existing CPU tracer for coverage builds. Preserve normal GPU selection and the approved hover-test language guard.
2026-11-26 02:25:05 +00:00
chasse20 3f81dabc5a Auto: Serialize the hover regression with translation tests
Hold the shared language-test lock through app construction, frame stepping, and harness teardown. Integrate main at bbd68068 to pick up the layer-mask thumbnail controls.
2026-11-26 02:14:42 +00:00
skylar taylor-barrick dc2c80739b Bake on the CPU under coverage so the Sonar shards stop crashing at exit (#840)
Merged under Skylar's explicit override (Nightly 792) after green CI, CodeRabbit on this head with no open threads, and an independent adversarial review with no blockers.
2026-11-25 20:02:16 -06:00
Chris Hassebrook bbd680686e Merge pull request #841 from vangel76/feat/mask-toggle-776
Switch a mask on or off with Shift+click, and leave mask view from the material thumbnail
2026-11-25 21:00:37 -05:00
chasse20 0bc7b1a95f Auto: Integrate rebuilt UV import from main
Bring in main at 1abfa79a with rebuilt UV import and saved layout support. Preserve the approved Painting and Baking hover regression and camera target validation.
2026-11-26 01:55:54 +00:00
chasse20 21073fbf76 Auto: Test texture-set hover previews and validate camera targets
Exercise pointer hover in Painting and Baking. Check that the hovered set reaches the 3D frame, leaving the row clears the preview, and selection stays unchanged.

Bring in camera.set validation from main. Reject malformed targets before changing camera state or advancing the session revision. Document and test that an omitted or null target preserves the current target.
2026-11-26 01:43:27 +00:00
Chris Hassebrook 1abfa79a89 Merge pull request #748 from vangel76/feat/uv-unwrap-on-import
Allow rebuilding mesh UVs in New Project
2026-11-25 20:43:13 -05:00
Chris Hassebrook 1c1e1c26d5 Merge pull request #739 from MMexicann/patch-5
fix(camera): reject malformed targets before updating the view
2026-11-25 20:26:30 -05:00
chasse20 632b2698c3 Auto: Preserve mask view on Alt-clicking the content thumbnail
Keep content selection active while Alt-click preserves the current viewport. Extend the Layers panel regression to exercise the gesture from Mask view.

All 20 Layers panel tests, UI Clippy, formatting, layering, and the isolated UI WebAssembly check passed.
2026-11-26 01:12:03 +00:00
chasse20 21b86d98f6 Auto: Validate rebuilt UV layouts and trim save and reload allocations
Integrate main's dialog and bake-state changes. Reject inconsistent saved layouts at archive and session boundaries, and preserve vertex splits between independently packed materials.

Stream UV coordinates in bounded batches, transfer stored mesh bytes on successful reopen or reimport, and skip import reports that those callers discard. Set the archive version on the owned save snapshot to avoid copying the layer graph twice.

Cover material boundaries, malformed snapshots, locked coordinates and keyboard activation. Update the format and command documentation.
2026-11-26 01:03:44 +00:00
chasse20 940a526539 Auto: Integrate main and preserve mask toggle targeting
Allow Shift-click to toggle an explicit layer without selecting it. Keep the argument-free shortcut inactive when selection is empty. Focus the toggled thumbnail and expose its translated on or off state.

Build the export preset filename lookup once per unique save and preserve filename-alias handling.
2026-11-26 00:59:41 +00:00
chasse20 565fdaf02d Auto: Integrate main and fix texture set hover checks and focus
Preserve main's bake and export updates in the prepared merge. Expose
Painting row selection to AccessKit and draw a distinct keyboard focus
outline.

Derive test coverage from flat base color so lighting cannot hide
covered samples. Check all exclusive neighboring pixels in one pass.
2026-11-26 00:53:34 +00:00
chasse20 b7abae10d7 Auto: Integrate main and strengthen camera target regression tests
Resolve the view-command imports so main's environment lighting and the shared target parser both compile. Clarify the command help, parse each camera angle once, and name the existing camera bounds.

Cover the complete pose and revision on rejection, and verify that omitted and null targets preserve the pivot while other settings change.
2026-11-26 00:42:41 +00:00
Chris Hassebrook 5590b7396a Merge pull request #734 from MMexicann/patch-1
docs: document the FreeBSD arm64 download
2026-11-25 18:58:33 -05:00
Chris Hassebrook 3b5afd3896 Merge pull request #735 from MMexicann/patch-2
fix(cli): reject invalid paths in batch scripts
2026-11-25 18:53:41 -05:00
vangel76 fea4a5e627 Shift+click on a mask thumbnail switches the mask on or off, the material thumbnail leaves mask view
Shift+click on a mask thumbnail runs mask.toggle on that layer instead of selecting the mask.
The mask thumbnail exposes a Mask off description while the mask is bypassed.
Clicking the material thumbnail returns the viewport from mask view to the material view.
2026-11-26 00:53:35 +01:00
Chris Hassebrook cd4e296743 Merge pull request #738 from MMexicann/patch-4
Reject invalid export preset save options
2026-11-25 18:43:18 -05:00
Chris Hassebrook d3f02c6e07 Merge pull request #744 from MMexicann/patch-8
Keep the current view when camera selection is invalid
2026-11-25 18:39:08 -05:00
Chris Hassebrook c3b354a39a Merge pull request #741 from MMexicann/patch-7
fix(resources): preserve text labels that contain path separators
2026-11-25 18:37:08 -05:00
Chris Hassebrook 4527be35a1 Merge pull request #807 from vangel76/fix/gizmo-ring-804
Keep the projection frame's turn ring the same size at oblique angles
2026-11-25 18:30:08 -05:00
Chris Hassebrook 9e1daa409a Merge pull request #830 from vangel76/fix/sample-project-828
Open Sample Project starts in a Samples folder that holds the built-in sample
2026-11-25 18:27:15 -05:00
Chris Hassebrook d33eaa3754 Merge pull request #745 from vangel76/fix/import-resource-usage-multiselect
Apply import resource types to the selected files
2026-11-25 18:21:47 -05:00