mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
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.
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.rsandsrc/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 throughruntime/js/.src/cli.rsandsrc/media_verbs.rs: native media verbs (raea media ..., plusraea ffmpegandraea 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.