Commit graph Aetheria/tests/Aetheria.Shared.Tests/GravityShaderTests.cs
Author SHA1 Message Date
soul
3cb2b756c3 Isoline curvature path deleted: rho, kappa, the Hessian, PullSlope, the seam and clamp key bits, RhoMax
Once s is chain arclength nothing reads curvature (campaign aetheria-release, cut isoline-chain-arclength).
GravityField.ProfileSlope and PullSlope, the gravityTermPullSlope template and gravitySample's Hessian go (Gravity.cginc
regenerated); Sample writes (gx, gy, d, |g|); March and Crossing lose rho, seam and clamp; IsoKey is (level, family) with
bits 9..31 reserved 0; IsolineLevels loses RhoMax. Rays' and contours' s are 0 until the chain kernels land. The smokes lose
every curvature bound and the s-quality gates; PullSlope stays recoverable at c551a27d6.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 04:56:46 +01:00
soul
c551a27d64 GravityField.PullSlope and the generated gravitySample: closed-form gradient and Hessian of the lowered wells
PullSlope is dPull/dr over the same band polynomial; GravityShader emits gravityTermPull, gravityTermPullSlope and gravitySample beside gravityHeight; Gravity.cginc regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 00:17:33 +01:00
Meta Vens
eeeb6db290 Well law: the band term, WellTree owns every term; the old law, per-body sums and Gauss ring law deleted
GravityField is now the band term U(eps, inner, outer) (C4 smoothstep fade, closed form and a series for tau > 1).
WellTree is built once per Zone from the orbit tree: node terms, reach, support, the pruned Force/Potential walk and
PullAround (rails). Zone.GetHeight/GetForce/PeriodAround delegate to it; WellReference, _wellOn, _strengths,
Strength() and DrawAhead.Well are gone; GravityLowering and the shader template take the flat term list;
HeightExaggeration halves to 2.0491803.

Does not pass yet: Gravity.cginc is not regenerated and PotentialOwnerTests/OrbitsFromFieldTests still spell the old law.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 17:56:25 +02:00
Meta Vens
13c7a08707 Gravity.cginc is generated: GravityShader.Source() is its one author, a test pins the committed file to it byte for byte
The mirror test compared a normalised reading of two spellings and was beaten twice (a statement before the return, gravityHeight's sum). GravityShader writes the whole file (potential, zero-strength guard, reference term, height sum) from GravityField's constant (TailOffset); GravityShaderTests fails on any difference. GravityShaderMirrorTests deleted. GravityFieldParityVerify opens Main Menu.unity: no ZoneRenderer there, its Fog Surface Displacement camera is the menu's own brush presentation (layers 9 and 10) by spec.

Builds not yet verified on this commit; verified at the final merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 08:44:11 +02:00