mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Make SetSpec.drawOrder exact and draw it in Cesium and the stub
Among sets that skip the depth test, a higher drawOrder draws over a lower one whatever order they were made in, and picks name them topmost first. Cesium draws the earlier of two opaque near-plane icons on top and picks it, so the draw port stacks the sets' hosts with a higher order earlier, ties in the order the sets were made. Hosts trade places only among the slots draw-set hosts already hold, so no other primitive moves; nothing moves while every set is at 0. Translucent items blend order-independently in Cesium and are not ordered by it. The stub sorts its hits the same way. A conformance check draws two icon sets at one spot and swaps their orders.
This commit is contained in:
1 parent
45302e9fbf
commit
8fe8b8e14d
6 files changed
+219
-3
No files matched your search
@@ -38,6 +38,7 @@ export const CESIUM_CHECKS = new Set([
|
||||
'draw.clampState',
|
||||
'draw.columns',
|
||||
'draw.columns.shown',
|
||||
'draw.drawOrder',
|
||||
'draw.drillPick',
|
||||
'draw.icons.distance',
|
||||
'draw.icons.update',
|
||||
|
||||
Reference in new issue
Block a user