mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Drape glow and dash lines, reveal lines by length, and move draped lines and clamped points every frame
The Cesium draw port now drapes glow and dash lines as well as solid and flow ones, each with its own ground primitive. revealFraction is the fraction of the line's length, measured along the line. Both renderers cut there: Cesium discards fragments past the cut in the line's material, so the hidden part neither draws nor picks; the stub cuts the line before drawing and picking. A draped line whose positions change is rebuilt the same frame, on a ground primitive of its own, once terrain heights are loaded; until then it is rebuilt as before. A clamped dot whose look is unchanged is moved in place. The stub now picks lines. A new shared conformance check, draw.lines.drape, covers draped glow and dash lines, the reveal cut, a draped line growing every frame, and a clamped point moving every frame.
This commit is contained in:
1 parent
4cbfd6e12d
commit
10dcab837b
9 files changed
+1194
-167
No files matched your search
@@ -219,6 +219,7 @@ test('consumer build includes only infrastructure code and resolves assets under
|
||||
'localGeojsonLod.js',
|
||||
'motionModel.js',
|
||||
'pickRegistry.js',
|
||||
'polyline.js',
|
||||
'query.js',
|
||||
'rendererOf.js',
|
||||
'router.js',
|
||||
|
||||
Reference in new issue
Block a user