mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Follow, drape and read the camera through the ports, not the viewer
- What the camera follows is the camera port's target only: no layer tracks an entity of its own any more, so followed.js stops reading and writing viewer.trackedEntity and the viewer's clock. - Draped imagery's host is the globe port's imagery while the globe is shown (isGlobeVisible, or no shown base tileset where a renderer cannot say), else the shown base tileset; weather uses the same resolver. - The World Packet reads the eye from the camera port's pose, and vessels ask again for the view on the camera port's moveEnd. - The stub's canvas takes event listeners, and in a page is a real canvas filling the container it is given; createStubRendererPlugin makes it a renderer plugin. The viewer access record is now empty.
This commit is contained in:
1 parent
ebbe006924
commit
a72d4c3b1f
11 files changed
+230
-213
No files matched your search
@@ -1,7 +1 @@
|
||||
{
|
||||
"src/agent/worldPacket.js": 2,
|
||||
"src/data/followed.js": 5,
|
||||
"src/layers/vessels/lifecycle.js": 1,
|
||||
"src/layers/weather/imageryHost.js": 3,
|
||||
"src/maps/imageryHost.js": 4
|
||||
}
|
||||
{}
|
||||
Reference in new issue
Block a user