Skip to content

Feat: Transform3D, CSS 3D transforms (FR-41.3, FR-41.5 Draft) - #274

Merged
b-re-w merged 6 commits into
developfrom
feat/fr41-3-3d-transform
Nov 7, 2026
Merged

b-re-w merged 6 commits into
developfrom
feat/fr41-3-3d-transform

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Closes #105

Nothing was compiled, run or tested locally: no cargo, no renderer build. CI and the merge-time renderer build are the first run.

  • SPEC: FR-41.3 rewritten and set to Agreed (values, wire layout, drawing, errors, 7 criteria), FR-41.5 (preserve-3d) added as Draft.

  • Modifier 27, Transform3D: 92 byte SetModifier (k = 8), 16 f32 column-major matrix at offset 12, origin_x/origin_y at 76/80, backface_hidden as a u64 (0 or 1) at 84. Schema hash changed (0x27de81f6c344712b), hash recomputed with a script checked against the old value.

  • The new vector is tests/vectors/transform3d.bin, so mutations.bin is byte for byte unchanged.

  • Renderer: the homography of the z = 0 plane is drawn exactly with graphicsLayer: affine layers, one perspective layer, or a perspective layer plus affine layers (Transform3DLayers.kt, bound to Compose 1.11.1-ext.1).

  • Tests: tests/transform3d.rs, Transform3DProtocolTest.kt, Transform3DTest.kt (fr41_3_*).

  • 쌓인 레이어로 그리는 방식은 2026-10-25에 리더가 승인했습니다. 3D 변환 노드의 Transform 애니메이션 제한은 FR-41.2.1(Draft)로 추적합니다. CSS Transforms 2의 3D 행렬 분해와 보간으로 풀 수 있을 것으로 보고, 보간한 행렬을 매 프레임 같은 쌓인 레이어로 그리는 방식입니다.

Compose ext.2 고정 올림 PR이 module.yaml을 올린 뒤 이 검사가 녹색이 된다

🤖 Generated with Claude Code

Closes the spec half of #105. Modifier 27, k = 8, 92 bytes, backface flag in the record.
Modifier tag 27, a 92 byte SetModifier (k = 8): a column-major 4x4 matrix, the
origin as fractions of the node, and a backface-visibility flag. Non-finite
values, a flag other than 0 or 1 and a wrong length are protocol errors. The
schema hash changes.

The Renderer draws the matrix exactly: no perspective by the two affine layers,
a matrix one layer can make by a single graphicsLayer, anything else by stacked
layers in one adapter file bound to the Compose release it was read against.
Covers acceptance criteria 1 to 7. Nothing was compiled or run when this was
written.
@b-re-w b-re-w added the run-heavy-ci Run the heavy CI workflows on this pull request's head label Oct 24, 2026
The adapter's COMPOSE_VERSION pin moves from 1.11.1-ext.1 to 1.11.1-ext.2 in the
desktop source (shared by the symlinked platform modules) and in the Android
staged copy. module.yaml is bumped separately, so the Transform3D pin test
(FR-41.3) stays red until that change lands.
@b-re-w b-re-w added run-heavy-ci Run the heavy CI workflows on this pull request's head and removed run-heavy-ci Run the heavy CI workflows on this pull request's head labels Oct 25, 2026
@b-re-w

b-re-w commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

Handoff (2026-10-25): Branch: feat/fr41-3-3d-transform. State: open, many static, renderer and release checks are red, plus Heavy checks. Next: after #277 merges, rerun the checks and the heavy run. Closes #105. Blocked on: #277 merging.

@b-re-w
b-re-w merged commit 8d1cd7c into develop Nov 7, 2026
37 of 53 checks passed
@b-re-w
b-re-w deleted the feat/fr41-3-3d-transform branch November 12, 2026 16:33
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