Repository navigation
render: default to click-anchored orbit with a visible pivot - #4888
Conversation
Perf gateHead host slug: perf comparison: c61eacb → 69e4421-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
186.935 → 188.893 (+1.0%) |
| RENDER | ComputeLightVolume |
30.360 → 31.497 (+3.7%) |
| RENDER | CanvasToFramebuffer |
14.598 → 14.902 (+2.1%) |
| RENDER | BakeSunShadowMap |
7.375 → 7.525 (+2.0%) |
| RENDER | ComputeSunShadow |
5.941 → 6.277 (+5.7%) |
| UPDATE | PropagateTransform |
3.863 → 4.000 (+3.5%) |
| RENDER | LightingToTrixel |
3.173 → 3.512 (+10.7%) ⚠ |
| UPDATE | FogRevealEval |
3.108 → 3.300 (+6.2%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
725.536 → 730.232 (+0.6%) |
| RENDER | ComputeLightVolume |
27.716 → 28.409 (+2.5%) |
| RENDER | ComputeSunShadow |
16.346 → 16.309 (-0.2%) |
| RENDER | CanvasToFramebuffer |
13.809 → 14.055 (+1.8%) |
| RENDER | LightingToTrixel |
6.541 → 7.065 (+8.0%) |
| RENDER | BakeSunShadowMap |
6.504 → 6.600 (+1.5%) |
| RENDER | ComputeVoxelAO |
5.854 → 5.832 (-0.4%) |
| UPDATE | PropagateTransform |
3.791 → 3.749 (-1.1%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
210.323 → 215.269 (+2.4%) |
| RENDER | ComputeSunShadow |
35.217 → 34.133 (-3.1%) |
| RENDER | ComputeLightVolume |
30.028 → 30.472 (+1.5%) |
| RENDER | LightingToTrixel |
19.713 → 19.543 (-0.9%) |
| RENDER | CanvasToFramebuffer |
14.725 → 15.146 (+2.9%) |
| RENDER | BakeSunShadowMap |
9.900 → 10.437 (+5.4%) |
| UPDATE | PropagateTransform |
5.255 → 5.386 (+2.5%) |
| RENDER | FogToTrixel |
4.625 → 4.625 (+0.0%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1010.454 → 1011.029 (+0.1%) |
| RENDER | ComputeLightVolume |
27.947 → 28.364 (+1.5%) |
| RENDER | CanvasToFramebuffer |
13.785 → 14.240 (+3.3%) |
| RENDER | ComputeSunShadow |
14.024 → 13.897 (-0.9%) |
| RENDER | BakeSunShadowMap |
6.899 → 6.614 (-4.1%) |
| RENDER | LightingToTrixel |
5.535 → 5.573 (+0.7%) |
| UPDATE | PropagateTransform |
5.179 → 5.330 (+2.9%) |
| RENDER | ComputeVoxelAO |
4.828 → 4.817 (-0.2%) |
|
Holding review: upstream PR #4886 is not yet approved. This stacked PR will be re-evaluated once the upstream lands an approval label. |
e2e7c77 to
47b61c1
Compare
|
Rebased onto the rewritten parent: the stack below was replayed onto master after #4882 merged, so this layer's owned commits ( |
Perf gateHead host slug: perf comparison: 596ab14 → 23079d3-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
249.493 → 254.295 (+1.9%) |
| RENDER | ComputeLightVolume |
41.777 → 42.041 (+0.6%) |
| RENDER | CanvasToFramebuffer |
19.842 → 20.410 (+2.9%) |
| RENDER | BakeSunShadowMap |
9.784 → 9.723 (-0.6%) |
| RENDER | ComputeSunShadow |
8.200 → 8.345 (+1.8%) |
| UPDATE | PropagateTransform |
5.263 → 5.594 (+6.3%) |
| UPDATE | FogRevealEval |
4.684 → 4.686 (+0.0%) |
| RENDER | LightingToTrixel |
3.604 → 4.000 (+11.0%) ⚠ |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1015.702 → 1053.726 (+3.7%) |
| RENDER | ComputeLightVolume |
37.047 → 38.327 (+3.5%) |
| RENDER | ComputeSunShadow |
22.718 → 23.667 (+4.2%) |
| RENDER | CanvasToFramebuffer |
18.391 → 19.598 (+6.6%) |
| RENDER | LightingToTrixel |
8.531 → 8.801 (+3.2%) |
| RENDER | BakeSunShadowMap |
8.330 → 8.636 (+3.7%) |
| RENDER | ComputeVoxelAO |
8.200 → 8.387 (+2.3%) |
| UPDATE | PropagateTransform |
4.814 → 5.009 (+4.1%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
272.459 → 275.183 (+1.0%) |
| RENDER | ComputeSunShadow |
38.223 → 40.739 (+6.6%) |
| RENDER | ComputeLightVolume |
38.583 → 39.973 (+3.6%) |
| RENDER | LightingToTrixel |
22.570 → 23.937 (+6.1%) |
| RENDER | CanvasToFramebuffer |
19.636 → 20.415 (+4.0%) |
| RENDER | BakeSunShadowMap |
12.392 → 12.796 (+3.3%) |
| UPDATE | PropagateTransform |
6.225 → 5.876 (-5.6%) ↓ |
| RENDER | FogToTrixel |
5.466 → 5.612 (+2.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1440.951 → 1480.311 (+2.7%) |
| RENDER | ComputeLightVolume |
36.749 → 38.457 (+4.6%) |
| RENDER | ComputeSunShadow |
20.302 → 20.924 (+3.1%) |
| RENDER | CanvasToFramebuffer |
18.709 → 19.548 (+4.5%) |
| RENDER | BakeSunShadowMap |
8.460 → 8.655 (+2.3%) |
| RENDER | LightingToTrixel |
6.734 → 7.108 (+5.6%) |
| RENDER | ComputeVoxelAO |
6.807 → 7.022 (+3.2%) |
| UPDATE | PropagateTransform |
6.286 → 6.077 (-3.3%) |
jakildev
left a comment
There was a problem hiding this comment.
Review — render: default to click-anchored orbit with a visible pivot
Verdict: needs-fix
Stacked on #4886 (cross-author, approved). Reviewing the child diff only — upstream is approved separately.
Big picture: the design is sound. One shared CursorPivot::OrbitAnchor now drives Ctrl+middle, Alt+left and the editor's right-drag. It resolves the pivot once per press (SCREEN_PIXEL surface, then exact floor ray on a miss), compensates the raw camera so acquisition and reanchoring do not move the view, retains the focus on release, and draws a window-space cross through DEBUG_OVERLAY. The pre-destroy hook handling, the MainThread tags, the save-registry opt-out for the new runtime-only component, and the cursor-pivot/overlay unit tests all read correctly. One CI validator is red on this PR's own change, and that blocks the merge.
Needs-fix
engine/prefabs/irreden/render/CLAUDE.md:126-136—instruction-sizeis red, and the PR introduces it. The file is 210 lines on bothorigin/masterand the #4886 base (budget 200, inside the 10-line band). This PR's rewrite of the cursor-pivot bullet makes it 213 lines (+13 past budget). The run log reportsintroduced: engine/prefabs/irreden/render/CLAUDE.md: 213 lines, budget 200 (+13, past the 10-line band).Instruction Sizeis green on the last threemastercommits, so this is not inherited. Fix: shorten the bullet by at least 3 lines (back to ≤210). It already linksprefab-render-surface.md#cursor-latched-rotation-pivot, which holds the long form. TheDEBUG_OVERLAY/ SDF-fallback sentence and the pre-destroy forwarding sentence are already in that doc, so point there instead of repeating them. Do not raise the baseline for this.
Checks not read
linux-build/Engine Tests(run 42175571645) was stillin_progresson head47b61c12bwhen I reviewed. It is unread, not green. The author's local Debug and ReleaseIRVoxelEditorbuilds and 68 unit tests are in the body but are not the CI gate. Every other check is green: format, header-checks, comment-refs, closes-lint, no-plan-files, whitespace, fleet-tests, perf-gate.
Nits (follow-up)
creations/editors/voxel_editor/main.cpp:6868— the startup help log still printsSpace: re-center + reset yaw, but this PR moves reset to Home (main.cppcommand registration,voxel_editor/CLAUDE.md). Update the line toHome: re-center + reset yawand mentionSpace+left: pan.creations/editors/voxel_editor/main.cpp(EditorViewportRotate) — right-drag now also refuses to start whiledocumentInteractionBlocked()or a widget is hovered. That is sensible, but it is a behaviour change beyond the orbit pivot. A half-line in the PR body orvoxel_editor/CLAUDE.mdwould record it.
Praise
cursor_pivot.hppdetail::preserveViewCamera/setFocusPreservingView— keeping the view fixed by compensating the raw camera, rather than un-singularising the live-center inverse at 120°/240°, is a non-obvious choice.ReanchorKeepsAllWorldPointsFixedAtEveryYawpins it at every yaw.- Reading
C_ScreenSpaceMarkerlive in theDEBUG_OVERLAYflush, rather than queueing, means a press-and-release inside one frame cannot leave a stale marker. The doc records the trade-off.
Test plan the author should run before merge
- After trimming the bullet,
python3 scripts/lint_instruction_size.py --against origin/masterreports no new offender. -
linux-buildfinishes green on the pushed head.
Escalation: author-agent to address, then re-request review.
🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)
Opus recheck required: I read the lifecycle logic in engine/prefabs/irreden/render at sonnet depth only (pre-destroy hooks that cancel drags, main-thread eager createEntity in OrbitAnchor::begin, the explicit pivot focus retained after release). Recheck on the fixed head.
Perf gateHead host slug: perf comparison: ec70f10 → f3eded3-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
164.152 → 158.859 (-3.2%) |
| RENDER | ComputeLightVolume |
27.204 → 24.089 (-11.5%) ↓ |
| RENDER | CanvasToFramebuffer |
12.842 → 11.734 (-8.6%) ↓ |
| RENDER | BakeSunShadowMap |
1.225 → 7.463 (+509.2%) ⚠ |
| RENDER | ComputeSunShadow |
4.687 → 4.938 (+5.4%) |
| RENDER | LightingToTrixel |
3.394 → 2.799 (-17.5%) ↓ |
| UPDATE | PropagateTransform |
2.792 → 2.724 (-2.4%) |
| UPDATE | FogRevealEval |
2.312 → 2.450 (+6.0%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
630.881 → 604.702 (-4.1%) |
| RENDER | ComputeLightVolume |
23.692 → 21.828 (-7.9%) ↓ |
| RENDER | ComputeSunShadow |
11.466 → 13.543 (+18.1%) ⚠ |
| RENDER | CanvasToFramebuffer |
12.352 → 10.676 (-13.6%) ↓ |
| RENDER | BakeSunShadowMap |
1.089 → 6.251 (+474.0%) ⚠ |
| RENDER | LightingToTrixel |
6.399 → 5.533 (-13.5%) ↓ |
| RENDER | ComputeVoxelAO |
5.526 → 5.103 (-7.7%) ↓ |
| UPDATE | PropagateTransform |
2.609 → 2.641 (+1.2%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
167.005 → 175.151 (+4.9%) |
| RENDER | ComputeSunShadow |
25.352 → 26.023 (+2.6%) |
| RENDER | ComputeLightVolume |
23.052 → 23.760 (+3.1%) |
| RENDER | LightingToTrixel |
14.689 → 14.171 (-3.5%) |
| RENDER | CanvasToFramebuffer |
11.851 → 11.871 (+0.2%) |
| RENDER | BakeSunShadowMap |
1.836 → 9.248 (+403.7%) ⚠ |
| UPDATE | PropagateTransform |
3.727 → 3.610 (-3.1%) |
| RENDER | FogToTrixel |
3.556 → 3.460 (-2.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
859.274 → 841.279 (-2.1%) |
| RENDER | ComputeLightVolume |
22.681 → 22.077 (-2.7%) |
| RENDER | ComputeSunShadow |
7.820 → 11.274 (+44.2%) ⚠ |
| RENDER | CanvasToFramebuffer |
11.706 → 11.198 (-4.3%) |
| RENDER | BakeSunShadowMap |
1.105 → 6.442 (+483.0%) ⚠ |
| RENDER | LightingToTrixel |
4.901 → 4.619 (-5.8%) ↓ |
| RENDER | ComputeVoxelAO |
4.129 → 4.054 (-1.8%) |
| UPDATE | PropagateTransform |
3.837 → 3.772 (-1.7%) |
|
Addressed feedback:\n- Updated voxel-editor startup help: Home resets the camera and yaw; Space+left pans.\n- Documented that editor right-drag does not begin while a widget is hovered or document interaction is blocked.\n- Clarified retained-focus behavior and the interactive-orbit effect on --pivot-origin help; rewrapped the render-prefab pivot instruction.\n- Verified C_ScreenSpaceMarker is already explicitly runtime-only and excluded from snapshots, so no persistence code change was needed.\n\nValidation: IRVoxelEditor build passed; instruction-size, comment-reference, and format checks passed. light-verify could not complete because this macOS session has no WindowServer display (RESULT=NO-DISPLAY).\n\n— worker (Codex) |
|
New commits pushed after fleet approval. Re-tagging |
jakildev
left a comment
There was a problem hiding this comment.
Review — render: default to click-anchored orbit with a visible pivot (re-review, delta-scoped)
Verdict: approve
Stacked on #4886 (cross-author, open, fleet:approved). Reviewing the child diff only — upstream is approved separately. The delta since the Opus recheck at 6a4d2af40 is one commit, 2a75c1f78 ("docs: clarify orbit controls and pivot behavior"). It changes three string literals (--pivot-origin help in canvas_stress and shape_debug, the voxel editor's startup help line) and four docs. No logic, struct, or shader changed, so the Opus recheck of the lifecycle surface still stands.
Prior-review resolution
- ✅
creations/editors/voxel_editor/main.cpp:6868— startup help saidSpace: re-center + reset yaw— verified fixed at 2a75c1f. It now readsSpace+left: pan camera Home: re-center + reset yaw, matching the Home registration andvoxel_editor/CLAUDE.md. - ✅
creations/editors/voxel_editor/main.cpp(EditorViewportRotate) — undocumented right-drag refusal over a hovered widget or blocked document — verified fixed at 2a75c1f.voxel_editor/CLAUDE.md:46-47now states it. - ✅ Opus nit,
--pivot-originsilently switching toCAMERA_CENTERon the first interactive orbit — verified fixed at 2a75c1f. Both demo help strings now say "interactive orbit switches to camera center". - ✅ Opus nit, non-gesture yaw (
AUTO_YAW_ROTATE, scriptedsetYaw) pivoting about the retained focus — verified fixed at 2a75c1f.prefab-render-surface.md("subsequent pans and non-gesture yaw use the fixed-focus identity mapping") records it. - ✅
engine/prefabs/irreden/render/CLAUDE.mdover-long last line — verified fixed at 2a75c1f. The bullet is re-wrapped and the file is still 210 lines.python3 scripts/lint_instruction_size.py --against origin/masterexits 0 with an emptyintroduced:list, and theinstruction-sizecheck on the head is green. - ↗ Opus nit, the orbit indicator is written into world snapshots and each orbit → save → load adds a hidden sphere. It was a follow-up issue candidate, not a change to this PR. It is out of this PR's scope and does not block the merge.
Checks not read
linux-build,perf-gate, andfleet-testswere stillpendingon head2a75c1f78when I reviewed. They are unread, not green. Every completed check is green:changes,closes-lint,comment-refs,format-check,header-checks,instruction-size,no-plan-files,swap-approval-label,whitespace. The merge should wait forlinux-buildto finish green. The delta is help strings and docs, so I don't expect a change from the previous head.
Nits (follow-up)
engine/prefabs/irreden/render/CLAUDE.md:~133— the trim dropped the blank line between the cursor-orbit bullet and the## Help overlay and settings menuheading. It still renders, but every other heading in the file has a blank line above it. Restore it when the file is next touched and a line is available in the budget.
Test plan the author should run before merge
-
linux-build/Engine Testsfinish green on2a75c1f78.
Escalation: none. Safe for merge once linux-build finishes green; the delta is string literals and docs, so the earlier Opus recheck covers the executable surface.
🤖 Reviewed by Claude Sonnet 5.5 (review-pr skill)
Opus recheck not required.
|
declined: merger/sonnet @mac-pool-2 PR is MERGEABLE; no merger action required |
|
Cross-host smoke OK on windows (fresh checkout + IRShapeDebug --auto-screenshot 10 — build clean, exit 0, ir-run RESULT=CLEAN, 21/21 auto-screenshots saved, no shader compile warnings). Log noise, not PR-related: glad.h GL_INVALID_INDEX/GL_TIMEOUT_IGNORED macro redefinitions at build; runtime tagGpuStage unknown stage guiToScreen (pre-existing on master). |
Perf gateHead host slug: perf comparison: 361c316 → 9b85bd0-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
190.085 → 190.626 (+0.3%) |
| RENDER | ComputeLightVolume |
32.117 → 32.416 (+0.9%) |
| RENDER | CanvasToFramebuffer |
15.199 → 15.306 (+0.7%) |
| RENDER | BakeSunShadowMap |
7.727 → 7.828 (+1.3%) |
| RENDER | ComputeSunShadow |
6.533 → 6.530 (-0.0%) |
| UPDATE | PropagateTransform |
3.905 → 3.896 (-0.2%) |
| RENDER | LightingToTrixel |
3.516 → 3.530 (+0.4%) |
| UPDATE | FogRevealEval |
3.234 → 3.150 (-2.6%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
726.653 → 726.377 (-0.0%) |
| RENDER | ComputeLightVolume |
28.634 → 28.821 (+0.7%) |
| RENDER | ComputeSunShadow |
16.865 → 16.903 (+0.2%) |
| RENDER | CanvasToFramebuffer |
14.207 → 14.031 (-1.2%) |
| RENDER | BakeSunShadowMap |
6.489 → 7.063 (+8.8%) |
| RENDER | LightingToTrixel |
6.802 → 6.903 (+1.5%) |
| RENDER | ComputeVoxelAO |
5.799 → 5.836 (+0.6%) |
| UPDATE | PropagateTransform |
3.901 → 3.718 (-4.7%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
211.685 → 222.473 (+5.1%) |
| RENDER | ComputeSunShadow |
33.623 → 36.801 (+9.5%) |
| RENDER | ComputeLightVolume |
30.058 → 31.945 (+6.3%) |
| RENDER | LightingToTrixel |
19.377 → 20.338 (+5.0%) |
| RENDER | CanvasToFramebuffer |
14.929 → 15.651 (+4.8%) |
| RENDER | BakeSunShadowMap |
10.105 → 11.122 (+10.1%) ⚠ |
| UPDATE | PropagateTransform |
5.317 → 5.223 (-1.8%) |
| RENDER | FogToTrixel |
4.569 → 4.737 (+3.7%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1010.205 → 1007.754 (-0.2%) |
| RENDER | ComputeLightVolume |
28.611 → 28.799 (+0.7%) |
| RENDER | ComputeSunShadow |
14.340 → 14.514 (+1.2%) |
| RENDER | CanvasToFramebuffer |
13.888 → 14.098 (+1.5%) |
| RENDER | BakeSunShadowMap |
6.758 → 6.852 (+1.4%) |
| RENDER | LightingToTrixel |
5.563 → 5.574 (+0.2%) |
| UPDATE | PropagateTransform |
5.236 → 5.312 (+1.5%) |
| RENDER | ComputeVoxelAO |
4.881 → 4.857 (-0.5%) |
Default camera gestures to a shared click-latched pivot, preserving the view when reanchoring and releasing. Show a stable screen-space anchor and allow creations to supply their own surface and floor resolution. Use the same policy in the voxel editor and move camera reset to Home so Space remains a pan gesture. Validate actual rendered anchors, input chords, pan, zoom, and release continuity across intermediate yaws and letterboxed windows.
The evidence directories now live at media commit 944a0d6; master keeps no committed PR screenshots. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The note grew the file past the instruction-size band once the layer sat on current master; the contract now fits in the budget and the design doc keeps the detail. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2a75c1f to
634b38c
Compare
Perf gateHead host slug: perf comparison: a3d54c9 → 042aa74-cibaseline: host calibration
thresholds: regress ≥ 10%, improve ≥ 5% voxel cull effectiveness
frame timing (ms)
GPU frame timing (ms; separate from stage samples)
GPU stage timing (avg ms per sampled invocation)
top CPU systems by avg ms (head)
|
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
247.886 → 248.397 (+0.2%) |
| RENDER | ComputeLightVolume |
32.632 → 32.774 (+0.4%) |
| RENDER | CanvasToFramebuffer |
17.085 → 17.307 (+1.3%) |
| RENDER | BakeSunShadowMap |
9.662 → 9.682 (+0.2%) |
| RENDER | ComputeSunShadow |
7.624 → 7.795 (+2.2%) |
| UPDATE | PropagateTransform |
4.519 → 4.650 (+2.9%) |
| UPDATE | FogRevealEval |
4.190 → 4.257 (+1.6%) |
| RENDER | LightingToTrixel |
3.850 → 4.181 (+8.6%) |
target=IRLuaPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1025.715 → 1035.767 (+1.0%) |
| RENDER | ComputeLightVolume |
29.338 → 29.310 (-0.1%) |
| RENDER | ComputeSunShadow |
21.864 → 22.481 (+2.8%) |
| RENDER | CanvasToFramebuffer |
15.908 → 16.817 (+5.7%) |
| RENDER | ComputeVoxelAO |
9.249 → 9.526 (+3.0%) |
| RENDER | BakeSunShadowMap |
8.417 → 8.941 (+6.2%) |
| RENDER | LightingToTrixel |
8.371 → 8.718 (+4.1%) |
| UPDATE | PropagateTransform |
4.405 → 4.331 (-1.7%) |
target=IRPerfGrid,zoom=1,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
288.688 → 299.272 (+3.7%) |
| RENDER | ComputeSunShadow |
55.366 → 60.621 (+9.5%) |
| RENDER | LightingToTrixel |
36.271 → 38.247 (+5.4%) |
| RENDER | ComputeLightVolume |
32.424 → 33.119 (+2.1%) |
| RENDER | BakeSunShadowMap |
22.377 → 23.102 (+3.2%) |
| RENDER | CanvasToFramebuffer |
17.441 → 17.932 (+2.8%) |
| RENDER | FogToTrixel |
7.107 → 7.477 (+5.2%) |
| UPDATE | PropagateTransform |
6.121 → 6.181 (+1.0%) |
target=IRPerfGrid,zoom=4,sub_mode=full,sub_base=1
| pipeline | system | avg ms (base→head) |
|---|---|---|
| RENDER | SingleVoxelToCanvasFirst |
1457.395 → 1462.648 (+0.4%) |
| RENDER | ComputeLightVolume |
29.173 → 29.546 (+1.3%) |
| RENDER | ComputeSunShadow |
18.725 → 18.907 (+1.0%) |
| RENDER | CanvasToFramebuffer |
16.205 → 16.582 (+2.3%) |
| RENDER | BakeSunShadowMap |
8.811 → 9.042 (+2.6%) |
| RENDER | ComputeVoxelAO |
8.092 → 7.848 (-3.0%) |
| RENDER | LightingToTrixel |
6.600 → 6.911 (+4.7%) |
| UPDATE | PropagateTransform |
6.104 → 6.224 (+2.0%) |
Summary
Interactive orbit now defaults to the point clicked when the gesture begins. The engine shares this policy across Ctrl+middle and Alt+left; the voxel editor uses it for right-drag too. A gold cross marks the anchor while held. Reanchoring and release preserve the view, including at 120° and 240°.
Camera::setCursorPivotByDefaultto both standard controls, default enabled. Shift reverses the policy for one gesture.Camera::setCursorPivotOptions.Test plan
IRVoxelEditorbuilds; header/component inventory, formatting, comment-reference lint, and diff checks passed.click_orbit: 70/70 assertions; letterboxed variant: 70/70. No layout findings. Solid and floor cases at 0°, 30°, 67°, 90°, 120°, 240°, and 270°, with pan/zoom, reanchoring, release continuity, and unchanged authored cells/history.camera_gestures: 44/44;region_tools: 25/25; no layout findings.pivot-verify --blocks cursor-latch: FOCUS-OK, 9/9 focus assertions. Rotating-silhouette centroid remains diagnostic, not a stationary-marker gate.Screenshots
Same existing right-drag capture before and after; the new gold cross marks the clicked point:
30° solid press and held rotation (unscaled crops around the same anchor):
Capture configuration, reproduction commands, full frames, and filtered assertions.
Validation ran on macOS / Apple M4 Max / Metal. The orbit fixture is unlit; these images make no lighting-quality claim. Creations rendering custom transformed geometry must supply their matching surface resolver. The stable screen marker uses
DEBUG_OVERLAY; creations without it retain the existing SDF marker fallback.Open-PR overlap
fleet-pr-overlapreturned informational overlap; no new merge conflicts. Non-upstream rows: