-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify details about featureCount
and nullFeatureId
#756
Comments
Is the FeatureCount used in CesiumJS (or another client)? Didn't have the impression it is. If not used, maybe it's an option to deprecate it? |
From a quick full-text search, it does not seem to be used (it is read and stored in some property, but I don't see where it is actually used). Some questions about the So this issue may indeed be a clarification that goes beyond what it means - it may raise the question of whether it is required (or still required in CesiumJS), or whether it should or could be deprecated. |
|
I had a short look at the relevant parts of the codes - yes, a bit naive, by just doing a GitHub search for It looks like the A few places caught my attention:
If the goal was to remove the |
This refers to the
EXT_mesh_features
extension:The specification currently says
This actually caused some confusion for me (while implementing the validation of the extensions), and came up again recently in CesiumGS/3d-tiles-validator#294 (comment)
We could clarify this, maybe only as an "Implementation Note" with examples, to emphasize...
featureCount
does not say how many features are present in the specific instance of the extension (on a specific mesh primitive). It says how many features there are as a whole. So there may be an instance of the extension on a specific mesh primitive, and this may have the feature ID values[12, 34, 56]
, and thefeatureCount
may still be10
or so.nullFeatureId
does not contribute to thefeatureCount
. So there may be feature ID values like[12, 34, 56, 9999]
, and thefeatureCount
may still be3
, namely when one of these values (like the9999
) is thenullFeatureId
The text was updated successfully, but these errors were encountered: