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

FB_geometry_metadata: Clarify meaning of "primitiveCount" #2336

Open
toji opened this issue Oct 15, 2023 · 0 comments
Open

FB_geometry_metadata: Clarify meaning of "primitiveCount" #2336

toji opened this issue Oct 15, 2023 · 0 comments

Comments

@toji
Copy link
Member

toji commented Oct 15, 2023

This is pretty simple, but on my first read of the FB_geometry_metadata extension I thought that the primitiveCount referred to the number of Mesh Primitives in the scene. The example that's given indicating a vertexCount of 28727 and a primitiveCount of 15451, however, suggests that the intended meaning is the number of geometric primitives (triangles, lines, etc) that the scene contains. (Unless the example given represents a scene with a very high number of Primitives, each averaging 1.8 vertices, which seems... unlikely.)

In any case, because "Primitive" is used by the glTF spec to refer to something other than the geometric primitives that GPU APIs deal with, it's worth clarifying in the extension which meaning is intended to be applied here.

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

No branches or pull requests

1 participant