mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Draw quads and meshes through the Cesium draw port
The Cesium draw port now makes quads sets (a posed, textured plane with its outline, drawn as a plane entity with a transparent image material draws it) and meshes sets (triangles in the east-north-up frame at an origin, flat and two-sided or lit and closed). Quads change in place as they move, resize, fade or take a new canvas; a video quad keeps frames coming while it plays and gets a new material when its size or source kind changes. Mesh vertices are placed in the Earth-fixed frame, so Cesium can project them for its 2D views. The capabilities list both kinds.
This commit is contained in:
1 parent
fa762f808e
commit
393f1686f2
7 files changed
+871
-7
No files matched your search
@@ -60,6 +60,8 @@ const GLOBE_CAPABILITIES = [
|
||||
export function cesiumCapabilities(scene, only) {
|
||||
const all = [
|
||||
'models',
|
||||
'quads',
|
||||
'meshes',
|
||||
'followFrame',
|
||||
...GPU_ICON_CAPABILITIES,
|
||||
'styles',
|
||||
|
||||
Reference in new issue
Block a user