mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
Renderer contract: model nodes behind a modelNodes capability, with a conformance check
ModelItem.nodes had no conformance check. A renderer that poses a model's named glTF nodes now lists modelNodes (the Cesium port does); one without it draws the model as authored. The check draw.models.nodes moves the harness model's node off the screen's centre through nodes, live, ignores a name the model lacks, and gives the node its authored pose back when it leaves the map; it runs on the Cesium harness (141 passed, 0 failed) and on the stub, whose model is one node named after its file. Each harness names its model's node (assets.modelNode).
This commit is contained in:
1 parent
808941d973
commit
2c9a268694
12 files changed
+137
-4
No files matched your search
@@ -304,8 +304,11 @@ model's named glTF nodes, each a column-major 4×4 matrix in the node's
|
||||
parent frame that replaces the node's own (the ISS's solar arrays,
|
||||
radiators, dishes and arms). They change live; a node whose name leaves the
|
||||
map goes back to its authored pose, and names the model lacks are ignored.
|
||||
The Cesium port writes each node's matrix once the model is ready, and
|
||||
again only when its numbers change.
|
||||
A renderer that poses nodes lists `modelNodes`; one without it draws the
|
||||
model as authored. The Cesium port lists it, and writes each node's matrix
|
||||
once the model is ready, and again only when its numbers change. The check
|
||||
`draw.models.nodes` moves the harness model's node off the screen's centre
|
||||
and back.
|
||||
|
||||
The Cesium port draws timed imagery (`imageryFrames`): a layer given a timed
|
||||
source hides its own imagery and draws each frame its clock shows as a Cesium
|
||||
|
||||
Reference in new issue
Block a user