Files
workinf_Blender_Wasm/docs/status/W-036.md
2026-08-12 04:47:48 -04:00

1.3 KiB

W-036 Status

status: done_current_scope task: 导出动画和帧状态

Implemented

Scene frame current/start/end and object transforms are exported from the serialized Scene block. Legacy FCurve lists and Blender 5.2 layered Actions (keyframe strips/channelbags) are decoded into target-scoped AnimationIR channels with RNA paths, scalar keyframes and bounded frame ranges. The Timeline uses scene bounds instead of a fixed 250-frame range after a .blend is opened.

Accepted bounded scope

Timeline keyframe insertion/deletion for object location, Euler rotation and scale writes Blender layered Actions through Main. The UI exposes frame range, key dots, active Action and CONSTANT/LINEAR/BEZIER interpolation selection. Object constraint enable/influence is editable and node constraints plus pose constraints are exported in SceneIR. Frame/pose goldens cover 1/5/10/15 and save/reopen compares evaluated matrices and vertices.

The N-014 bounded extension now reads and atomically replaces single-object Action Clip stacks, and Blender's native depsgraph evaluates the saved Main at the requested frame. Transition/meta/sound strips, Animated Time, reverse, Drivers, complete blending matrices and arbitrary constraint types remain structured future extensions; Three.js does not approximate them.