Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants