mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
feat(alpr): render camera markers on Navara
Separate native scene ownership from shared ALPR source and selection state, and add bounded Navara sprites with the existing direction/card overlay. Preserve marker artwork, picking, floor retries and source attribution. Fix lost post-render wakeups and redundant mobile rail mutations, and keep HUD typewriter dimensions stable so static views settle without extra frames. Add parser-fed dev/preview and legacy evidence, including retained failures. Common W2 terrain and combined performance gates remain open.
This commit is contained in:
1 parent
9d587c1d37
commit
46b3aceafc
23 files changed
+2081
-181
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { createAlprCesiumRenderer } from '../layers/alpr/render/cesium.js';
|
||||
// src/data/alprCameras.test.mjs
|
||||
// Pure helpers and actual layer lifecycle with a minimal viewer/input harness.
|
||||
import { test } from 'node:test';
|
||||
@@ -854,6 +855,7 @@ test('two factories keep their requests, records and destruction independent', a
|
||||
};
|
||||
let resolveFirst, firstSignal;
|
||||
const first = createAlprCamerasLayer({
|
||||
rendererFactory: createAlprCesiumRenderer,
|
||||
services,
|
||||
source: {
|
||||
fetch: (_box, signal) => {
|
||||
@@ -865,6 +867,7 @@ test('two factories keep their requests, records and destruction independent', a
|
||||
},
|
||||
});
|
||||
const second = createAlprCamerasLayer({
|
||||
rendererFactory: createAlprCesiumRenderer,
|
||||
services,
|
||||
source: {
|
||||
label: 'Test camera directory',
|
||||
@@ -938,6 +941,7 @@ test('markers sit on the cached floor; unknown floors clamp only until they reso
|
||||
},
|
||||
};
|
||||
const layer = createAlprCamerasLayer({
|
||||
rendererFactory: createAlprCesiumRenderer,
|
||||
services,
|
||||
source: {
|
||||
fetch: async () => ({
|
||||
@@ -1305,6 +1309,7 @@ test('slow ALPR floors share real terrain requests across preparation, render an
|
||||
longitude: -97.749 + (i % 15) * 0.001,
|
||||
}));
|
||||
const layer = createAlprCamerasLayer({
|
||||
rendererFactory: createAlprCesiumRenderer,
|
||||
source: {
|
||||
fetch: async () => ({ records, stale: false, saturated: false }),
|
||||
},
|
||||
@@ -1390,6 +1395,7 @@ test('map-source changes reposition all ALPR entities and saved native appearanc
|
||||
directionDeg: i === 0 ? null : 90,
|
||||
}));
|
||||
const layer = createAlprCamerasLayer({
|
||||
rendererFactory: createAlprCesiumRenderer,
|
||||
source: {
|
||||
fetch: async () => ({ records, stale: false, saturated: false }),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user