mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
MetalFX's denoiser was given the glass's own depth on a glossy screen, so when the orb it reflected moved on there was no disocclusion for it to see, and it smeared the orb's history along its path. Solari's guides now put a glossy pixel that moves as its reflection does (perceptual roughness up to 0.25) and mostly reflects (a specular share of 0.5 or more) as far off as what it reflects, as a mirror's already was, and keep it on the frames it draws its diffuse lobe, as its motion is kept; MetalFX takes that guide depth (R32Float) in place of the prepass's. A glossy pixel whose reflection leaves the scene gets the depth of the far point its motion is of: left unwritten (0, the sky's), MetalFX darkened window.tsx's shelves, far from those pixels, by 8%. window.tsx (736x981, Solari live preset, every frame drawn once), the worst tile against the same moment settled: the monitor's tile with an orb crossing, frame 50, +0.71 -> +0.08 stops; every other event, the pans, the flicker, blur.tsx's trail (0 px) and the forest's canopy (1.11 of the path tracer's) as before; photo 1's desk-still the same (lit tiles within 0.08 stops, the CRT's 0.0). RAEA_SOLARI_PSR_DEPTH=0 gives the denoiser the prepass's depth.
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.