2026-11-19 13:55:36 -05:00
..
2026-10-31 13:15:29 -07:00
2026-10-31 13:15:29 -07:00
2026-11-18 16:24:45 -08:00
2026-11-15 19:56:08 -08:00
LR10: a canvas's system-ui and BlinkMacSystemFont are macOS's SF ("System Font", variable in weight and optical size), as Chrome's canvas takes them. fontdb knew neither name, so a font list headed by them (snapcn's '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif') was measured and drawn in Helvetica, about 10% wider at 72px, and 600 measured as 700. -apple-system alone stays as it is: Chrome's canvas finds no face for it either. text-build, which places its words from measureText, goes from 9 px off Chrome to 1.3; the rest is SF's trak table, which CoreText applies and usvg doesn't
2026-11-12 20:30:01 -08:00
2026-11-19 08:12:54 -08:00
2026-11-16 16:32:45 -08:00
2026-11-15 13:01:38 -08:00
An <Instances> keeps one copy of its placements across a render's frames, not one a frame (#84). The SDK sent them inside data-props, so a set whose other props changed each frame (a spin) was parsed whole into each frame's props and every frame's scene was kept (the fed render's frames, the clipping check): 20,000 spheres turning cost 2.1 GB at 120 frames and the issue's 60,000 at 4K 7 GB at 60 and 14 GB at 240. Now the SDK sends them as data-at; raea-runtime-react keeps each part's text as one Arc<str> (AT3D) while it's the same, and Node3 and Item carry it as at; the look compares frames' texts before parsing one (instances_column), and the fast live path compares the Arc (panel_srcs, now shared text). <Entities>' expansion moves to raea-core-scene (entities_nodes) to keep raea-runtime-react under 2000 lines. Measured: the 20,000 spinning, 621 MB and 18.6 ms a frame at 120 frames (was 2,117 MB, 69.7 ms), 645 MB at 480; 60,000 at 4K60, 1.04 GB at 60 frames and 1.22 GB at 240. About 1 MB a frame still grows. A binary from before this, run on this SDK, draws an <Instances> as its one mesh
2026-11-10 16:46:23 -08:00
2026-11-17 19:52:34 -08:00
2026-11-19 10:14:49 -08:00
#165: an <R3F> scene lit by PMREMGenerator.fromScene(new RoomEnvironment(), sigma) is lit by that room, as three lights it. Since #131, fromScene handed back a stand-in that raea left out with a warning, because raea's <Environment> and its engine took panorama files only: the scene was drawn with no environment, so a box three draws 255,195,160 on its front face came out 136,76,58, and anything the room alone lights was near black. <Environment> now takes room (three.js's RoomEnvironment, made with no file) and blur (fromScene's sigma) in place of src. The engine makes the room itself (raea-sys-environment room.rs): RoomEnvironment's room, boxes, light boxes and point light at three r185's sizes and strengths, each direction from fromScene's cube camera traced to what it hits and shaded with three's Lambert, GGX and light falloff, blurred by sigma as fromScene's two half blurs do, then filtered like any panorama; runtime/look names it in env_srcs as room:SIGMA. On the R3F side, fromScene of a RoomEnvironment returns a texture marked with its sigma, which lights.ts turns into <Environment room blur> with the scene's environmentIntensity and rotation, and as the background when the room is that too; fromScene of any other scene, and fromCubemap, are still left out with a warning. The other way round, src/three (room.ts) draws <Environment room> as RoomEnvironment through the renderer's PMREMGenerator, and the source export writes it so. Tests: room.rs checks the room's light at 14 directions against three's own RoomEnvironment object (within 1e-3), the blur and the source name; runtime/look's camera test reads room sources into env_srcs; the envmap conformance test and test/errors.test.tsx hold the props and the conversion, and export.test.tsx the export. test/room/check.sh renders test/room/room.tsx and holds three pixels within 8 levels of three's, which test/room/three.ts works out on the CPU with three 0.185's PMREM and MeshStandardMaterial shading: #131's box face is 255,189,155 (three 255,195,160; 136,76,58 before), and two grey boxes lit by the room alone are 137 and 125 (three 140 and 127; 23 and 19 before). Left open: fromScene's options.position is drawn from the origin, with a warning, and the light meter does not count a room. Filed as R3F15b in docs/r3f.feature.
2026-11-16 17:29:56 -08:00
2026-11-17 19:52:34 -08:00
2026-11-08 07:00:32 -08:00
2026-11-17 10:38:33 -08:00
2026-11-12 23:11:04 -08:00
2026-11-19 09:51:02 -08:00
2026-10-31 13:15:29 -07:00
RR1: every look changes per frame. Each frame's post-processing is its own (runtime/look post.rs), and a set that changes goes in a per-frame table (frame_sets) laid onto the camera's row frame by frame; the camera takes a group off and puts it on again when its columns change (raea-sys-post camera.rs, moved out of raea-runtime-scene3d; volumetric fog's group is raea-sys-fog-half's, which raea-runtime-scene3d hands to it, as a system can't use another sideways). Each light's colour, shadows and shafts change the same way. A draw across a cut (a sky, AO, anti-aliasing, a tonemapper, shadows or volumetric fog coming or going) warms up 8 updates as a load does, so the sky's light is there on a cut's first frame; a ramp is no cut. Play builds its rows the same way: a row with a table is never still (a play's first frame has its sky), depth of field comes and goes with the frames that have one, the page background is keyed, and a seek back that makes a new engine sets play's rows on it again. bench/rerender/rr1.sh: the film as one composition equals its six shot renders 900/900; a 60-frame grade, bloom and fog ramp equals 60 stills 60/60 at SSIM 1.000000; play draws the looks as the render does at 12 seeks and 2 seeks back (the HTML caption over the 3D still differs by up to 2 levels at its edges, as before RR1). The supersample downsample moves to raea-runtime-gpuframe, and light_sig and pass_column to raea-runtime-look, keeping raea-render and raea-runtime-scene under 2,000 lines.
2026-11-10 14:03:56 -08:00
2026-11-19 09:58:24 -08:00
LR10: a family raea/text's loadFont asked for gets Google's faces in the page even where raea bundles faces of that name, as a linked stylesheet's @font-face shadows a local font in Chrome. Inter is bundled (static 400 and 700), so it was never a missing family and Google's never came: 300, 400 and 500 drew alike ("snapcn" at 100px 345.45 px; Chrome 340.39, 345.47, 350.45) and 600 as 700. Now 340.33, 345.45, 350.48, 355.38, 360.45. snapcn 18 -> 21 of 33 (wordmark-cut, text-select, hero-launch pass; punch-lines 18.1 -> 0.9, text-rewrite 7.4 -> 0.2); P26 unchanged (185 of 215, every frame at the same SSIM). LR10 records the read cost: the first read in a frame about 0.39 ms, each further one about 0.01 ms (300 frames, median of 6), and karaoke-captions' reads under the run's noise
2026-11-12 21:21:05 -08:00
2026-11-17 10:38:33 -08:00
2026-11-17 19:52:34 -08:00
2026-11-15 13:21:02 -08:00
2026-11-17 19:52:34 -08:00
2026-11-16 10:18:27 -08:00
2026-11-06 18:08:53 -08:00
2026-10-31 13:15:29 -07:00
2026-11-13 09:03:44 -08:00
2026-10-31 13:15:29 -07:00
2026-11-19 08:12:54 -08:00
2026-11-18 10:03:25 -08:00
2026-11-17 19:52:34 -08:00
2026-11-17 15:04:22 -08:00
raea song builds and runs off Apple (fixes #43). raea-sys-vision compiled modules that use Core ML and Apple Vision on every platform. depth and object are now Apple-only, and AppleVision with its text_lines moved into apple_vision.rs. The Vision trait and the portable helpers stay in vision.rs, and image becomes a dependency everywhere. raea-sys-layout's motion module (pure Rust) is no longer gated. raea-perceive gates the eyes, vad, track and hands commands to Apple, and read-lines and faces to builds that have a backend. Footage's store and content_hash (beats --store) move out of the Apple-only ingest module into store.rs. Off Apple, song and beats decode in process with the soft backend (Symphonia), since a Windows install has no ffmpeg: on a 163 s mp3 the map matches the ffmpeg backend's (264 beats, the same sections; strengths within 0.003). Models live in raea_io_home::models(): %LOCALAPPDATA%\raea\models on Windows, which has no HOME, and ~/.local/share/raea-models elsewhere as before. raea-perceive is found as raea-perceive.exe on Windows (io/assets perceive_bin, and the CLI's native.ts, whose PATH lookup now splits on the platform's delimiter). raea-perceive checks for Linux and Windows except opus's C build, which the soft backend brings and only a native toolchain compiles. The release doesn't ship raea-perceive for Windows or Linux yet
2026-11-08 02:17:06 -08:00
2026-11-10 08:56:09 -08:00
2026-11-17 19:52:34 -08:00
2026-11-17 19:52:34 -08:00
2026-11-15 14:07:00 -08:00
2026-11-17 19:52:34 -08:00
2026-11-10 10:39:13 -08:00
2026-11-17 19:52:34 -08:00
2026-11-07 13:36:50 -08:00
2026-11-14 08:44:33 -08:00
2026-11-19 08:12:54 -08:00
2026-11-12 21:28:48 -08:00
2026-11-17 19:52:34 -08:00
2026-11-17 10:38:33 -08:00
2026-11-13 11:43:31 -08:00
2026-11-08 11:33:24 -08:00
2026-11-17 10:38:33 -08:00
2026-11-08 16:42:57 -08:00
2026-11-16 16:32:45 -08:00
2026-11-17 19:52:34 -08:00
2026-11-15 13:05:00 -08:00
2026-11-17 19:52:34 -08:00
2026-11-17 19:52:34 -08:00
2026-11-17 19:52:34 -08:00
2026-11-08 04:52:35 -08:00
LT21: detail cross-fades on every surface and from where the GPU measures. raea's generated fragments for ShaderExt (surfaceShader: surface and lit hooks) and ShaderMaterial (shade) never called Bevy's visibility-range dither, so a part drawn with them (the city's facades, glass and ground) drew both levels fully inside a fade band and cut one at the band's edge, a pop: on the 540p fly over 1917 Berlin, detail made one-frame spikes of 45, 20, 19 and 17 tiles at frames 41, 117, 122 and 157 where the JS levels made theirs at 58, 106, 112 and 148. Both fragments now call visibility_range_dither under @if(VISIBILITY_RANGE_DITHER), as Bevy's own pbr fragment does (a source with its own @fragment calls it itself). And Bevy's GPU dither measures from a mesh's origin (mesh_world_from_local[3]) while its CPU check measured from the box's centre under use_aabb, which raea-sys-lod set for meshes baked in world coordinates (a city tile's origin is the world's, its geometry hundreds of metres off), so the two disagreed. Now every range is measured from the origin (use_aabb off) and moved by how much farther the origin is than what the part is measured to: its nearest edge (edge), the mesh's own middle when its origin lies outside its bounds, else nothing; the move can be negative, and a range never goes below 0. A moved range is rewritten once the eye has gone a third of its way to the nearest fading band, which bounds a stale move's error (the distance moves as far as the eye, a move twice as far). RAEA_LOD_DEBUG=time now times apply inside it: between two systems ordered around it others ran, so it read 1 ms with no Details at all.
2026-11-17 19:52:34 -08:00
2026-11-17 19:52:34 -08:00
2026-11-19 08:12:54 -08:00
2026-11-19 08:12:54 -08:00
2026-10-31 13:15:29 -07:00
2026-11-08 21:27:59 -05:00
2026-10-31 13:15:29 -07:00
2026-11-15 14:01:01 -08:00
2026-11-06 16:27:57 -08:00
2026-11-19 10:14:49 -08:00
2026-11-17 19:52:34 -08:00
2026-11-15 13:56:56 -08:00
2026-11-17 10:38:33 -08:00
2026-11-06 18:08:53 -08:00
2026-11-19 09:37:01 -08:00