Commit Graph

43 Commits

Author SHA1 Message Date
SeanOMik 4ff7e40624
render: create a transform pass for sending transforms to the GPU
CI / build (push) Has been cancelled Details
2024-11-01 11:04:01 -04:00
SeanOMik f5aca87ede
ecs: don't automatically tick the world, use Res and ResMut anywhere ecs resources are requested to track changes better
now the user must manually tick the world. The engine will do this before every update
2024-09-27 21:03:27 -04:00
SeanOMik 45fd190409
update wgpu and winit to latest versions
need to make a WinitPlugin though, so no window currently
2024-09-18 19:47:55 -04:00
SeanOMik 3a80c069c9
render: move most of the mesh processing to a MeshPrepare node
Moving that out of the MeshesPass makes the rendering meshes accessible to other passes/nodes. The shadow pass will need access to them which is why this was done now
2024-06-29 22:23:49 -04:00
SeanOMik 9ce79e6b29
resource: fix tests, render: remove warning
ci/woodpecker/pr/debug Pipeline failed Details
ci/woodpecker/pr/release Pipeline failed Details
2024-06-12 21:23:27 -04:00
SeanOMik 1b08482ef7
resource: fix wait_for_load haning when using handles from 'request_raw' 2024-04-27 00:31:20 -04:00
SeanOMik 15807a3dc1
resource: impl Reflect for a bunch of types, add some utility methods to handles 2024-04-27 00:28:49 -04:00
SeanOMik 25aa902e02
render: use WorldTransforms in the renderer
ci/woodpecker/push/debug Pipeline failed Details
2024-04-17 20:46:46 -04:00
SeanOMik a3118f32e2
resource: implement retrieving loaded SceneGraph dependencies 2024-03-31 13:37:25 -04:00
SeanOMik aa8d94851c
game: rewrite EventQueue due to new ecs requirement of Send + Sync for resources, use new SceneGraph in renderer 2024-03-31 13:24:32 -04:00
SeanOMik a17c035c05
resource: use a SceneGraph for loading gltf nodes, make resources Send + Sync 2024-03-31 00:32:31 -04:00
SeanOMik aa3a4a17d7
resource: implement waiting for resource dependencies to be loaded 2024-03-10 00:11:15 -05:00
SeanOMik dead32dbab
resource: asyncronous loading of resources 2024-03-09 00:48:22 -05:00
SeanOMik cd27c9602c Inline a few things 2024-03-09 00:46:42 -05:00
SeanOMik 5331cfc2c4 resource, render: load in texture sampler from gltf and use them in the renderer 2024-03-09 00:46:42 -05:00
SeanOMik c1b5ca768f resource: Create Gltf object, expand GltfScene to collect all node transforms, other qol changes 2024-03-09 00:46:42 -05:00
SeanOMik 7db913d15b resource: load multiple gltf scenes 2024-03-09 00:46:42 -05:00
SeanOMik 556b603f83 resource: improve gltf loader to show scene hierarchy and node local transform 2024-03-09 00:46:42 -05:00
SeanOMik 70fecc8cdd
fixes across crates after changes to ecs 2024-03-02 22:55:13 -05:00
SeanOMik 0373f68cc3
resource: create the ability to keep resources as type erased data 2024-02-23 16:38:38 -05:00
SeanOMik 639ec0ee42
resource: fix resource manager tests
A test was failing since 'watch_image' was deleting the file and recreating it while the other test was running
2024-02-18 23:43:02 -05:00
SeanOMik db77ca4388
scripting: lua script auto-reloading 2024-01-15 23:22:21 -05:00
SeanOMik 47451a0571
resource: reloading of resources 2024-01-15 18:07:47 -05:00
SeanOMik 13ad671a55
scripting: update lua scripts on 'update' stage 2024-01-06 23:06:00 -05:00
SeanOMik 67c5876443
lyra-resource: Make it possible to add resource loaders to the resource manager 2024-01-04 20:42:56 -05:00
SeanOMik 10fc7842cf
Fix a painful amount of compiler warnings, and clippy warnings 2023-12-28 21:30:45 -05:00
SeanOMik e412e589d1
Prototype implementation of specular maps 2023-12-21 17:35:30 -05:00
SeanOMik 63df35f8fc
Fix most warnings and clippy lints
ci/woodpecker/push/build Pipeline was successful Details
2023-10-22 21:49:31 -04:00
SeanOMik 7ae59c0415
Loading textures from gltf blob and gltf.bin's, fix loading multiple meshses in a single model 2023-10-21 22:19:34 -04:00
SeanOMik fd9f4bee2a
Implement loading material textures from gltf and rendering them 2023-10-17 22:04:25 -04:00
SeanOMik 02a0eea7b3
Don't force loaded model indicies to U32 2023-10-08 00:03:53 -04:00
SeanOMik 8f7288339d
Add default texture which fixes render error, fix cube rendering 2023-10-05 11:42:24 -04:00
SeanOMik 9d6d51af83
Load materials from gltf 2023-09-29 14:20:28 -04:00
SeanOMik 792596078d
Create a material type for loading materials 2023-09-29 13:00:33 -04:00
SeanOMik dabc051b58
Add ModelComponent, add model loader to resource manager's default loaders 2023-09-26 17:14:38 -04:00
SeanOMik 64817b6142
Add MeshVertexAttribute instead of directly storing positions 2023-09-22 12:42:36 -04:00
SeanOMik e76ca1ec50
Write a very experimental gltf loader 2023-09-21 23:11:09 -04:00
SeanOMik dddf6123c4
Continue working on gltf loader 2023-09-21 17:27:21 -04:00
SeanOMik 38e7b543c0
Start working on gltf 2023-09-21 14:22:46 -04:00
SeanOMik b5079a659a
Add tests to lyra-resource 2023-09-21 09:36:44 -04:00
SeanOMik bd21e62cba
Use resources from the resource manager, implement startup systems 2023-09-14 12:58:59 -04:00
SeanOMik a1c3cd6d99
Write resource managers request function, needs testing 2023-09-12 19:07:03 -04:00
SeanOMik e21490cd6a
Start working on assets 2023-09-12 14:25:33 -04:00