mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
2D was drawn 0.14% small. An orthographic camera on the engine's w x (h + 1) target (the frame and its tag row) saw the frame through Bevy's SubCameraView, whose orthographic math sizes its area from the 721-row target. A white rect at (90, 510) drew at 41..140 instead of 40..139. Every 2D port still passed the pixel bar. Orthographic cameras now get a w x h Viewport instead (engine target.rs, line-neutral). 2d/sprite and 2d/move_sprite went from SSIM 0.998 (worst tile 8-9) to 1.000000. New in the SDK: - Bevy's primitive meshers by name (systems/material mesh.rs): CircularSector, CircularSegment, Segment2d/3d, Polyline2d/3d, ConvexPolygon, Ring (`inner`, or `ring: thickness` as Bevy's to_ring), Extrusion, the Sphere's uv or ico kind and Plane3d subdivisions. - <Model nodes>: glTF nodes' local transforms by name, each frame. - Lights' shadow_depth_bias and shadow_normal_bias. - <Sprite image_mode> (Bevy's SpriteImageMode: Auto, Scale, Sliced and Tiled) and <Sprite sampler>. A sprite sheet is no longer forced to nearest; the ports whose examples use ImagePlugin::default_nearest ask for it. - Text2d's Anchor, and it no longer wraps (Bevy's Text2d is unbounded). - Srgba.hex takes Bevy's 3, 4, 6 or 8 digits. - Quat.slerp. - The parity probe marks the example's highest-order window camera as the UI camera, unless the example marked one itself. New ports, all passing: camera/2d_on_ui, gltf/load_gltf, gltf/gltf_skinned_mesh, animation/animated_transform, 3d/fog, 3d/3d_shapes, 2d/sprite_scale and 2d/sprite_slice. Mutants: - Caught by the bar: skinned mesh without the joint pose and at PI/3; animated_transform without the controller's turn; 3d_shapes with a Cuboid for the Tetrahedron. - Caught by pixels off: 3d_shapes' ring thickness (4736 vs 2911) and animated_transform's scale key (728 vs 0). - Passing the bar: fog's end and colour (SSIM 0.989 / 0.990). The real fog port matches Bevy to within 1/255 in every fogged region, and its 5819 pixels off are the help text. - sprite_scale's gabe sheets match Bevy byte for byte at frames 10 and 60.
docs
Documentation that spans more than one folder.
- settings.md: every setting raea reads (the agent's model provider, the optional API for generated music and speech, checks), and where they go.
Each folder's own README describes that part of the code. Behaviour specs written in Gherkin sit beside the code they
specify, for example sdk/shell/shell.feature and
sdk/raea/spec/motion.feature.