Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

Commits on main

A 3D scene made live (live play, a game's render) draws what its program draws (part of #26). Each frame's live rows now send what a render keys, the way it keys it. Toward making a full 3D render step React once (#26's leftover): its 3D made live as each frame is stepped, as a game's is, instead of in runtimes of their own beforehand. Rendering 155 3D compositions both ways (RAEA_3D=program and =live, per-frame hashes) found these differences, all bugs in live play too: - A spot's cone (inner, outer) wasn't sent after its first frame. On 3d/spotlight, live scored SSIM 0.94 against Bevy's own frame 20, the program 0.99. - A zero scale's rotation came out NaN and was sent again every frame, since NaN never equals itself. It is now the identity, or the frame before's in the program. - The fast path sent a bulb's place as the World's f32, where the program rounds it to 6 decimals. - Live frames sent only the camera's place, look, fov, focus and ambient. They now send every column a render keys (cam_keyed: a roll's up_*, the view window, sky and environment, aberration, depth of field, lens, motion blur, paint). Both live paths build the camera row with the program's own camera code (camera_row, camera_diff); the fast path's copy of it is gone. - Colour columns were rounded to 6 decimals, while a hex colour is its byte over 255, so a part whose colour ever changes drew a hair off on every frame until it did. They are exact now, in the program too. - The fast path kept glam's sign for a rotation where the full path takes the identity's side. That's the same matrix, but RAEA_LIVE3D_CHECK=1 refused it.
shinyobjectz committed 21 days ago
90f6572
1eb646f