From 35dcba6b3fd6dde94c6b232ce13744b09302d48d Mon Sep 17 00:00:00 2001 From: shinyobjectz Date: Mon, 23 Nov 2026 18:35:55 -0800 Subject: [PATCH] BK3: the atelier against its Cycles bake, and what the trace needs first Planned, not run: the set's own second UVs, the panorama, the sun and base colour textures come before it. Says what the reference is and isn't. --- docs/bake.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/bake.feature b/docs/bake.feature index 5918616c..3777902b 100644 --- a/docs/bake.feature +++ b/docs/bake.feature @@ -206,6 +206,20 @@ Feature: Light baked by raea: bounce light into lightmaps on raea's own ray trac takes it, its own copy deleted, in the commit that builds it, with a frame before and after held to the same bytes (fabric and brushed to one step of 8 bits: their scale moves outside the derivative). WearExtension and raea/wear are text made in TypeScript (worn.ts, sdk/wear), so the kernel gets theirs from the composition's material, not from a file + And the atelier's static set is traced and held to the Cycles bake its own agent made of it (lightbake.py; the + eighth bake read 11-23: 202 meshes of one primitive, 699 902 triangles, 198 maps of 128-1024 a side), as soon as + the trace can: each mesh's map against Cycles' by map_stops, with its time and memory. NOT RUN: only BK1 and + BK2 have run on the atelier. Its light is a panorama (strength 0.25, rotation 2.449), one sun and no lamps, so + a run under today's constant sky would measure nothing. What it waits for: + | what | why | + | texels on a model's own second UVs, a map a mesh | raea_sys_atlas::write puts its own TEXCOORD_1 in; map_stops compares texel for texel on lightbake.py's | + | the panorama, at its strength and rotation | all of the room's light but the sun | + | the sun, out at the first hit and in after | lightbake.py subtracts the sun's direct bake, and keeps its bounce | + | base colour textures | 63 of the 202 materials | + And that comparison is read knowing what the reference is: Cycles' own materials as the .glb has them, not raea's + drawn ones (the export drops uv_transform, _arm maps and tints; 39 materials are metal, which Cycles reflects + and Lambert here doesn't); clamped at 10, smoothed twice, its maps' light only where Cycles has some. Cycles' + map times its scale is the mean incoming light, as the trace's is, so the two are compared with no fitted gain And a a user wrote can't run in the kernel in general (its hook reads Bevy's PbrInput, the view and its own textures): it bounces its base colour, and `raea bake light` names each material it did that for And raea/wear's caused wear (touch, edges, cavity, run-off's stains and deposits, sun fade, soot, crumbling, age and