Commit Graph

70 Commits

Author SHA1 Message Date
SeanOMik 039e99281a
Fix issues with the normal matrix 2023-12-21 17:31:04 -05:00
SeanOMik 6826d43c8b
Switch to desktop
ci/woodpecker/push/build Pipeline was successful Details
2023-11-15 19:47:22 -05:00
SeanOMik b2bbbbbfad
Switch computers
ci/woodpecker/push/build Pipeline failed Details
2023-11-14 23:04:32 -05:00
SeanOMik e23d4dc731
Fix a possible bug
ci/woodpecker/push/build Pipeline was successful Details
2023-11-12 15:07:52 -05:00
SeanOMik 65467c5032
Add normal matrix for lighting, fix render multiple entities that use same model 2023-11-12 14:56:59 -05:00
SeanOMik da1cac1bff
Implement removing a light from the scene
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 18:10:00 -05:00
SeanOMik aa79ace401
Get multiple light sources working
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 17:52:11 -05:00
SeanOMik 6510d5a7b9
Start support for multiple point light casters
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 14:00:52 -05:00
SeanOMik d26e1ccfb4
Create a PointLight component for light position
ci/woodpecker/push/build Pipeline was successful Details
2023-11-10 12:28:17 -05:00
SeanOMik e95a45fd53
Implement a single point light with blinn-phong lighting 2023-11-10 09:14:18 -05:00
SeanOMik 8d6e675c82
Implement a decent first pass of the input action system
ci/woodpecker/push/build Pipeline was successful Details
This still needs some work, mostly just names of things and finding a better way to add the InputActionPLugin and ActionHandler
2023-11-05 22:50:57 -05:00
SeanOMik 75c0377d9c
Create structs for the input actions
ci/woodpecker/push/build Pipeline was successful Details
2023-11-04 11:34:27 -04:00
SeanOMik 76f81d6b02
Create an input module to cleanup code 2023-11-03 21:07:02 -04:00
SeanOMik b9b2c9f8e7
Finish fixed rate transform interpolation for the renderer
ci/woodpecker/push/build Pipeline failed Details
2023-11-03 19:50:00 -04:00
SeanOMik 1b723cc30b
Attempt to interpolate transforms in the renderer
ci/woodpecker/push/build Pipeline was successful Details
2023-10-31 14:28:22 -04:00
SeanOMik 31799cae05
Some code cleaup of the renderer file
ci/woodpecker/push/build Pipeline was successful Details
2023-10-29 21:01:58 -04:00
SeanOMik 6b935739ef
Add system criteria
ci/woodpecker/push/build Pipeline was successful Details
2023-10-29 17:54:04 -04:00
SeanOMik 927566ca3d
Add delta time, use it in the free fly camera
ci/woodpecker/push/build Pipeline was successful Details
2023-10-26 22:26:13 -04:00
SeanOMik f3c25b6370
Rotate camera with mouse
ci/woodpecker/push/build Pipeline was successful Details
2023-10-25 21:49:38 -04:00
SeanOMik 249b87afed
Create simple keyboard controlled free fly camera
ci/woodpecker/push/build Pipeline was successful Details
2023-10-24 20:03:27 -04: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 fdf1c4d338
Start implementing the new Model and Mesh types with the renderer 2023-09-29 14:46:08 -04:00
SeanOMik dabc051b58
Add ModelComponent, add model loader to resource manager's default loaders 2023-09-26 17:14:38 -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 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 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 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