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

Add Primitive Names #2006

Open
RichardTea opened this issue Jul 29, 2021 · 1 comment
Open

Add Primitive Names #2006

RichardTea opened this issue Jul 29, 2021 · 1 comment

Comments

@RichardTea
Copy link

Currently a mesh has a name but the primitives that make it up do not.
This can make it difficult to identify important primitives for re-assigning materials etc.

Similar use case as for issue #1036

As is the case with "name" elsewhere, this would be informative for artists and not a reference within the glTF file itself.

At present I'm using an "extras" value for this in my implementation.

@donmccurdy
Copy link
Contributor

I agree this would be useful; IMHO it lands in the same category as morph target names — not urgent enough to provide as an extension, but probably a no-brainer to include in the next glTF major version, whenever that might be.

In the meantime the same solution used for morph target names would also work here, many implementations look for a "targetNames": ["name1", "name2", ...] array in "extras" and decorate morph targets with human-readable names when available.

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

2 participants