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

glTF 2.0 limited componentType #6

Open
ibouazizi opened this issue Apr 26, 2023 · 1 comment
Open

glTF 2.0 limited componentType #6

ibouazizi opened this issue Apr 26, 2023 · 1 comment
Labels
ProbableAgreement Will be agreed in next AHG meeting if no comments

Comments

@ibouazizi
Copy link
Member

The accessor describes the data that is stored in the buffer as viewed using the referenced accessor.bufferView. The accessor.type of the accessor indicates if the data element is a scalar, a vector, or a matrix. Depending on the type, each data element will have one or more components. The accessor.componentType describes the data type of that component.
Currently, gltf 2.0 supports the following component types:

  • 5120 BYTE
  • 5121 UNSIGNED_BYTE
  • 5122 SHORT
  • 5123 UNSIGNED_SHORT
  • 5125 UNSIGNED_INT
  • 5126 FLOAT
    These types are consistent with the types used in OpenGL. However, when dealing with audio data, at least the following types are missing:
  • S32 or SIGNED_INT: a 4 byte signed integer
  • DBL or DOUBLE: an 8 byte signed double-precision floating point number
    These data types are not used frequently, which reduces the severity of the problem. However, the type is used in audio formats, including PCM audio. One way to address this shortcoming is to liaise with the Khronos 3D Formats group to request that they add these component types. Alternatively, the new component types may be registered by the MPEG-I Scene Description standard in 23090-14.
@haudiobe haudiobe added the ProbableAgreement Will be agreed in next AHG meeting if no comments label May 15, 2023
@haudiobe haudiobe added this to the MPEG#143 (Part 14 DAM2) milestone May 15, 2023
@haudiobe
Copy link
Collaborator

Cannot be addressed by MPEG, is added to LS to Khronos - not yet looked at by 3D Formats group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ProbableAgreement Will be agreed in next AHG meeting if no comments
Projects
None yet
Development

No branches or pull requests

2 participants