You are browsing as a guest. Sign up (or log in) to start making projects!

2h 54m 18s logged

Devlog 07

Chunk Rendering added!

I added a lot of things since last devlog. I Encapsulated the textures, organized project structure and started working on the chunk logic.

I really do not like the result, it is not optimized but the goal was to see something on the screen fast. I added a block interfacee with the chunk. But i used a lot of pointers and i might be in danger if i not refactor this later or take really care with malloc.

I plan to refactor and optimize the logic (faces between solid blocks still being rendered) and i really wonder how i shall add the texture mapping to this.

I also had a hard time debugging this because buffer underflows were being caused by premature optimization (yall can even see in the src/core/chunk.c the comment). I used Gemini to debug the logic, but i plan to refactor and using AI makes me kidna sad even for debugging

0
18

Comments 0

No comments yet. Be the first!