Skip to content
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

EXT_feature_metadata: Restrictions on string IDs, add property table and texture names #18

Merged

Conversation

donmccurdy
Copy link

Changes:

  • Restrict string IDs for classes, enums, and properties to alphanumeric and underscore characters
  • Add "name" to feature tables and textures

Expectation here is that human-readable names may be provided in the "name" property if restrictions don't allow it in the string ID. In languages requiring non-ASCII characters it may be convenient to use IDs like "property01" and more meaningful names.

@donmccurdy
Copy link
Author

/cc @lilleyse @ptrgags per earlier discussion about need for GLSL identifiers. This may hit a minor merge conflict with #17.

Copy link

@ptrgags ptrgags left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donmccurdy changes look good, though I noticed some little details about identifiers we haven't considered.

@donmccurdy donmccurdy marked this pull request as draft September 24, 2021 20:22
@donmccurdy
Copy link
Author

Converted this PR to a draft – hoping to merge #19 first unless it looks like delays are likely there.

@donmccurdy donmccurdy marked this pull request as ready for review September 27, 2021 20:23
@ptrgags
Copy link

ptrgags commented Sep 27, 2021

Looks good, thanks @donmccurdy!

@ptrgags ptrgags merged commit fbc7956 into CesiumGS:3d-tiles-next-rev Sep 27, 2021
@donmccurdy donmccurdy deleted the ext-feature-metadata-v2.5 branch September 27, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants