Some gltf improvements #4

Merged
SeanOMik merged 13 commits from feature/gltf-scene-fixes into main 2024-03-09 05:46:45 +00:00

13 Commits

Author SHA1 Message Date
SeanOMik 88cda91657
Inline a few things 2024-03-08 11:07:02 -05:00
SeanOMik cf3f70dbb9
resource, render: load in texture sampler from gltf and use them in the renderer 2024-03-08 11:04:38 -05:00
SeanOMik 4a293e5c18
cleanup some simple compiler warnings 2024-03-08 00:42:02 -05:00
SeanOMik 8d1961bb08
render: fix the TransformBuffers that could only store a single Transform for an entity
This caused Scenes to be rendered poorly since all meshes would use the Transform of the last processed mesh
2024-03-08 00:41:27 -05:00
SeanOMik 7d8798bf53
render: process GltfScenes and Node local transforms 2024-03-08 00:21:28 -05:00
SeanOMik 5861cb8c3f
resource: Create Gltf object, expand GltfScene to collect all node transforms, other qol changes 2024-03-08 00:20:29 -05:00
SeanOMik b3105bc668
ecs: fix filters 2024-03-08 00:19:23 -05:00
SeanOMik fd2b1683cc
resource: load multiple gltf scenes 2024-03-04 18:31:25 -05:00
SeanOMik 8eb18bd5d8
resource: improve gltf loader to show scene hierarchy and node local transform 2024-03-04 11:33:35 -05:00
SeanOMik 05ad91a64f
scene: some cleanup 2024-03-03 22:15:18 -05:00
SeanOMik 1b770a79fb
Some cleanup 2024-03-03 16:28:27 -05:00
SeanOMik 35815fa019
Create a new crate! lyra-scene for representing a SceneGraph in an ECS world 2024-03-03 16:21:55 -05:00
SeanOMik b51f1e16ef
ecs: fix World::insert, finish a TODO related to it
The TODO was that if the archetype has a single entity, add a component column for the new component instead of moving the entity to a brand new archetype
2024-03-03 16:19:59 -05:00