mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
<MeshPass shader> inside a mesh draws it again by your shader file as written, in a sorted phase after the camera's main opaque pass, onto the colour target with no depth attachment and back faces culled, with Bevy's mesh view and mesh bind groups: raea-sys-phase's MeshPass, Bevy's custom_render_phase stencil phase made a component. A mesh's `compressed` prop compresses its geometry as Bevy's compressed_mesh(&MeshCompressionArgs::regular()) does (raea-sys-mesh finished), so a shader reads its positions under VERTEX_POSITIONS_COMPRESSED; engine/render's mesh build calls it in the same line, keyed on it. The port is pixel-identical to Bevy at frames 5 and 10 (0 pixels differ). A 1 to 3 cm move of the sphere, camera or cube still passes the SSIM bar but is 177 to 629 pixels off, so the exact match is the port's, not the bar's. The parity host gets indexmap and nonmax, the example's own dependencies. 144 of 438 ported, 144 passing.
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.