Lorenzo Torres
93e91d7902
Fixed alignment issue of point lights buffer
...
Instead of using an array of descriptors for storing the lights, now
only one descriptor maps the entire array.
2025-08-09 15:02:53 +02:00
Lorenzo Torres
503ed33aec
Fully implemented lighting
...
Two types of light sources are currently supported: directional lights
and point lights. A scene can have only one directional light and up to
1024 point lights.
2025-08-08 03:18:08 +02:00
Lorenzo Torres
214317e0bf
Implemented mesh batching at startup
2025-08-07 19:48:40 +02:00
Lorenzo Torres
1ed403dc9e
Fixed MAINTAINERS
2025-08-07 14:25:24 +02:00
Lorenzo Torres
748e394939
Refactored create/destroy to init/deinit
2025-08-07 14:04:41 +02:00
Lorenzo Torres
90cfe4d96e
Refactor of vulkan structures
2025-08-07 13:17:47 +02:00
Lorenzo Torres
3199697470
Fixed rendering module in documentation
2025-08-07 04:18:52 +02:00
Lorenzo Torres
68b1367bdf
Enabled mods in sideros.zig
2025-08-07 04:13:53 +02:00
Lorenzo Torres
162800ac83
fixed formatting in mods/ir.zig
2025-08-07 04:08:45 +02:00
Lorenzo Torres
b1d092b6e3
Cleaned up rendering module
2025-08-07 03:57:53 +02:00
luccie-cmd
473c4aeffb
[MODS/VM]: Actually respect the difference between signed and unsigned
2025-08-06 18:55:34 +02:00
luccie-cmd
8282a299b1
Rename preinit to init and add more instructions
2025-08-06 18:51:48 +02:00
luccie-cmd
8c740f3793
[MODS]: Added documentation page
2025-08-06 18:49:58 +02:00
Lorenzo Torres
8b5f33ee3f
Fixed normal transformation
2025-08-06 17:51:03 +02:00
Lorenzo Torres
defdf051ec
Implemented rotations
2025-08-06 16:35:29 +02:00
Lorenzo Torres
7a634d53b5
Added transformation in the vertex shader
2025-08-06 16:12:02 +02:00
Lorenzo Torres
9a69989e46
Merge branch 'master' of ssh://git.sideros.org/git/sideros
2025-08-06 16:08:49 +02:00
Lorenzo Torres
c3a85ce50f
Inverted view matrix
2025-08-06 16:08:36 +02:00
luccie-cmd
85c33ec204
Remove assets/core.wasm
2025-08-06 15:56:25 +02:00
luccie-cmd
3c105c235e
[ASSETS] create a seperate assets/mods directory
2025-08-06 15:55:21 +02:00
luccie-cmd
4fa1df1281
[MODS] Move modding/log.zig to modding/zig/log.zig
2025-08-06 15:55:21 +02:00
Lorenzo Torres
fb031e8a66
Fixed face culling
2025-08-06 15:50:05 +02:00
Lorenzo Torres
8a56f94b7f
Merge branch 'master' of ssh://git.sideros.org/git/sideros
2025-08-06 15:32:41 +02:00
Lorenzo Torres
6b948f6718
Implemented transformations
2025-08-06 15:32:32 +02:00
luccie-cmd
98cbb47031
[MODS/WASM] Add some more instructions
2025-08-06 11:40:32 +02:00
luccie-cmd
a295365993
[MODS/WASM]: Get tables, elems, data and more VM instructions working
2025-08-05 22:59:41 +02:00
Ernesto Lanchares
5bd3e6c57b
FIXED typo.
...
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-08-05 22:38:12 +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
luccie-cmd
0a001d71bc
Removed sideros.asm
2025-08-04 20:48:50 +02:00
luccie-cmd
83d91cfffe
Fixed the functions
2025-08-04 20:48:35 +02:00
luccie-cmd
6f942fe9c2
Add full support for globals
2025-08-04 19:33:05 +02:00
luccie-cmd
53eb24dc35
Comment main back out
2025-08-04 19:24:03 +02:00
luccie-cmd
94195fc774
Added support for global variables
2025-08-04 19:21:12 +02:00
Lorenzo Torres
1da655d164
Merge branch 'master' of ssh://git.sideros.org/git/sideros
2025-08-04 17:24:11 +02:00
Lorenzo Torres
dcb2ee0584
Added camera uniforms for projection and view matrix
2025-08-04 17:23:00 +02:00
luccie-cmd
baa3877f99
Commented out main stuff
2025-08-04 16:03:33 +02:00
luccie-cmd
e0d44a5f84
Added support for importing functions and begin working on a modding tools
2025-08-04 16:03:06 +02:00
Lorenzo Torres
59e3997056
Fixed gltf parser memory leak
2025-08-04 14:19:29 +02:00
Lorenzo Torres
a8071bd783
Made render a system again
2025-08-04 13:56:50 +02:00
Lorenzo Torres
933cf2f1f4
Removed unecessary Window struct
2025-08-04 13:43:09 +02:00
Lorenzo Torres
66a6dc33ec
Main loop now doesn't always wait for events
2025-08-04 13:41:38 +02:00
Lorenzo Torres
097a6a9b5c
Implemented Xorg initialization code
2025-08-04 02:46:36 +02:00
Lorenzo Torres
f894fb317d
Implemented wayland initialization code
2025-08-03 23:23:03 +02:00
Lorenzo Torres
f43e03d6f3
Removed GLFW as a dependency
2025-08-03 23:22:50 +02:00
luccie-cmd
009b43660e
Remove core.wat
2025-08-03 16:15:04 +02:00
luccie-cmd
139e5aacbc
Add parameter handling and remove redundant comments
2025-08-03 16:14:50 +02:00
Lorenzo Torres
bc61191036
Added documentation/CONTRIBUTING
2025-08-02 16:28:36 +02:00
Lorenzo Torres
b6355b1df2
Fixed build.zig TODOS
2025-08-02 16:25:32 +02:00