Skip to content

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

Merged
ptrgags merged 1 commit intoCesiumGS:3d-tiles-next-revfrom
donmccurdy:ext-feature-metadata-v2.5
Sep 27, 2021
Merged

EXT_feature_metadata: Restrictions on string IDs, add property table and texture names#18
ptrgags merged 1 commit intoCesiumGS:3d-tiles-next-revfrom
donmccurdy:ext-feature-metadata-v2.5

Conversation

@donmccurdy
Copy link
Member

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
Member 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
Member Author

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

@donmccurdy donmccurdy force-pushed the ext-feature-metadata-v2.5 branch from e80d81a to 3fd0830 Compare September 27, 2021 20:23
@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

Comments