Commit Graph

58 Commits

Author SHA1 Message Date
SeanOMik a5b145c9b3
Create a testbed example to make developing the engine easier 2023-09-29 14:57:22 -04:00
SeanOMik fdf1c4d338
Start implementing the new Model and Mesh types with the renderer 2023-09-29 14:46:08 -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 5828d00b74
Fix the constant window updates, move the mouse centering code out of input.rs 2023-09-19 23:05:51 -04:00
SeanOMik db84f03b57
Change the requested cursor grab depending on platform support, fix setting window size 2023-09-19 00:16:01 -04:00
SeanOMik fef032351e
Add WindowOptions for changing window behavior 2023-09-17 12:08:08 -04:00
SeanOMik 461b41695b
Add a change tracker type 2023-09-16 11:52:20 -04:00
SeanOMik cc1cfdbc68
Merge branch 'feature/assets' into 'main' 2023-09-14 22:36:37 -04:00
SeanOMik 2e08a5a784
Add 2d camera 2023-09-14 22:33:11 -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
SeanOMik eb941794dc
Merge branch 'feature/plugins' into 'main' 2023-09-10 00:55:27 -04:00
SeanOMik 71c1188f3a
Finish implementing plugins, create default plugins, create input plugin 2023-09-10 00:38:54 -04:00
SeanOMik e96cb3585b
Start working on game plugins 2023-09-09 10:51:58 -04:00
SeanOMik 31e6af7015
Clean up code to be better suited to be used as a library 2023-09-08 01:06:51 -04:00
SeanOMik 0ff78cf6d6
Remove .vscode/settings.json 2023-09-08 01:06:51 -04:00
SeanOMik 32689e77ce
Convert the engine into a lib package 2023-09-08 01:06:50 -04:00
SeanOMik 2e225ccd09
Some code cleanup 2023-09-08 01:06:49 -04:00
SeanOMik 81c3b5be55
Fix the logger to include info logs from other crates 2023-09-08 01:06:48 -04:00
SeanOMik 3d350448dc
Add depth buffer 2023-09-08 01:06:47 -04:00
SeanOMik 25aff0cc1f
Remove resources created by entities after they die 2023-09-08 01:06:46 -04:00
SeanOMik ef4426a991
Update entity model buffers when changed 2023-09-08 01:06:45 -04:00
SeanOMik f339d048b2
Expand transform buffers when they're full 2023-09-08 01:06:45 -04:00
SeanOMik ec960b8f94
Fix rendering multiple entities
this is done by using a large dynamic uniform buffer for storing all transforms of entities
2023-09-08 01:06:44 -04:00
SeanOMik 3068710ba4
Clean up code a bit 2023-09-08 01:06:43 -04:00
SeanOMik 73b44857eb
Switch ecs to edict 2023-09-08 01:06:42 -04:00
SeanOMik 805fde2d4e
Rewrite the input system using an event based system 2023-09-08 01:06:41 -04:00
SeanOMik 77053d56ad
Work on events for the input stuff 2023-09-08 01:06:40 -04:00
SeanOMik 5a37fcf1e6
Implement MouseMotion and CursorMoved input events 2023-09-08 01:06:39 -04:00
SeanOMik e517852b25
add just pressed input events 2023-09-08 01:06:38 -04:00
SeanOMik d25ecf0e00
Add resource system, early input system, custom hecs world wrapper 2023-09-08 01:06:38 -04:00
SeanOMik f7a455997d
use the graph system dispatcher to execute systems, make it easier to add systems 2023-09-08 01:06:37 -04:00
SeanOMik 4c6edff639
implement simple ecs systems 2023-09-08 01:06:36 -04:00
SeanOMik 7c381672d9
simple ecs systems! 2023-09-08 01:06:35 -04:00
SeanOMik d51e783a50
fix some issues caused by the rebase 2023-09-08 01:06:34 -04:00
SeanOMik 7063f57a7b
create SimpleSystem 2023-09-08 01:06:33 -04:00
SeanOMik f11c175db1
add transform matrix buffer 2023-09-08 01:06:32 -04:00
SeanOMik 5d81d0acfe
change method name 2023-09-08 01:06:31 -04:00
SeanOMik b957414143
Use an actual render queue instead of a HashMap 2023-09-08 01:06:31 -04:00
SeanOMik 645dd93f21
Add better 3d camera, fix memory 'leak' caused by not clearing the RenderJob queue 2023-09-08 01:06:30 -04:00
SeanOMik 3fc8cefa0e
add simple 3d camera, rename Model2dComponent to MeshComponent, rename base shader file 2023-09-08 01:06:29 -04:00
SeanOMik 77d29d68c8
Move Transform to math module 2023-09-08 01:06:28 -04:00