Commit graph

30 commits

Author SHA1 Message Date
Lorenzo Torres
330d9b7711 Migrated to the new std.ArrayList implementation 2025-08-18 23:43:10 +02:00
Lorenzo Torres
74bf3f7ac3 Changed terrain texture UVs 2025-08-14 23:35:56 +02:00
Lorenzo Torres
9fdd47ea6e Implemented terrain texturing 2025-08-14 22:53:53 +02:00
Lorenzo Torres
c0b8d021d4 Implemented simple terrain generation 2025-08-13 21:16:42 +02:00
luccie
3b8ea60141 [MODS/VM]: Get calls to deinit working and call deinit on sideros_cleanup 2025-08-11 23:07:52 +02:00
luccie
120da3e3cd [MAIN]: Rewrote init_mods to load tar archives and run main.wasm 2025-08-11 18:36:00 +02:00
Lorenzo Torres
444a4586ea Implemented depth buffering 2025-08-10 14:40:23 +02:00
Lorenzo Torres
09799eaa9b Testing multiple transformations 2025-08-09 20:55:53 +02:00
Lorenzo Torres
d010954abb Rransforms are all sent to the gpu with one buffer 2025-08-09 18:51:11 +02:00
Lorenzo Torres
9a5ffc70a5 Implemented dynamic storage buffers 2025-08-09 18:33:26 +02:00
Lorenzo Torres
5f07c593b3 Correctly renamed texture samplers 2025-08-09 15:17:26 +02:00
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
luccie-cmd
8282a299b1 Rename preinit to init and add more instructions 2025-08-06 18:51:48 +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
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
Lorenzo Torres
6b948f6718 Implemented transformations 2025-08-06 15:32:32 +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
f894fb317d Implemented wayland initialization code 2025-08-03 23:23:03 +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
7cf43ccb8b glTF models now take buffer lengths at runtime 2025-03-24 19:49:49 +01:00
Lorenzo Torres
56559a9386 implemented glTF loading 2025-03-24 19:40:35 +01:00
luccie-cmd
bbe9213573 Added block instruction in WASM VM
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-21 22:49:37 +01:00
Lorenzo Torres
7ce5902ec9 preliminary work on ecs 2025-03-20 23:40:20 +01:00
Lorenzo Torres
c805dbe1a0 removed binary files from repository 2025-03-16 17:30:16 +01:00
Lorenzo Torres
4f45899a3c base code 2025-03-12 19:56:19 +01:00