start rewriting mesh code in zig

This commit is contained in:
catangent 2024-12-16 23:19:26 +00:00
parent 5a76cdcd13
commit 6f1eb16a30
14 changed files with 47357 additions and 40 deletions

13
todo.md Normal file
View file

@ -0,0 +1,13 @@
# current tasks
yoink implementation of mesh into meshes.zig so i could modify it to add ambient occlusion vars
implement ambient occlusion either
- via passing extra info to shader (can use 132 bits to indicate what tiles around the quad are obsuring light. need to pass as an extra variable)
implement animated textures by either
- making literally everything animated
- somehow passing extra info to shader
limit vertical camera rotations
update libraries like raylib
# future tasks
implement chunk meshing cache to reduce delay on block placement
investigate binary/SIMD meshing for performance