Files
raea/engine/render
shinyobjectz afb3eb6dc6 PV1: the live stage picks 3D parts, a free camera, and props set as it plays
stage.pick answers what is under a point of the stage, the page and its 3D as one picture: a 3D part (its layer key,
name, JSX props, box, the point hit and its distance; the nearest mesh along the pointer's ray, skinned meshes as
posed: systems/frame pick.rs) or the page's element, with the part behind it. stage.view draws the 3D from an orbit
until it is given back (systems/frame view.rs, FreeView). stage.props sets a composition's props over its defaults
as it plays (the entry's raea-props). What the stage opens is stamped, so every pick has its place in the code.
stage.seek (written 11-07 for the editor's Live, never committed) lands with it. raea media still takes --width.
Proof: raea play shapes.tsx --offscreen --seek 10 --pick 640,330 answers shape-2 at shapes.tsx:28:11#2 with its
props; --view 1.2,0.9,9 draws it from above. docs/preview.feature is the plan.
2026-11-09 21:03:59 -08:00
..
2026-10-31 13:15:29 -07:00
2026-10-31 13:15:29 -07:00

raea-render

raea-render: raea's render engine. raea compositions are lowered to its program (rows spawned once, keyed per frame) by sdk/react/ and drawn here, so a render and a live play draw from the same rows with the same code.

  • src/engine.rs and src/engine/: the Bevy renderer: 3D scenes (meshes, lights, cameras, glTF models, post effects), video frames, the painted pages as image rows (src/rows2d.rs, drawn by bevy_ui) and sound.
  • src/gpuview.rs: the direct GPU path a render encodes from.
  • src/html.rs: HTML compositions, drawn by bevy_ui through runtime/js/.
  • src/cli.rs and src/media_verbs.rs: native media verbs (raea media ..., plus raea ffmpeg and raea ffprobe, which read ffmpeg-style command lines without running ffmpeg). raea and the shell run them in process.

Depends on runtime/js/, systems/k/, io/media/ and gpu/device/.

Status: in use as the renderer behind raea.