Deletes Puppet, PuppetField, PuppetModel, PuppetSkin, puppet.gdshader, studio.gdshaderinc, PuppetChecks, the 978-line
RenderCheck, Look's porcelain and studio, Smoke's puppet checks, the GameCult.Geometry reference (and with it BDS's own
CultLib pin props and revision check, which only guarded that reference; Ymir keeps its own), and msaa_3d. BodyRenderer
draws every body (static and dynamic) as its Ymir primitive under a carrier per stable id; the carrier logic is Puppet.Sync's.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The bounds are re-derived across the session pose and the puppet bent 30 and 60 degrees (the ring's std overlapped between the shipped shader and no MSAA
once the pose moved, so the ring reads |shown - reference| in levels: shipped at most 18.9, no MSAA at least 25.4). The orbit reads the error against the
8x reference, differenced twice in time over the halo of the highlights: shipped 5.6, kernel 0 10.5.
lodur:finding:cut-bds-puppet-specaa.s2.bounds-fit-to-the-session-pose, .orbit-crawl-metric-not-committed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The shipped framing reads 1.34, another 1.19, so one framing fitted a bound that failed the shipped shader elsewhere. Five play and two close framings,
bounds between the shipped glaze and kernel 0 / paper sigma / doubled sigma / no MSAA / widened smoothstep in all of them, and the silhouette ring's mean std
against the reference so that removing MSAA fails by design. lodur:finding:cut-bds-puppet-specaa.s1.flicker-bound-fit-to-view, .highlight-shift-bound-fit-to-view, .msaa-defended-incidentally, .sweep-and-orbit-probes-not-committed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Widening the bisque's roughness by the kernel changed no pixel at any of eight framings (the bisque's specular is dim), so it is deleted
rather than carried undefended. The studio comment now says what the trapezoid does: a linear ramp at a2 = 0, its integral kept to about
6% up to a2 = 0.05 and a third of it at the 0.18 clamp. lodur:finding:cut-bds-puppet-specaa.s1.bisque-roughness-prefilter-undefended, .trapezoid-edge-and-energy-claim
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
project.godot rendering/anti_aliasing/quality/msaa_3d=2. The oracle frames draw with MSAA off (they check the shader's own pixels); the
flicker check restores the project's setting, draws the glaze from 16 sub-pixel camera shifts in the play and close views and bounds the p99
per-pixel luma std at 1.3 times a 8x supersampled reference's and the highlight mean within 1 level of it. lodur:cut_spec:cut-bds-puppet-specaa.r1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The shading normal's screen derivatives give a kernel (Tokuyoshi and Kaplanyan 2021, pixel variance 1/24, clamped at 0.18) that widens the
bisque's roughness and the studio the glaze reads: each studio box is averaged over the lobe as a trapezoid that keeps its integral, and is
the authored ramp at kernel 0. The unfiltered studio_box is replaced, not kept beside it. lodur:cut_spec:cut-bds-puppet-specaa.r1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A drag whose own button is no longer held (a lost release) still ends, so the next press starts a new one.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pins that the camera writes on input only (a per-frame placement mutant survived without it) and that no clamp stops the orbit near the pole (a clamp mutant survived a single large motion).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Orbit about the puppet (0.4 degrees a pixel, over the top), Alt+LMB as MMB, emulation off, plain LMB and RMB free, pan, zoom and its clamp, the gesture fixed at the press and ended by a lost release; the startup view equals the old placement.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The right-drag orbit, the yaw and pitch fields and the LookAt placement are gone; the camera's transform is the state, written once per gesture
by one Commit. Startup view unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The pixels the glaze lights most must reflect, by the drawn normal and the pixel's ray, a direction inside Look's key box or a rim strip; the crease pooling off must change at least 3% of the bisque's pixels; the glaze clips at most 30% from behind (20.4% measured).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The ruling is camera, so StudioFollowsCamera, the shader's studio_in_view and its world-space branch are deleted: the lights are the camera's children and the glaze reads view-space directions, nothing else.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The clip, spread and glow-lift bounds measure the bisque (glaze off). The glaze check turns it on at the close view from the front and from behind on main's own camera, whose rig turns with it: the bisque stays lit from both sides, the glaze changes at least 3% of the puppet's pixels, and from the front clips at most 12%. The frame capture is one helper. Smoke asserts the camera carries a shadowing key and two rims and the environment is linear with no sky or glow.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Look.Environment and Look.Sun are deleted; Look.Studio gives the scene a linear colour environment and a shadowing key and two rims carried by the camera, and Look.Glaze feeds the puppet shader the bisque and the same studio the lights come from, so the lights and the glaze's reflections cannot drift. Main builds the studio on its orbit camera. Puppet.Glazed switches the glaze for RenderCheck. StudioFollowsCamera is the open question lodur❓bds-porcelain-studio-follows-camera's one constant (recommended: camera).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The studio function (studio.gdshaderinc) and the puppet's bisque and glaze uniforms, defaulting to the matte it replaces: ROUGHNESS 1 and SPECULAR 0 are no longer hard-coded, the albedo pools in creases, and the glaze is emission (Fresnel times the studio in the reflected direction), skipped under show_normals, which also forces the bisque unlit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The reference skins the shape's vertices from the carriers, welds the corners by position, matches edges, derives facets, creases,
area-weighted vertex normals, altitudes, the screen width (finite differences of the edge distance to the pixel's +x and +y neighbours on the
triangle's plane) and the corner blend itself; it reads neither PuppetSkin nor shape.Across. Fails on p90 over 2 deg (measured 0.96 close, 0.76
far), band median over 0.6 deg (0.24), median over 1.5 deg on triangles whose width the smallest altitude caps (0.58), and, across triangle
boundaries at the close camera, over 0.6% of adjacent pairs past 30 deg (0.25%) or a p90 over 6 deg (3.42), with vacuity floors for each. The far
view exists because at the close camera the width is the 3 mm floor and the screen-relative width is never in play.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
GPU skinning (bones[] and the CUSTOM1 skin) and the bind-time crease are deleted: 51% of the creased edges touch a blended vertex, so a bind
crease went stale at every joint. Puppet._Process skins through PuppetSkin and writes the vertex and attribute streams in place (12 and 52 bytes
per corner, lengths asserted at build); the mesh bounds are the skinned bounds, so PuppetShape.Reach is gone. puppet.gdshader takes the facet
normal, creases, altitudes and vertex normal as attributes, sizes the bevel from Look.BevelScreen and BevelMin (question
lodur❓bds-puppet-bevel-look-width, recommended option) and blends corners to the vertex normal. PuppetChecks measures the skin at bends
of 0, 45 and 90 degrees against geometry computed from the bones alone.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PuppetField.Creases() and the bind-time crease are deleted before PuppetSkin derives creases per frame, so between this commit and the next
the shader's creases are zero and the bevel does nothing; RenderCheck's NormalCheck, which read shape.Crease, is deleted with them and
returns in the last commit against an independent reference. PuppetChecks gains Across == the weld-by-position edge match; Pieces,
Stretch and Resolved read the welded arrays.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The per-triangle flip by the centroid gradient turned the 4 net triangles that face against the field into folds. The nets wind every
quad outward, so each triangle is emitted reversed for Godot's clockwise front, and a triangle against the field is a defect the
untangle removes (halving the Newton displacement of its vertices, at most 12 rounds). On the shipped cell: 12 vertices pulled back,
worst 10.45 mm off the isosurface, 0 folds, 0 inward triangles, smallest 5.04 mm2. PuppetChecks pins those, and the fold ceiling
(folds < shared / 100) is gone.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Renders the torso close up with ShowNormals, reads the view-space normal raw, and compares
it per pixel with the shader's formula evaluated on a depth raster of the skinned triangles
(creases from PuppetShape, distances from bind altitudes and barycentrics). p90 error over
interior pixels and the median over the bevel band are bounded, with floors on the pixels
reached and on the band's reference tilt so a bevel that is off cannot pass. Closes the
gap that an unskinned NORMAL passed the silhouette check.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The shader gets the edge-distance basis (CUSTOM0, from Positions) and the triangle's three
creases (CUSTOM2, PuppetShape.Crease); the in-plane direction to each edge comes from screen
derivatives, so no SDF is evaluated and no uniform beyond bones[] is added. At an edge the
tilt is the bisector from both sides: the normal is continuous across it. Look.BevelWidth is
4 mm (open question bds-puppet-bevel-width, recommended option); show_normals/ShowNormals
draws the shading normal for RenderCheck.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PuppetField.Mesh keeps net-vertex indices per emitted triangle, matches each edge by its
two indices and gives each side half the turn to the neighbour's normal (atan2 of the
bisector in the facet's frame), positive where convex. Edges not shared by exactly two
triangles, and folds where the two sides disagree on which way the edge turns, get 0.
PuppetChecks measures it independently by welding corners by position: symmetric on both
sides, half the facet angle, signed by convexity, zero on loose edges and folds.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rulings lodur:ruling:stress-bar-shows-arousal-calm-silences and flinch-tail-after-stimulus: the stress column is the arousal column (was 1 - resolve), labelled "stress (arousal)"; the calm goal declares EntryArousal 0, SensoryGain 0 over StressParameters.CalmFadeSeconds (3 s) while the stressors keep sounding. Rung-3 rows re-derived with the old column; the run's own hash re-captured. The terminal-calm test now presses on the goal with a fade longer than the run, since a default calm leaves no load to break the will a third time.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Reverting the withdraw gate to WillBroken switched back only DeliberateLatency (10 ticks)
after the mend, so a test that stopped at the first mended tick missed it; both mutants
(gate and Disabled to WillBroken) now fail. BodyPainBox's comment states the real reason
its first break is the only one: the withdraw pose is terminal and nothing moves the hand
back.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Base and head give byte-identical body pain box runs on this Lodur (hand out 0-50 ms after
the break), so the spec's changed-bytes sentence does not hold; the pin is the 300 ms bound.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BodyPainBoxSession ends within 1 s of the withdrawal and a mend takes about 60 s, so no
second break occurs in its flow and no test can reach one. The guard was dead defence
(finding body-pain-box-first-break-guard-unpinned, the drop option); PainBoxSession, which
can be ticked past a mend, holds the real guard.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The result reported a break 63 s after its own run's end when the session was ticked
through a mend and a second break (probe: break 77740 ms, end 14830 ms).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
At 6 s seeds 55 and 100 ended with a hand at 0.0512 and 0.0521 m/s, over the 0.05 m/s
stillness limit; 7 s gives 0.0259, 8 s gives 0.0124 (seed 100) over seeds 1-100. The limit
is unchanged; the test asserts under 0.025 (half of it). The suite runs the tight seeds;
BDS_SETTLE_SWEEP=1 runs all 100 (about a minute). The office golden is re-captured for the
two extra seconds of rows.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>