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

Improve API for glTF builder #91

Open
Carifio24 opened this issue Nov 27, 2024 · 1 comment
Open

Improve API for glTF builder #91

Carifio24 opened this issue Nov 27, 2024 · 1 comment
Assignees
Labels
glTF Related to export of glTF/glB files

Comments

@Carifio24
Copy link
Member

The glTF builder exposes a lot of details regarding the particular glTF library that we're using, and requires the user to do a lot of the tedious buffer/view/accessor setup themselves. It would be nice to have this (and all the builders) have very generic APIs where you just add a mesh using points/triangles/color/etc without needing to do all of that.

@Carifio24 Carifio24 added the enhancement New feature or request label Nov 27, 2024
@Carifio24 Carifio24 self-assigned this Nov 27, 2024
@Carifio24 Carifio24 added architecture Related to overall package architecture glTF Related to export of glTF/glB files and removed enhancement New feature or request architecture Related to overall package architecture labels Nov 27, 2024
@Carifio24
Copy link
Member Author

While I still think that this would be nice, the more I do with the GL formats the less I'm convinced that this would be worth it. While the buffer/view/accessor setup is a bit complicated, it also allows us to reuse the same data values multiple times and save file space if we're clever about how we structure things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
glTF Related to export of glTF/glB files
Projects
None yet
Development

No branches or pull requests

1 participant