refactor(compositor): carry the tilted plane's depth gradient to mode 8 - #689
EtienneLescot wants to merge 1 commit into
Conversation
TiltedQuad now exposes the closed-form depth coefficients (Kx, Ky) that project_corner used to compute and discard. The three mode-8 draws fill mb = [gx, gy, z_focus, 0]: gx/gy are the plane's depth gradient in px, z_focus is the depth of the resolved zoom focus mapped through the cut actually drawn (FrameGeometry::focus_plane). Shaders do not read the slot yet, so output is byte-identical.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
Included review availability: Your plan provides up to 8 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change resolves the zoom focus within the drawn cut, computes tilted-plane depth data, and passes it through all compositor backends. The shader documents the new ChangesTilted depth focus
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change prepares focus-relative tilted-depth data without changing rendered output, and no actionable merge risk is established. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description briefly states the change and references related work, but it omits the required template sections for related issue, change type, release impact, desktop impact, screenshots or video, and testing.
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 Clippy (1.98.0)Clippy execution failed 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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Intégrée dans |
Plumbing for depth of field: mode 8 receives the tilted plane depth gradient.
Chantier 3D, PR 5a. Spec complète et branche d intégration : #682.
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Tests