Document expressive agent placement
This commit is contained in:
parent
25abb92fb6
commit
4b770ab1c2
4 changed files with 51 additions and 5 deletions
|
|
@ -51,6 +51,8 @@ heartbeatPhase, wakeIntensity, sleepDepth, memoryResonance
|
|||
pressure, continuityRisk, reviewState, hasPatch
|
||||
risk, confidence, evidenceGaps, recommendedAction
|
||||
targetRole, hasBubble, speaking, jobCount
|
||||
homeOrbitSlot, expressiveOffset, wanderRadius, gravityWellPulse
|
||||
verticalLift, buoyancy, returnHomeStrength
|
||||
traitActivations: map of canonical_state variable -> current_activation
|
||||
```
|
||||
|
||||
|
|
@ -67,6 +69,47 @@ traitActivations: map of canonical_state variable -> current_activation
|
|||
- Avoid volumetric dependence. These are analytic solids over the Grid with
|
||||
PBR materials, emissive accents, and future diegetic labels.
|
||||
|
||||
## Motion Rules
|
||||
|
||||
Orbit lanes are home positions, not cages. Each agent should have a stable
|
||||
`homeOrbitSlot` for readability and spatial memory, plus a bounded
|
||||
`expressiveOffset` for short local wandering. The return force should be visible
|
||||
and gentle: agents drift out to express curiosity, stress, speech, focus, or
|
||||
avoidance, then ease back toward their lane instead of snapping into place.
|
||||
|
||||
Vertical motion should come from the same Grid grammar as placement. An agent's
|
||||
gravity well can pulse its local Grid height, raising or lowering the body
|
||||
because the CPU and shader agree that body centers sit above the Grid surface.
|
||||
This makes heartbeat and mood visible in the world instead of faking hover with
|
||||
a detached bobbing transform.
|
||||
|
||||
Recommended controls:
|
||||
|
||||
- `wanderRadius`: maximum horizontal distance from the home orbit slot.
|
||||
- `expressiveOffset`: current bounded offset in Grid/world space.
|
||||
- `returnHomeStrength`: spring force back toward the home orbit slot.
|
||||
- `gravityWellPulse`: temporary change to the agent's Grid brush height.
|
||||
- `verticalLift`: additional body-center lift derived from the local well pulse.
|
||||
- `buoyancy`: role-specific damping/overshoot for vertical response.
|
||||
|
||||
State mapping:
|
||||
|
||||
- Heartbeat primary state should create a small vertical pulse and brief outward
|
||||
drift.
|
||||
- Speaking or Face bubble output can wander toward the room/user side.
|
||||
- High pressure should pull Life, Soul, and Self tighter toward home while still
|
||||
deepening their wells.
|
||||
- Imagination may wander widest when exploring, but should collapse back toward
|
||||
home on accepted plans.
|
||||
- Hands should wander least while blocked and lean toward active work when
|
||||
running.
|
||||
- Eyes can make short focus darts toward evidence-bearing anchors.
|
||||
|
||||
Implementation invariant: expressive wandering and vertical well pulses must be
|
||||
part of the same CPU-visible placement model used for body centers, shadows,
|
||||
gravity brushes, and temporal reprojection. If the shader sees a different body
|
||||
position than the CPU, the prettiness has started lying.
|
||||
|
||||
## Self
|
||||
|
||||
Role ids: `coordinator`, `epiphany.self`
|
||||
|
|
@ -402,9 +445,11 @@ Implement the renderer contract in this order:
|
|||
1. Add a CPU-side `AgentVisualState` and role-to-organ mapping in the Aquarium
|
||||
runtime boundary.
|
||||
2. Preserve the current fixed body table as fallback data.
|
||||
3. Add material-region SDF evaluation for one organ pair: Body and Imagination.
|
||||
4. Bind status/activity/heartbeat fields into shader constants.
|
||||
5. Add debug modes for role id, material id, and state scalar so the cut can be
|
||||
3. Add CPU-visible home orbit slots, bounded expressive offsets, and gravity
|
||||
well pulse state before adding decorative per-role motion.
|
||||
4. Add material-region SDF evaluation for one organ pair: Body and Imagination.
|
||||
5. Bind status/activity/heartbeat and placement fields into shader constants.
|
||||
6. Add debug modes for role id, material id, and state scalar so the cut can be
|
||||
inspected without believing the prettiness.
|
||||
|
||||
Body and Imagination are the best first pair because they exercise opposite
|
||||
|
|
|
|||
|
|
@ -16,3 +16,4 @@
|
|||
{"timestamp":"2026-05-11T07:45:00+01:00","topic":"diffuse-ibl-irradiance","lesson":"Diffuse IBL is not GGX PMREM with a softer mip. Studio2 diffuse lighting now uses a separate irradiance cubemap baked by cosine-weighted hemisphere convolution, stores the Li*cos(theta) irradiance integral, and shades non-metal bodies with Fresnel-gated albedo/PI diffuse response.","files":["scripts/bake-pmrem-cubemap.py","src/Aquarium.Engine/Assets/Textures/studio2_irradiance.dds","src/Aquarium.Engine/Render/D3D12Renderer.cs","src/Aquarium.Engine/Render/Shaders/D3D12Scene.hlsl","state/map.yaml","state/memory.json"],"source":"E:\\Projects\\Aetheria-Economy\\Assets\\Textures\\studio2.hdr"}
|
||||
{"timestamp":"2026-05-11T08:10:00+01:00","topic":"rider-solution-compatibility","lesson":"Rider may open Aquarium.Engine.slnx with empty project trees even though dotnet can build it. Keep Aquarium.Engine.sln as the Rider-facing classic solution while Aquarium.Engine.slnx remains the compact CLI solution.","files":["Aquarium.Engine.sln","Aquarium.Engine.slnx","README.md","state/map.yaml"]}
|
||||
{"timestamp":"2026-05-11T08:35:00+01:00","topic":"epiphany-agent-sdf-visual-language","lesson":"Epiphany agent bodies should be role-specific SDF organs driven by published CultNet surfaces: identity from epiphany.agent_memory, motion from epiphany.agent_heartbeat, posture from surface roles/coordinator/role_result, Face output from surface.face, and continuity pressure from pressure/reorient surfaces. Body and Imagination are the first implementation pair because they exercise grounded graph mass and generative harmonic bloom against the same AgentVisualState contract.","files":["docs/epiphany-agent-sdf-visual-language.md","state/map.yaml","state/memory.json"],"source":"E:\\Projects\\EpiphanyAgent\\schemas\\README.md"}
|
||||
{"timestamp":"2026-05-11T08:48:00+01:00","topic":"agent-expression-placement","lesson":"Agent orbit lanes are home anchors, not cages. Role bodies may wander a bounded distance from their designated orbit slots for expression, and vertical animation should come from CPU-visible gravity-well pulses so Grid height, body centers, shadows, and temporal reprojection share the same placement truth.","files":["docs/epiphany-agent-sdf-visual-language.md","state/map.yaml","state/memory.json"]}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ renderer_state:
|
|||
- Self Grid brush uses a widened 17-world-unit gravity bowl plus an Aetheria-style radial cosine wave; CPU, Grid shader, scene placement, and temporal reprojection share the same brush equation.
|
||||
- Direct-traced Grid surface is a terminating perfect mirror over the scalar height field, sampling Studio2 PMREM mip 0.
|
||||
- SDF/analytic solids for Self, planets, and the cursor locator.
|
||||
- Agent SDF visual language is documented against Epiphany's published CultNet surfaces: identity from agent memory, motion from heartbeat, posture from role/coordinator/result surfaces, and pressure from reorient/pressure surfaces.
|
||||
- Agent SDF visual language is documented against Epiphany's published CultNet surfaces: identity from agent memory, motion from heartbeat, posture from role/coordinator/result surfaces, pressure from reorient/pressure surfaces, and expression through bounded orbit wandering plus CPU-visible gravity-well pulses.
|
||||
- Body light buffer feeds Self emission and direct body lighting; future other Selves should join this light lane, not a generic field-instance table.
|
||||
- Studio2 PMREM and irradiance DDS cubemaps are loaded as D3D12 TextureCubes; PMREM serves roughness-mip specular, irradiance serves Lambertian diffuse IBL for non-metal bodies.
|
||||
- DirectWrite/Direct2D debug UI panel with code-first controls bound to renderer state.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
"The Grid is direct-traced as a terminating reflective surface over the scalar height field. It writes the primary surface packet with FIELD_ID_GRID, terrain normal, full coverage, and Studio2 PMREM reflection; flat regions sample up to PMREM mip 3 while sloped/waved regions sharpen toward mip 0. Ray misses use a cone-averaged Studio2 PMREM mip 3 as the soft background so low-resolution mip texels do not become visible blocks.",
|
||||
"Mouse/cursor-owned SDF bodies need object-motion reprojection. Carry current and previous cursor world anchors through frame constants and reproject cursor hits from current center to previous center.",
|
||||
"The cursor locator uses the MathWorld teardrop curve profile with m=6, revolved around vertical: x=cos(t), y=sin(t)*sin^m(t/2), radius `sqrt(1 - x^2) * ((1 - x) / 2)^3`. Ripples belong in the SDF radius function. Material is brass GGX metal with brass-tinted F0, no diffuse metal term, non-emissive, and no ambient floor.",
|
||||
"Role-specific Epiphany agent bodies should be driven by published CultNet surfaces, not private React projection folklore: identity and temperament from epiphany.agent_memory, motion from epiphany.agent_heartbeat, posture from epiphany.surface.roles/coordinator/role_result, and continuity pressure from epiphany.surface.pressure/reorient. The first durable renderer seam should be an AgentVisualState contract before adding per-role SDF organs.",
|
||||
"Role-specific Epiphany agent bodies should be driven by published CultNet surfaces, not private React projection folklore: identity and temperament from epiphany.agent_memory, motion from epiphany.agent_heartbeat, posture from epiphany.surface.roles/coordinator/role_result, and continuity pressure from epiphany.surface.pressure/reorient. The first durable renderer seam should be an AgentVisualState contract before adding per-role SDF organs. Orbit slots are home anchors, not cages: agents may wander a bounded distance for expression, and vertical motion should come from CPU-visible gravity-well pulses that also affect Grid placement.",
|
||||
"Heavy/specialized SDF evaluators should not live inside generic packed-id helpers when those helpers are called repeatedly; avoid shader compiler path cloning.",
|
||||
"Lighting is diegetic. Self is the initial emitter; later other Selves should emit through an explicit body light lane, not generic field instances or ambient convenience fill.",
|
||||
"Keep bundled blue-noise texture assets available for future dithering/noise work even when no current pass samples them.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue