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

Make PrimitiveGeometryComponent a more fundamental data structure #10046

Open
HexaField opened this issue Apr 6, 2024 · 0 comments
Open

Make PrimitiveGeometryComponent a more fundamental data structure #10046

HexaField opened this issue Apr 6, 2024 · 0 comments
Assignees

Comments

@HexaField
Copy link
Member

HexaField commented Apr 6, 2024

Similar to the MaterialComponent, the PrimitiveGeometryComponent should just be a GeometryComponent that points to the material for the surface, as well as storing the geometry information.

The MeshComponent should be an array of GeometryComponent entities, as per the GLTF spec.

https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/figures/gltfOverview-2.0.0d.png
Screenshot from 2024-04-06 14-49-45

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

3 participants