Lorenzo Torres
b1d092b6e3
Cleaned up rendering module
2025-08-07 03:57:53 +02:00
Lorenzo Torres
defdf051ec
Implemented rotations
2025-08-06 16:35:29 +02:00
Lorenzo Torres
00d51fc970
Fixed last commit
2025-08-05 20:59:58 +02:00
Ernesto Lanchares
b1bd949db5
Refactored compilation and startup. Now everything is orchestrated through a simple API described in sideros_api.h. Also refactored some of the code to get rid of global C imports.
...
Signed-off-by: Lorenzo Torres <torres@sideros.org>
2025-08-05 20:16:39 +02:00
Lorenzo Torres
5b51a3d571
Implemented basic lighting!
2025-08-05 19:06:58 +02:00
Lorenzo Torres
dcb2ee0584
Added camera uniforms for projection and view matrix
2025-08-04 17:23:00 +02:00
Lorenzo Torres
a8071bd783
Made render a system again
2025-08-04 13:56:50 +02:00
Ernesto Lanchares
ecff349a31
Fixed memory leak in ECS.
2025-04-04 18:57:21 +02:00
Lorenzo Torres
16a2a40418
moved rendering to a system.
...
To ensure that the rendering system is being run in the main thread, I
added the concept of "Sync systems", so that when a system group is
created it's possible to specify whether it's possible to run it on a
separate thread or not.
2025-03-29 16:15:56 +01:00
Lorenzo Torres
536c927613
Made ECS a separate module and implemented basic input handling.
2025-03-28 19:53:56 +01:00
Lorenzo Torres
ff84d6ac53
the ECS is now using a more data oriented approach.
...
By defining archetypes using SOAs (Zig has this data structure in `std`,
called std.MultiArrayList), the engine can iterate faster over commonly
defined entities avoiding cache misses since each component is aligned
with other components of the same entity.
2025-03-28 15:34:36 +01:00
Lorenzo Torres
1730f1e298
Made Renderer a separate module
2025-03-27 21:42:46 +01:00
Lorenzo Torres
00d695e5f0
cleaned up ecs interface
2025-03-22 22:55:31 +01:00
Lorenzo Torres
191e148535
fixed component queries
2025-03-22 18:10:39 +01:00
Lorenzo Torres
0c8cd85647
fixed memory bug with thread pools
2025-03-22 17:29:57 +01:00
Lorenzo Torres
e1f1441a38
added fixme message to ecs
2025-03-20 23:54:19 +01:00
Lorenzo Torres
7ce5902ec9
preliminary work on ecs
2025-03-20 23:40:20 +01:00