`Model` - support `noData` and `required` from `EXT_mesh_features`
See original GitHub issueOne of the schema changes from EXT_mesh_features
is to remove default
and optional
from the schema and replace them with noData
and required
. The CesiumJS implementation still needs to be updated for this.
This was out of scope for #9880 since it has wider reaching implications. I want to wait on this until getting metadata working in Custom Shaders
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (24 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A significant part of what this issue describes has been implemented in #10520 and #10683.
I opened two new issues, #10799 and #10800, to better define the remaining features that have not yet been implemented.
@jjhembd There are some parent pointers that you can use to locate the tileset:
renderResources.model
is like a parent pointer that points upwards a few levels of abstraction to theModelExperimental
to which this primitive belongsmodel.content
gives you a pointer to theModelExperimental3DTileContent
, but this is only defined for 3D Tiles (if this was an individual model loaded fromModelExperimental.fromGltf()
, this will beundefined
)content.tileset
is a pointer to the containing tileset.tileset.metadataExtension.statistics
as described above. If it’s present, then yes add it to the metadata struct.These pointers skip over a few levels of abstraction. To recap the full hierarchy here (from root to leaves):
Cesium3DTileset
Cesium3DTile
(a tree navigated via thetile.children
array)Cesium3DTileContent
(interface), in this caseModelExperimental3DTileContent
ModelExperimental
ModelExperimentalSceneGraph
and other abstractionsPrimitiveRenderResources