62 Commits

Author SHA1 Message Date
IntegratedQuantum
909e9fe0ef Attempt at voronoi tiles. 2022-12-10 16:42:56 +01:00
IntegratedQuantum
a1dcfd6ebf Unfinished stuff. 2022-12-09 20:28:15 +01:00
IntegratedQuantum
48cfbc5c20 Finish the log/log-top texturing, and add stone and soil textures. 2022-12-06 19:19:17 +01:00
IntegratedQuantum
6ef8c3c853 Remove texture support.
And some other cleanup after the latest change.
2022-12-05 18:46:35 +01:00
IntegratedQuantum
f5aa702af7 Fix till++'s problems. 2022-12-05 17:51:02 +01:00
IntegratedQuantum
ade1f0b1c0 Procedural textures. 2022-12-05 16:45:39 +01:00
IntegratedQuantum
bcb8747dc1 Sort the chunks to reduce overdraw. 2022-12-03 10:31:19 +01:00
IntegratedQuantum
3bc3fa8620 Settings loading and storing (using fancy comptime reflection). 2022-11-27 20:19:49 +01:00
IntegratedQuantum
0d6303f7de Move all chunk data into single SSBO.
Right now this doesn't change much, but in the future this will be helpful when(if?) I get started with multidraw and putting stuff like frustum culling onto the gpu.
2022-11-26 20:45:47 +01:00
IntegratedQuantum
a777449a7c Add the model I used in my video. 2022-11-26 15:42:13 +01:00
IntegratedQuantum
df36109ee5 Add the player inventory(no gui yet), fix compile errors from last commit and fix a data race. 2022-11-22 15:46:04 +01:00
IntegratedQuantum
0f0b0b6ac4 Start working on items. 2022-11-19 19:22:49 +01:00
IntegratedQuantum
b3ea5d517c Switch to SIMD vectors.
SIMD vectors are probably faster and support operators.
2022-11-11 12:11:49 +01:00
IntegratedQuantum
cbf784d1e9 Fix crash on close. 2022-11-10 19:54:16 +01:00
IntegratedQuantum
28cb01353a Optimize the hitbox of voxel models. 2022-11-10 16:28:30 +01:00
IntegratedQuantum
3415f36b05 Add support for voxel models using parallax raymarching. 2022-11-05 20:17:51 +01:00
IntegratedQuantum
3edb05e61a Add work around to #12215 to the network thread and some further optimizations. 2022-11-01 11:59:22 +01:00
IntegratedQuantum
d4e9fa2c44 Add block selection. 2022-10-25 18:24:08 +02:00
IntegratedQuantum
2b561a0154 Update to new zig version 2022-10-19 15:20:09 +02:00
IntegratedQuantum
7d70bca35c Add bloom. 2022-10-18 18:56:02 +02:00
IntegratedQuantum
a04fc3369d Get block updates from the server and update the mesh. 2022-10-17 20:30:57 +02:00
IntegratedQuantum
cd5c466bc8 Remove unnecessary framebuffer binding. 2022-10-14 22:33:16 +02:00
IntegratedQuantum
55fa0064b9 Create the logs folder. 2022-10-14 20:36:24 +02:00
IntegratedQuantum
0c32d76a4a Make it compile on windows and remove -gdwarf-4 (a workaround to an old zig compiler issue). 2022-10-14 20:08:00 +02:00
IntegratedQuantum
3aed075a88 Refactor: Use @truncate 2022-10-13 19:04:56 +02:00
IntegratedQuantum
90a77ebf17 Add the genericUpdate Protocol. 2022-10-11 11:15:32 +02:00
IntegratedQuantum
1c76c5a174 Refactor network.Protocols so it works with auto-complete from zls. 2022-10-10 18:57:02 +02:00
IntegratedQuantum
cb5135da6e Add temporary entity rendering(it's a green rect) and receive entity data from the network. 2022-10-10 10:44:26 +02:00
IntegratedQuantum
d0d4b624c1 Start working on the client-side entity code. 2022-10-09 10:29:18 +02:00
IntegratedQuantum
6a5ea7f1d9 Make tsan happy. 2022-10-06 17:52:17 +02:00
IntegratedQuantum
bb2786c36f Better chunk load order, and better loading priority. 2022-10-04 16:40:42 +02:00
IntegratedQuantum
aa3a769dbe Fix directional bias when determining what chunks are within renderdistance. 2022-10-04 14:07:37 +02:00
IntegratedQuantum
3734aa60af Display blocks behind transparent blocks. 2022-10-02 19:12:21 +02:00
IntegratedQuantum
4af1cfdc4a Remove some leftover code from before merging ReducedChunks and NormalChunks. 2022-10-01 17:10:22 +02:00
IntegratedQuantum
9a2085f0da Fix wrong textures at chunk borders. 2022-10-01 17:00:46 +02:00
IntegratedQuantum
26f4dd2ff2 Fix chunk meshes at lod borders. 2022-10-01 16:46:58 +02:00
IntegratedQuantum
219957681d Change the way how faces are handled (they are now stored in the chunk they are facing towards, instead of the chunk where the actual block is in). 2022-10-01 11:41:23 +02:00
IntegratedQuantum
e8e1fb401c Forgot to commit shader changes. 2022-09-29 13:10:11 +02:00
IntegratedQuantum
dbc416332a Add Mesh creation for voxelSize=1 chunks. My goal is to combine all meshes in one algorithm to simplify things from the java version. 2022-09-29 12:15:47 +02:00
IntegratedQuantum
76b9b118a1 Store chunks in an array instead of an octree. 2022-09-24 17:41:26 +02:00
IntegratedQuantum
95eb578719 Work on daylight and directional light. 2022-09-20 13:58:13 +02:00
IntegratedQuantum
acceb26a36 Update to newest zig version. 2022-09-19 12:29:33 +02:00
IntegratedQuantum
0883f75f95 Send the player position to the server. 2022-09-18 10:23:27 +02:00
IntegratedQuantum
c742b5ed74 Add movement and camera rotation. 2022-09-17 10:50:24 +02:00
IntegratedQuantum
d532848262 Fix some bugs, remove some debug output. 2022-09-15 20:30:55 +02:00
IntegratedQuantum
faa018093f Add Frustum Culling. 2022-09-15 13:04:13 +02:00
IntegratedQuantum
e6659675b2 Add the chunk data structure for rendering and render chunks received from the network. 2022-09-14 22:09:26 +02:00
IntegratedQuantum
307044a4ed Add the ThreadPool. 2022-09-12 10:25:04 +02:00
IntegratedQuantum
0e90e2b4e6 Add some more protocols and fix some stuff. 2022-09-11 19:36:48 +02:00
IntegratedQuantum
055ccf88d3 Add the client-side of the handshake. 2022-09-11 16:45:34 +02:00