Skip to content

Edit fill projections, symmetry and materials in Properties - #754

Closed
chasse20 wants to merge 7 commits into
split/698-properties-uifrom
split/698-fill-material
Closed

chasse20 wants to merge 7 commits into
split/698-properties-uifrom
split/698-fill-material

Conversation

@chasse20

@chasse20 chasse20 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Artists can place and preview a fill on the model, adjust its symmetry and edit its material channels in one panel.

Part of #433. Second of four PRs split from #698. Depends on #753. Authored by @Rebornim.

Projection settings feed both the viewport gizmo and the compositor. Fill layers and mask fills share placement controls. This also brings in channel sources, project swatches and linked-material editing, including manual re-cooking. Placed decals keep their surface placement and aspect-ratio controls, and procedural color slots keep their gradient-map stops.

Verification. On Linux, the UI integration suite passed 741 tests with 15 ignored. All 59 selected fill-engine tests passed. They cover mask decal inspection, projection resets and source editing. UI checks exercise decal proportions and toggling a gradient map.

Accessibility

The UI tests exercise keyboard entry, Escape in the color picker and selection of channel options through the accessibility tree. Manual screen-reader testing is pending.

Summary by CodeRabbit

  • New Features
    • Added expanded fill projection controls, including UV transforms, warp frames, cropping, backface/depth culling, and interactive 3D gizmos.
    • Added fill symmetry, image filtering and wrapping options, physical-size scaling, and reset controls.
    • Added whole-material assignment, linked-material output mapping and resolution controls, and project color swatches.
    • Added a redesigned Properties panel with searchable source pickers, material previews, color picker, eyedropper, and swatch editing.
  • Documentation
    • Documented material assignment and project swatch commands; added attribution for the studio lighting environment.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chasse20
chasse20 added this pull request to stack #757 November 21, 2026 23:40
@chasse20
chasse20 force-pushed the split/698-fill-material branch from 254bd59 to feb18a9 Compare November 21, 2026 23:50
Comment on lines +65 to +68
match self {
SourceSlot::Channel(channel) => channel.id(),
SourceSlot::Grayscale => "grayscale",
}

@benandez benandez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes. The gate fails on Ubuntu and Windows at feb18a9: run 44963718780. The ui-egui lib tests have 394 passed and 2 failed. CodeQL and the SonarCloud scan also fail.

  • ui-egui/src/frame_gizmo.rs:1003: in the_panel_and_its_preview_follow_every_frame_of_a_frame_drag, the gizmo moved on 0 frames of the drag, and the test needs at least 4.
  • ui-egui/src/viewport.rs:2681: picking_shows_the_id_mask_its_color_selection_reads panics because mask.add.colorSelection returns no effect. The colour-selection commands arrive in #755, so this test belongs in that PR. It passes there.

Before the next review, please also address these:

  • At about 25k added lines, this is too large to review adversarially. Could it be split further?
  • assets/hdr/studio_small_09_512.hdr needs its provenance in ATTRIBUTION.md (AGENTS rule 24).

I haven't done a full review yet, because CI is red.

chasse20 and others added 7 commits November 21, 2026 19:26
Extract the fill workflow from #698 at 5644b7d. Keep projection sampling and placement, viewport gizmos, source cards, swatches, material linking, mask fills and their tests on the same branch. Preserve the existing decal controls, linked-material re-cook action and per-channel gradient map.

Co-authored-by: Rebornim <250083243+Rebornim@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants