Skip to content

Codex/photoscrop perspective projection#286

Draft
muukii wants to merge 38 commits into
mainfrom
codex/photoscrop-perspective-projection
Draft

Codex/photoscrop perspective projection#286
muukii wants to merge 38 commits into
mainfrom
codex/photoscrop-perspective-projection

Conversation

@muukii

@muukii muukii commented May 24, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

muukii and others added 30 commits January 30, 2026 17:40
- Resolve conflicts in Package.swift, Package.resolved
- Update Demo files to use StateGraph instead of Verge
- Replace $editingStackState.driver with editingStack

Co-Authored-By: Claude (global.anthropic.claude-opus-4-5-20251101-v1:0) <noreply@anthropic.com>
## Summary

- Add `.cube` LUT parsing alongside the existing image-based LUT flow.
- Let `FilterColorCube` use either an image LUT or raw
`CIColorCubeWithColorSpace` cube data.
- Load bundle `*.cube` files through `ColorCubeLoader`, using
`LUT_3D_SIZE` and optional `TITLE` metadata from the file.
- Add parser, loader, and filter-output coverage for `.cube` LUTs.

## Notes

- `.cube` files with the default `0...1` domain are supported.
- Non-default `DOMAIN_MIN` / `DOMAIN_MAX` currently throw an explicit
unsupported-domain error rather than silently applying a wrong
transform.
- `implementation-notes.html` was kept local and not included in this
PR, matching the existing Brightroom notes workflow.

## Validation

- Passed: `git diff --check`
- Passed: `BrightroomEngineTests/ColorCubeTextParserTests` (4 tests)
- Checked: full `BrightroomEngineTests` currently reports 26 passed / 4
failed. The failures are existing `RendererTests` color-space equality
assertions for sRGB inputs, not the added LUT tests.
- Checked: `SwiftUIDemo` simulator build is currently blocked by missing
package product `Reveal-SDK`, not by this LUT change.
@muukii muukii marked this pull request as draft May 24, 2026 04:12
muukii added 3 commits May 24, 2026 13:17
…hotoscrop-perspective-projection

# Conflicts:
#	Dev/Brightroom.xcodeproj/project.pbxproj
#	Sources/BrightroomUI/Shared/Components/Crop/CropView.swift
#	Sources/BrightroomUI/Shared/Components/Crop/SwiftUICropView.swift
#	Sources/BrightroomUI/builtin/PhotosCrop/PhotosCropContentView.swift
…hotoscrop-perspective-projection

# Conflicts:
#	Dev/Brightroom.xcodeproj/project.pbxproj
Base automatically changed from muukii/state-graph to main May 25, 2026 12:37
…pective-projection

# Conflicts:
#	.maestro/photos-crop.yaml
#	Dev/Brightroom.xcodeproj/project.pbxproj
#	Dev/Brightroom.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	Dev/Tests/BrightroomEngineTests/RendererTests.swift
#	Sources/BrightroomEngine/Engine/CoreGraphics+.swift
#	Sources/BrightroomEngine/Engine/RenderCrop.swift
#	Sources/BrightroomUI/Shared/Components/Crop/CropView.swift
#	Sources/BrightroomUI/Shared/Components/Crop/SwiftUICropView.swift
#	Sources/BrightroomUI/Shared/Components/SteppedSlider/BrightroomSteppedSlider.swift
#	Sources/BrightroomUI/builtin/PhotosCrop/PhotosCropContentView.swift
#	Sources/BrightroomUI/builtin/PixelEditor/PixelEditorLocalizedStrings.swift
#	Sources/BrightroomUI/builtin/PixelEditor/SwiftUIPixelEditorView.swift
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.

1 participant