Repository navigation
Feat: Transform3D, CSS 3D transforms (FR-41.3, FR-41.5 Draft) - #274
Merged
Merged
Conversation
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.
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.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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