feat(demos): add village and GI-radius demos exercising GI at scale
Add two demos that stress the global illumination bake on large
scenes, plus the harness and launcher support they need.
VillageDemo builds a night-time village of multi-floor houses (the
House-demo three-room layout per storey, with window and doorway
openings), streets, street lamps and a distant moon — roughly 10k
lightmapped quads and ~45 lamps, big enough to make bake scheduling
measurable. Interiors and exteriors bake via lightmapped composites,
the ground plane bakes at coarser units-per-texel, and --lm=N limits
lightmapping to the N houses nearest the village center for
distance-based GI experiments. Command-line flags control grid size,
floor count, texel density and thread count, and the demo sizes
e3d.gi.maxLights to its lamp count before baking.
GiRadiusDemo builds a 48 000-unit procedural tower district of lean
TriangleMeshBlocks to showcase radius-gated GI: per-instance
stage-2/3/4 radius overrides keep lightmap bakes to a bubble around
the camera that follows flight, with a frame-rate cap while the bake
is active so the render loop does not starve GI workers. Overrides
are per-instance, not JVM-global, so the launcher does not leak
district-scale radii into other demos. The scene is fully
deterministic (seeded heights and textures) and includes an FO4-style
sky color, sun glow billboard and colored street lamps for visible
bounce and bleeding.
DemoGoldens gains a per-entry background fill (0xFF ARGB) so goldens
match the live view's sky color, rendered through Snapshot.renderInto
with an explicit RenderingContext; gi-radius and village goldens are
added. The launcher lists both new demos, and HouseDemo drops unused
layout constants.