Capture full-power provider tractor effect

This commit is contained in:
Meta Vens 2026-07-15 11:38:52 +01:00
commit 9a65024251
3 changed files with 21 additions and 18 deletions

View file

@ -393,8 +393,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
(runtime.LastReceipt == null || runtime.LastReceipt.CommandId != tractor.CommandId || (runtime.LastReceipt == null || runtime.LastReceipt.CommandId != tractor.CommandId ||
!string.Equals(runtime.LastReceipt.State, "reconciled", StringComparison.OrdinalIgnoreCase) || !string.Equals(runtime.LastReceipt.State, "reconciled", StringComparison.OrdinalIgnoreCase) ||
runtime.ActiveVersion < runtime.LastReceipt.SourceVersion || runtime.ActiveVersion < runtime.LastReceipt.SourceVersion ||
EveUnityBeamPresentation.FindAll(runtime.ActiveProjection).Single().Power <= EveUnityBeamPresentation.FindAll(runtime.ActiveProjection).Single().Power < 0.99f))
beamPresentation.ActivationThreshold))
{ {
yield return new WaitForSecondsRealtime(0.1f); yield return new WaitForSecondsRealtime(0.1f);
runtime.Refresh(); runtime.Refresh();
@ -414,7 +413,8 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
beamRenderer.RefreshNow(); beamRenderer.RefreshNow();
Assert.That(beamRenderer.ActiveBeamCount, Is.EqualTo(1)); Assert.That(beamRenderer.ActiveBeamCount, Is.EqualTo(1));
Assert.That(beamRenderer.TryGetPower(beamPresentation.Id, out tractorBeamPower), Is.True); Assert.That(beamRenderer.TryGetPower(beamPresentation.Id, out tractorBeamPower), Is.True);
Assert.That(tractorBeamPower, Is.GreaterThan(beamPresentation.ActivationThreshold)); Assert.That(tractorBeamPower, Is.GreaterThanOrEqualTo(0.99f),
"Held input did not reach full daemon-authored tractor power before capture.");
tractorBeamParticleSystemCount = beamRenderer.ActiveParticleSystemCount; tractorBeamParticleSystemCount = beamRenderer.ActiveParticleSystemCount;
Assert.That(tractorBeamParticleSystemCount, Is.GreaterThan(0), Assert.That(tractorBeamParticleSystemCount, Is.GreaterThan(0),
"The generic beam lowerer did not instantiate the provider-owned effect prefab."); "The generic beam lowerer did not instantiate the provider-owned effect prefab.");

View file

@ -393,8 +393,7 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
(runtime.LastReceipt == null || runtime.LastReceipt.CommandId != tractor.CommandId || (runtime.LastReceipt == null || runtime.LastReceipt.CommandId != tractor.CommandId ||
!string.Equals(runtime.LastReceipt.State, "reconciled", StringComparison.OrdinalIgnoreCase) || !string.Equals(runtime.LastReceipt.State, "reconciled", StringComparison.OrdinalIgnoreCase) ||
runtime.ActiveVersion < runtime.LastReceipt.SourceVersion || runtime.ActiveVersion < runtime.LastReceipt.SourceVersion ||
EveUnityBeamPresentation.FindAll(runtime.ActiveProjection).Single().Power <= EveUnityBeamPresentation.FindAll(runtime.ActiveProjection).Single().Power < 0.99f))
beamPresentation.ActivationThreshold))
{ {
yield return new WaitForSecondsRealtime(0.1f); yield return new WaitForSecondsRealtime(0.1f);
runtime.Refresh(); runtime.Refresh();
@ -414,7 +413,8 @@ namespace GameCult.EveUnity.GenericClient.PlayModeTests
beamRenderer.RefreshNow(); beamRenderer.RefreshNow();
Assert.That(beamRenderer.ActiveBeamCount, Is.EqualTo(1)); Assert.That(beamRenderer.ActiveBeamCount, Is.EqualTo(1));
Assert.That(beamRenderer.TryGetPower(beamPresentation.Id, out tractorBeamPower), Is.True); Assert.That(beamRenderer.TryGetPower(beamPresentation.Id, out tractorBeamPower), Is.True);
Assert.That(tractorBeamPower, Is.GreaterThan(beamPresentation.ActivationThreshold)); Assert.That(tractorBeamPower, Is.GreaterThanOrEqualTo(0.99f),
"Held input did not reach full daemon-authored tractor power before capture.");
tractorBeamParticleSystemCount = beamRenderer.ActiveParticleSystemCount; tractorBeamParticleSystemCount = beamRenderer.ActiveParticleSystemCount;
Assert.That(tractorBeamParticleSystemCount, Is.GreaterThan(0), Assert.That(tractorBeamParticleSystemCount, Is.GreaterThan(0),
"The generic beam lowerer did not instantiate the provider-owned effect prefab."); "The generic beam lowerer did not instantiate the provider-owned effect prefab.");

View file

@ -44,14 +44,15 @@ daemon lock progress `1.0`; Unity does not manufacture or smooth that value.
Camera-channel facts: Camera-channel facts:
- provider-authored player renderers: `14`, including the lowered tractor effect; - provider-authored player renderers: `13`, including the lowered tractor effect;
- pilot changed pixels: `230,173`; - pilot changed pixels: `230,105`;
- pilot average luminance: `0.002677`; - pilot average luminance: `0.004590`;
- pilot bright pixels: `1,024`; - pilot bright pixels: `1,620`;
- map-channel renderers: `10`; - map-channel renderers: `11`;
- map changed pixels: `4,626`; - map changed pixels: `5,187`;
- native cockpit progress bars: `7`; - native cockpit progress bars: `7`;
- daemon tractor power at capture: `0.16`; - daemon tractor power at capture: `1.0` after the held input completed its
authored ramp;
- daemon tractor power after the advertised release: `0`; - daemon tractor power after the advertised release: `0`;
- provider tractor particle systems: `1`; - provider tractor particle systems: `1`;
- the pilot camera excludes the advertised map layer; - the pilot camera excludes the advertised map layer;
@ -80,9 +81,11 @@ publishes `beam.presentation` and advertises `pilot.scoop` as a
`button-hold.v1` value action. The generic client routes scalar `1` on press and `button-hold.v1` value action. The generic client routes scalar `1` on press and
scalar `0` on release through the advertised `SetTractorPower` operation. Both scalar `0` on release through the advertised `SetTractorPower` operation. Both
commands receive provider-owned reconciled receipts, and the daemon ramps the commands receive provider-owned reconciled receipts, and the daemon ramps the
published power from `0.16` at capture to exactly `0` after release. The published power from `1.0` at capture to exactly `0` after release. The provider
provider-owned prefab is attached to the SoA-presented ship, but its particle build removes the fossil's embedded tractor object from player/ship prefabs, so
renderer contributes zero measured pilot pixels in this capture. the standalone `beam.presentation` prefab is the only tractor renderer. Its
cyan/yellow dotted band is visible in the pilot capture and absent from the map
capture.
Effect tuning remains provider art work; the runtime must not compensate with Effect tuning remains provider art work; the runtime must not compensate with
an Aetheria-specific beam. an Aetheria-specific beam.
@ -96,8 +99,8 @@ Primary artifacts:
## Cold delivery is not currently proven ## Cold delivery is not currently proven
The current `46,133,487` byte Unity bundle (SHA-256 The current `46,131,569` byte Unity bundle (SHA-256
`ff07aa7f71aa2da0e8e6fe2f4ed68900931d6e67c153b586777467316d4fb80f`) `a4b26fb234ae7d82eda26fb342d7f77a236e3bc1107420175eb1c626785db212`)
times out from an empty cache. Its bytes are times out from an empty cache. Its bytes are
still transported through batched snapshot records rather than the intended still transported through batched snapshot records rather than the intended
mapped/network body transport. Increasing the Unity timeout would hide the mapped/network body transport. Increasing the Unity timeout would hide the