Restore radial gravity fog projection
This commit is contained in:
parent
4ae3dc8764
commit
3c0e480b3b
8 changed files with 170 additions and 50 deletions
|
|
@ -3,6 +3,7 @@ using Aetheria.State.Daemon;
|
|||
using Aetheria.State.Documents;
|
||||
using GameCult.Aetheria.State.Verse;
|
||||
using GameCult.Caching;
|
||||
using GameCult.Eve.PluginFields;
|
||||
using System.Globalization;
|
||||
|
||||
var checks = new AetheriaDaemonYmirSmokeChecks();
|
||||
|
|
@ -220,7 +221,7 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
|
|||
AetheriaRuntimeDaemonCommandBoundaryDocument.Create("daemon"));
|
||||
var volume = Flatten(surface.Surface.Root).Single(node => node.Kind == "field.volume3d");
|
||||
Require(volume.Props.Values.All(value => value == null || !value.Contains("_Nebula", StringComparison.Ordinal)) &&
|
||||
volume.Props["layerBindings"].Contains("gravity.height=surfaceHeight", StringComparison.Ordinal) &&
|
||||
volume.Props["layerBindings"].Contains("fog.surface_height=surfaceHeight", StringComparison.Ordinal) &&
|
||||
volume.Props["viewportTextureScaleBindings"] == "ditherCoordinates=dither" &&
|
||||
!volume.Props.ContainsKey("vectorParameters"),
|
||||
"portable Eve volume surfaces must name logical ports rather than Unity shader properties");
|
||||
|
|
@ -304,8 +305,49 @@ internal sealed class AetheriaDaemonYmirSmokeChecks
|
|||
var bodySplatIndex = splats.Splats.SourceKey
|
||||
.Select((sourceKey, index) => (sourceKey, index))
|
||||
.Single(value => value.sourceKey == body.BodyKey).index;
|
||||
var terrainSplatIndex = splats.Splats.SourceKey
|
||||
.Select((sourceKey, index) => (sourceKey, index))
|
||||
.Single(value => value.sourceKey == "environment.gravity_terrain").index;
|
||||
var fogSurfaceSplatIndex = splats.Splats.SourceKey
|
||||
.Select((sourceKey, index) => (sourceKey, index))
|
||||
.Single(value => value.sourceKey == "environment.gravity_terrain:fog.surface_height").index;
|
||||
Require(splats.Splats.ValueR[bodySplatIndex] < 0,
|
||||
"render-splat projection must convert positive canonical body depth into a negative gravity-height value");
|
||||
Require(splats.Splats.Falloff[terrainSplatIndex] == EveFieldsSplatFalloffs.PowerPulse &&
|
||||
splats.Splats.CenterX[terrainSplatIndex] == 0 &&
|
||||
splats.Splats.CenterY[terrainSplatIndex] == 0 &&
|
||||
splats.Splats.HalfExtentX[terrainSplatIndex] == zone.GravityTerrainRadius &&
|
||||
splats.Splats.FalloffScale[terrainSplatIndex] == 1,
|
||||
"zone gravity terrain must remain the fossil radial PowerPulse rather than a viewport-sized solid slab");
|
||||
Require(splats.Splats.Falloff[bodySplatIndex] == EveFieldsSplatFalloffs.PowerPulse &&
|
||||
splats.Splats.FalloffScale[bodySplatIndex] == 2 &&
|
||||
splats.Splats.FalloffExponent[bodySplatIndex] == body.GravityDepthExponent,
|
||||
"body gravity wells must publish the fossil radial PowerPulse scale and exponent");
|
||||
Require(splats.Splats.LayerIndex[fogSurfaceSplatIndex] != splats.Splats.LayerIndex[terrainSplatIndex] &&
|
||||
splats.Splats.ValueR[fogSurfaceSplatIndex] == -splats.Splats.ValueR[terrainSplatIndex] &&
|
||||
splats.Splats.ValueR[fogSurfaceSplatIndex] > 0 &&
|
||||
splats.Splats.Falloff[fogSurfaceSplatIndex] == EveFieldsSplatFalloffs.PowerPulse,
|
||||
"the fog surface must project positive fossil PowerBrush depth without changing negative gameplay terrain height");
|
||||
|
||||
var run = new AetheriaRuntimeRunCheckpointCommit
|
||||
{
|
||||
RunId = "gravity-height-smoke",
|
||||
CurrentZoneIndex = zone.ZoneIndex,
|
||||
Zones = [zone]
|
||||
};
|
||||
AetheriaRuntimeDaemonSimulation.Step(
|
||||
run,
|
||||
new AetheriaRuntimeDaemonIntentState(),
|
||||
0.1,
|
||||
new AetheriaRuntimeDaemonSimulationSettings(),
|
||||
physics,
|
||||
simulationTimeSeconds: 0.1);
|
||||
RequireNear(
|
||||
AetheriaRuntimeDaemonRenderQueries.EvaluateGravityTerrainHeight(
|
||||
zone, actor.PositionX, actor.PositionZ, 0.1),
|
||||
actor.PositionY,
|
||||
0.0001,
|
||||
"daemon entities must retain the fossil terrain-height projection while Ymir owns XZ physics");
|
||||
}
|
||||
|
||||
private static void ConstantWeaponRunsOnDaemonThroughYmirBeamContact()
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
"com.unity.modules.uielements": "1.0.0",
|
||||
"com.unity.render-pipelines.universal": "17.4.0",
|
||||
"org.gamecult.cultlib": "https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v1.0.13",
|
||||
"org.gamecult.eve.plugin-fields": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.2.0",
|
||||
"org.gamecult.eve.plugin-fields": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.2.1",
|
||||
"org.gamecult.eve.surface": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.2.2",
|
||||
"org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.41"
|
||||
"org.gamecult.eve.unity-scene": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.42"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,13 +126,13 @@
|
|||
"hash": "feb5c71513e71d681699f462fe3682b3168c6f73"
|
||||
},
|
||||
"org.gamecult.eve.plugin-fields": {
|
||||
"version": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.2.0",
|
||||
"version": "https://github.com/GameCult/EvePlugins.git?path=/plugins/eve-plugin-fields/unity/org.gamecult.eve.plugin-fields#eve-plugin-fields-unity-v0.2.1",
|
||||
"depth": 0,
|
||||
"source": "git",
|
||||
"dependencies": {
|
||||
"org.gamecult.cultlib": "1.0.13"
|
||||
},
|
||||
"hash": "382a23d8f8a07e4b5eef5f81f84655861a858367"
|
||||
"hash": "59924e324cd10f293c214c8e6bb2c794a32d39a0"
|
||||
},
|
||||
"org.gamecult.eve.surface": {
|
||||
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.surface#eveunity-surface-v0.2.2",
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
"hash": "140e1bd963a0033e66777a3b2c5fe6e9c97dfe32"
|
||||
},
|
||||
"org.gamecult.eve.unity-scene": {
|
||||
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.41",
|
||||
"version": "https://github.com/GameCult/EveUnity.git?path=/packages/org.gamecult.eve.unity-scene#eveunity-scene-v0.3.42",
|
||||
"depth": 0,
|
||||
"source": "git",
|
||||
"dependencies": {
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
"com.unity.mathematics": "1.3.2",
|
||||
"com.unity.modules.particlesystem": "1.0.0"
|
||||
},
|
||||
"hash": "f0883e9644674849e03127d4d7a231905092f1de"
|
||||
"hash": "441471949a22a0183da1ecac4a4a1d0dc2a7618e"
|
||||
},
|
||||
"com.unity.modules.assetbundle": {
|
||||
"version": "1.0.0",
|
||||
|
|
|
|||
|
|
@ -697,7 +697,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
["textureWidth"] = "1024",
|
||||
["textureHeight"] = "1024",
|
||||
["downsample"] = "0",
|
||||
["layerBindings"] = "gravity.height=surfaceHeight;fog.patch_height=patchHeight;fog.patch=patch;fog.tint=tint",
|
||||
["layerBindings"] = "fog.surface_height=surfaceHeight;fog.patch_height=patchHeight;fog.patch=patch;fog.tint=tint",
|
||||
["assetTextureBindings"] = "texture.environment.volume-dither=dither",
|
||||
["viewportTextureScaleBindings"] = "ditherCoordinates=dither",
|
||||
["floatParameters"] = "fillDensity=0.000000001;fillDistance=120;fillExponent=5;fillOffset=70;" +
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ namespace GameCult.Aetheria.State.Verse
|
|||
StepTractorPower(entities, deltaSeconds);
|
||||
var worldStep = StepWorldPhysics(
|
||||
run.RunId, frameId, simulationStepIndex, zone, entities, deltaSeconds, worldPhysics);
|
||||
ProjectEntityTerrainHeights(zone, entities, catalog, simulationTimeSeconds);
|
||||
ResolvePickupContacts(
|
||||
run, zone, entities, worldStep.BeginContacts, worldPhysics, catalog, frameId);
|
||||
StepCombat(run, zone, entities, intents, deltaSeconds, settings, worldPhysics, catalog,
|
||||
|
|
@ -165,6 +166,50 @@ namespace GameCult.Aetheria.State.Verse
|
|||
return result;
|
||||
}
|
||||
|
||||
private static void ProjectEntityTerrainHeights(
|
||||
AetheriaRuntimeZoneSnapshotCommit zone,
|
||||
IReadOnlyList<AetheriaRuntimeEntitySnapshotCommit> entities,
|
||||
AetheriaRuntimeCatalogSnapshot? catalog,
|
||||
double simulationTimeSeconds)
|
||||
{
|
||||
var byIndex = entities.ToDictionary(entity => entity.EntityIndex);
|
||||
var parentByChild = new Dictionary<int, int>();
|
||||
foreach (var parent in entities)
|
||||
foreach (var childIndex in parent.ChildEntityIndices ?? Array.Empty<int>())
|
||||
{
|
||||
if (!parentByChild.TryAdd(childIndex, parent.EntityIndex))
|
||||
throw new InvalidOperationException($"Entity {childIndex} has multiple parents in zone {zone.ZoneIndex}.");
|
||||
}
|
||||
|
||||
var resolved = new Dictionary<int, double>();
|
||||
double Resolve(AetheriaRuntimeEntitySnapshotCommit entity, HashSet<int> path)
|
||||
{
|
||||
if (resolved.TryGetValue(entity.EntityIndex, out var height))
|
||||
return height;
|
||||
if (!path.Add(entity.EntityIndex))
|
||||
throw new InvalidOperationException($"Entity parent cycle contains {entity.EntityIndex} in zone {zone.ZoneIndex}.");
|
||||
|
||||
if (parentByChild.TryGetValue(entity.EntityIndex, out var parentIndex) &&
|
||||
byIndex.TryGetValue(parentIndex, out var parent))
|
||||
{
|
||||
height = Resolve(parent, path);
|
||||
}
|
||||
else
|
||||
{
|
||||
height = AetheriaRuntimeDaemonRenderQueries.EvaluateGravityTerrainHeight(
|
||||
zone, entity.PositionX, entity.PositionZ, simulationTimeSeconds);
|
||||
height += catalog?.FindItem(entity.HullItemKey ?? "")?.HullGridOffset ?? 0;
|
||||
}
|
||||
|
||||
path.Remove(entity.EntityIndex);
|
||||
resolved[entity.EntityIndex] = height;
|
||||
return height;
|
||||
}
|
||||
|
||||
foreach (var entity in entities)
|
||||
entity.PositionY = Resolve(entity, new HashSet<int>());
|
||||
}
|
||||
|
||||
private static void ResolvePickupContacts(
|
||||
AetheriaRuntimeRunCheckpointCommit run,
|
||||
AetheriaRuntimeZoneSnapshotCommit zone,
|
||||
|
|
|
|||
|
|
@ -130,46 +130,40 @@ namespace GameCult.Aetheria.State.Verse
|
|||
var viewportCenterY = (normalizedViewport.MinY + normalizedViewport.MaxY) * 0.5;
|
||||
var viewportHalfX = Math.Max(0.0001, (normalizedViewport.MaxX - normalizedViewport.MinX) * 0.5);
|
||||
var viewportHalfY = Math.Max(0.0001, (normalizedViewport.MaxY - normalizedViewport.MinY) * 0.5);
|
||||
if (zone.GravityTerrainDepth != 0)
|
||||
if (zone.GravityTerrainRadius > 0 && zone.GravityTerrainDepth != 0)
|
||||
{
|
||||
splats.Add(
|
||||
layerIndices[AetheriaRuntimeRenderSplatLayerKeys.GravityHeight],
|
||||
viewportCenterX,
|
||||
viewportCenterY,
|
||||
viewportHalfX,
|
||||
viewportHalfY,
|
||||
0,
|
||||
0,
|
||||
zone.GravityTerrainRadius,
|
||||
zone.GravityTerrainRadius,
|
||||
AetheriaRuntimeRenderSplatChannels.Gravity,
|
||||
AetheriaRuntimeRenderSplatFalloffs.Solid,
|
||||
EveFieldsSplatFalloffs.PowerPulse,
|
||||
-zone.GravityTerrainDepth,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
"environment.gravity_terrain",
|
||||
sourceKind: AetheriaRuntimeRenderSplatSourceKinds.AnimatedSimplexNoise,
|
||||
frequencyX: 3.0,
|
||||
frequencyY: 3.0,
|
||||
animationSpeed: zone.GravityTerrainWaveFrequency * 0.025,
|
||||
sourceFlags: 1);
|
||||
falloffScale: 1,
|
||||
falloffExponent: Math.Max(0.0001, zone.GravityTerrainDepthExponent));
|
||||
splats.Add(
|
||||
layerIndices[AetheriaRuntimeRenderSplatLayerKeys.FogSurfaceHeight],
|
||||
0,
|
||||
0,
|
||||
zone.GravityTerrainRadius,
|
||||
zone.GravityTerrainRadius,
|
||||
AetheriaRuntimeRenderSplatChannels.Gravity,
|
||||
EveFieldsSplatFalloffs.PowerPulse,
|
||||
zone.GravityTerrainDepth,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
"environment.gravity_terrain:fog.surface_height",
|
||||
falloffScale: 1,
|
||||
falloffExponent: Math.Max(0.0001, zone.GravityTerrainDepthExponent));
|
||||
}
|
||||
|
||||
splats.Add(
|
||||
layerIndices[AetheriaRuntimeRenderSplatLayerKeys.FogSurfaceHeight],
|
||||
viewportCenterX,
|
||||
viewportCenterY,
|
||||
viewportHalfX,
|
||||
viewportHalfY,
|
||||
AetheriaRuntimeRenderSplatChannels.Tint,
|
||||
AetheriaRuntimeRenderSplatFalloffs.Solid,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
"environment.fog_surface_height",
|
||||
sourceKind: AetheriaRuntimeRenderSplatSourceKinds.AnimatedSimplexNoise,
|
||||
frequencyX: 4.0,
|
||||
frequencyY: 4.0,
|
||||
animationSpeed: 0.015,
|
||||
sourceFlags: 1);
|
||||
splats.Add(
|
||||
layerIndices[AetheriaRuntimeRenderSplatLayerKeys.FogPatchHeight],
|
||||
viewportCenterX,
|
||||
|
|
@ -220,12 +214,29 @@ namespace GameCult.Aetheria.State.Verse
|
|||
radius,
|
||||
radius,
|
||||
AetheriaRuntimeRenderSplatChannels.Gravity,
|
||||
AetheriaRuntimeRenderSplatFalloffs.Smooth,
|
||||
EveFieldsSplatFalloffs.PowerPulse,
|
||||
-body.GravityWellDepth,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
body.BodyKey ?? "");
|
||||
body.BodyKey ?? "",
|
||||
falloffScale: 2,
|
||||
falloffExponent: Math.Max(0.0001, body.GravityDepthExponent));
|
||||
splats.Add(
|
||||
layerIndices[AetheriaRuntimeRenderSplatLayerKeys.FogSurfaceHeight],
|
||||
body.GravityInfluenceCenterX,
|
||||
body.GravityInfluenceCenterZ,
|
||||
radius,
|
||||
radius,
|
||||
AetheriaRuntimeRenderSplatChannels.Gravity,
|
||||
EveFieldsSplatFalloffs.PowerPulse,
|
||||
body.GravityWellDepth,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
$"{body.BodyKey ?? ""}:fog.surface_height",
|
||||
falloffScale: 2,
|
||||
falloffExponent: Math.Max(0.0001, body.GravityDepthExponent));
|
||||
|
||||
if (body.GravityWaveRadius > 0 && body.GravityWaveDepth != 0)
|
||||
{
|
||||
|
|
@ -1510,6 +1521,8 @@ namespace GameCult.Aetheria.State.Verse
|
|||
private readonly List<double> _phaseY = new List<double>();
|
||||
private readonly List<double> _animationSpeed = new List<double>();
|
||||
private readonly List<double> _sourceFlags = new List<double>();
|
||||
private readonly List<double> _falloffScale = new List<double>();
|
||||
private readonly List<double> _falloffExponent = new List<double>();
|
||||
|
||||
public void Add(
|
||||
int layerIndex,
|
||||
|
|
@ -1531,7 +1544,9 @@ namespace GameCult.Aetheria.State.Verse
|
|||
double phaseX = 0,
|
||||
double phaseY = 0,
|
||||
double animationSpeed = 0,
|
||||
double sourceFlags = 0)
|
||||
double sourceFlags = 0,
|
||||
double falloffScale = 1,
|
||||
double falloffExponent = 1)
|
||||
{
|
||||
_layerIndex.Add(Math.Max(0, layerIndex));
|
||||
_centerX.Add(centerX);
|
||||
|
|
@ -1554,6 +1569,8 @@ namespace GameCult.Aetheria.State.Verse
|
|||
_phaseY.Add(phaseY);
|
||||
_animationSpeed.Add(animationSpeed);
|
||||
_sourceFlags.Add(sourceFlags);
|
||||
_falloffScale.Add(Math.Max(0, falloffScale));
|
||||
_falloffExponent.Add(Math.Max(0.0001, falloffExponent));
|
||||
}
|
||||
|
||||
public EveFieldsSplatSoa Build()
|
||||
|
|
@ -1581,7 +1598,9 @@ namespace GameCult.Aetheria.State.Verse
|
|||
PhaseX = _phaseX.ToArray(),
|
||||
PhaseY = _phaseY.ToArray(),
|
||||
AnimationSpeed = _animationSpeed.ToArray(),
|
||||
SourceFlags = _sourceFlags.ToArray()
|
||||
SourceFlags = _sourceFlags.ToArray(),
|
||||
FalloffScale = _falloffScale.ToArray(),
|
||||
FalloffExponent = _falloffExponent.ToArray()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -886,10 +886,12 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
|
||||
### Gravity Fog Presentation Contract
|
||||
|
||||
- Owner: Aetheria owns the gravity/fog splat values, authored volume tuning, and
|
||||
provider shader asset. Eve Fields owns the portable splat document and
|
||||
`field.volume3d` logical ports. EveUnity owns only the native render lifecycle.
|
||||
- Inputs: the canonical viewport splat document, logical surface-height,
|
||||
- Owner: Aetheria owns gravity/fog brush placement and values, authored volume
|
||||
tuning, and the provider shader asset. Eve Fields owns the portable splat
|
||||
document, radial falloff equations and parameters, and `field.volume3d`
|
||||
logical ports. EveUnity owns only the native render lifecycle.
|
||||
- Inputs: daemon-derived brush centers, radii, depths and exponents; the
|
||||
canonical viewport splat document; logical surface-height,
|
||||
patch-height, patch, tint, scalar parameters, viewport-to-texture scale
|
||||
relations, provider asset reference, and the selected runtime asset variant's
|
||||
native program metadata.
|
||||
|
|
@ -900,21 +902,33 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
|
|||
raymarch targets, ping-pong history textures, previous camera matrices, and
|
||||
viewport-derived texture scales and composite counters are runtime projections.
|
||||
They are neither daemon truth nor portable Eve state.
|
||||
- Semantic split: `gravity.height` is the negative gameplay terrain projection;
|
||||
`fog.surface_height` is the positive visual displacement the fossil
|
||||
`PowerBrush` camera supplied to `_NebulaSurfaceHeight`. Both derive from the
|
||||
same daemon-owned radial brushes, but neither may impersonate the other.
|
||||
- Entity altitude: after every Ymir XZ step, the daemon derives root entity Y as
|
||||
fossil `gravity.height + HullGridOffset`; children inherit their parent's full
|
||||
altitude. Eve clients consume the resulting 3D position and never sample or
|
||||
recreate terrain height as gameplay truth.
|
||||
- Forbidden writers: the old `VolumeSampling`/`VolumeCloudRenderer` presentation
|
||||
path, shader code, Unity cameras, and generic lowerers cannot calculate gravity,
|
||||
move bodies, or publish world truth. EveUnity may not import an Aetheria assembly
|
||||
or branch on Aetheria asset identities.
|
||||
or branch on Aetheria asset identities. A viewport-sized solid splat cannot
|
||||
stand in for the zone's radial gravity terrain.
|
||||
- Shared paths: first frame, camera motion, reconnect, viewport resize, and warm
|
||||
asset reuse all enter the same generic volume lifecycle. History resets on a
|
||||
new node, program, or render size. A provider that advertises a temporal pass
|
||||
without all required history ports, or a viewport scale relation with an
|
||||
unresolved logical port or texture, fails closed.
|
||||
- Cut line: the portable surface contains logical field and parameter names only.
|
||||
- Cut line: the daemon publishes the fossil zone and body `PowerPulse` brushes
|
||||
directly; the former full-viewport solid gravity writer is deleted. The
|
||||
portable surface contains logical field and parameter names only.
|
||||
`_Nebula*`, `_PrevVP`, `_ResetHistory`, shader keywords, and pass indices live
|
||||
exclusively in the provider's Unity asset-variant metadata.
|
||||
- Verification layer: EveUnity package tests prove two-pass compatibility,
|
||||
complete temporal-program acceptance, partial-program rejection, and absence
|
||||
of Aetheria assembly references. Aetheria daemon smoke proves the exact fossil
|
||||
complete temporal-program acceptance, partial-program rejection, portable
|
||||
`PowerPulse` GPU evaluation, and absence of Aetheria assembly references.
|
||||
Aetheria daemon smoke proves radial brush parity and that the exact fossil
|
||||
shader ABI is advertised outside the portable surface. A live capture is still
|
||||
required for visual parity.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
|
|||
| Pilot camera | ARPG follow/dock cameras | Eve view semantics + runtime | camera rig and semantic view id | EveUnity camera rig | daemon dock state selects distinct contracts instead of collapsing both fossil cameras: undocked flight advertises the entity-forward `Third Person Rig` framing (distance 30, screen 0.64/0.81, FOV 60, lens 1-4096) and the shared `aim.presentation` convergence point as its look-at; EveUnity solves native pose while preserving both optical aim and advertised entity framing, without provider types; the retained dock projection remains separate | reproduce the dock camera's separate follow/look-at subjects, blend timeline, noise, and reconnect state |
|
||||
| Render channels | Unity layers/culling masks | provider surface policy + runtime asset variant | semantic channel exclusions | EveUnity native layer mapping | wired, exclusive, and lowered: the pilot surface excludes the semantic `map` channel; the Unity asset variant maps `map` to its authored native layer; EveUnity subtracts that layer from the configured camera mask; portable state contains no Unity layer or mask; package tests and the clean-client dependency verifier pass | live pilot capture proving no map glyphs while the map camera retains them |
|
||||
| Minimap/tactical map | `ZoneRenderer`, map cameras | daemon world facts | explicit map projections | Unity and Electron | facts fragmented; generic lowerers absent | same state in both runtimes |
|
||||
| Fields/fog/gravity | zone renderer and shaders | daemon/plugin semantics | Fields plugin documents | EveUnity fields lowerer | daemon publishes four canonical gravity/fog splat layers through `field.volume3d`; the provider asset variant owns the fossil shader, native ports, quality/features, and raymarch/temporal/composite pass graph; released EveUnity `0.3.40` lowers temporal history and viewport-to-texture scale relations generically, and fails closed on partial native programs or unresolvable scale bindings; the warm released witness executes the provider bundle, four layers, and repeated composites without importing Aetheria code; derived dither scale is now proven but the raymarch remains nearly flat orange, so visual parity is explicitly absent | compare camera/world sampling coordinates against the published field viewport, then inspect finite aim look-at and capture temporal visual parity |
|
||||
| Fields/fog/gravity | zone renderer and shaders | daemon/plugin semantics | Fields plugin documents | EveUnity fields lowerer | daemon publishes canonical gravity/fog splat layers through `field.volume3d`; Eve Fields `0.2.1` owns portable `PowerPulse` scale/exponent semantics, so Aetheria emits the fossil radial zone/body wells instead of a viewport-sized solid slab; negative gameplay `gravity.height` and positive visual `fog.surface_height` are distinct projections of the same brushes; daemon entities again follow fossil terrain height plus hull grid offset after Ymir XZ motion; released EveUnity `0.3.42` lowers the radial field, temporal history, viewport-derived dither scale, and finite aim convergence without provider code; the warm raymarch now has real density variation and both camera-channel captures pass, but the field remains dark brown and low contrast rather than the fossil blue fog sea | restore gravity-wave, patch, tint/color, and lighting parity from fossil settings and measured native outputs; keep visual parity explicitly open |
|
||||
| HUD/schematic | ARPG HUD and `SchematicDisplay` | Eve composition from daemon facts | semantic status/components | EveUnity UI | provider-authored transparent cockpit is wired, projected, and lowered through generic UI Toolkit panes, metrics, and progress components for hull, shield, capacitor, temperature, cargo, weapon cooldown/groups, selected target, target lock, target shield, and target hull; the original armor/equipment schematic and transient warning choreography remain reference-only | schematic topology, warning timelines, dynamic action state, and composited live capture |
|
||||
| Hit/lock/warnings | `ActionGameManager` feedback | daemon event facts | transient feedback stream | VFX/UI/audio | bounded deduplicated game-event ledger and Eve `feedback.stream` wired for pickup outcomes, projectile launch/impact, entity damage, alive-to-dead destruction, authoritative weapon reload chronology, and episode-deduplicated `weapon.fire.refused` facts for insufficient energy or missing ammunition; refusal identity, authored weapon, target, reason, and remaining magazine state are runtime-independent cockpit inputs | add lock transitions, thermal and docking event families, negative transaction fixtures, and runtime effect consumption |
|
||||
| Assets | `Assets/Resources` | Aetheria provider | asset catalog + CultMesh CDN | runtime cache/load | provider manifests name deterministic bundle-internal paths; the authoring build derives presentation-only prefabs, strips missing and non-Eve `MonoBehaviour` components, verifies both saved prefabs and the loaded bundle, and publishes the immutable bundle through CultMesh; released-client warm-cache loading, content verification, and rendered provider identity are proven, while cold transfer still times out because the 46.1 MB body travels through batched snapshot records | mapped/network body transport followed by empty-cache download, atomic promotion, and cache reuse proof |
|
||||
|
|
|
|||
Loading…
Reference in a new issue