Day-188 Project: Voxel-game
regions, chunks, everything is saving, and correctly too
i was using a pointer after free, which made some problems, and took days to fine...
some images of failures below
planned: terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
2
2
30
Day-184 Project: Voxel-game
having some problems with saving and loading of chunks, and each chunk being separate is vary bad for my file system, so ill be doing that next
planned: more advanced world save/load, terrain
#buildinpublic #100DaysOfCode #cpp #gamedev
9
Day-172 Project: Voxel-game
added gravity to entities
added entity graphics(kinda)
created the first entity/robot/worker/bot
New Video: youtu.be/B_6uqpLZOVM?si=Bk1Z…
next: chunk remeshing, world save/load, terrain?
#buildinpublic #100DaysOfCode #cpp #gamedev
11
Day-169 Project: Voxel-game
block placing and breaking works now, but...
chunk remeshing isnt implemented, so no graphic updates
i did connect Key::R to remesh everything just to see the changes(image below)
next: chunks
#buildinpublic #100DaysOfCode #cpp #gamedev
1
46
Day-164 Project: Voxel-game
vertices are 12 bytes now,
there are 2 levels of chunks, LV0 which dont have greedy meshing and LV1 which has greedy meshing,
added texture atlesing, which had a bug for 2 hours...
image is 50x50 LV1 chunks at 150FPS
#100DaysOfCode #lowlevel #cpp
32
Day-163 Project: Voxel-game
tried to make block rendering faster
separated chunk meshes into 6, one for each face direction
shrank 32byte*6 per face data, into 8 bytes
implemented multi draw calls in my API
results: 200FPS -> 20FPS
vram: 3.7GB -> 214MB
#100DaysOfCode #lowlevel
16
Day-162 Project: Voxel-game
chunks now know about there neighbors,
mesh generation, while still temparary, accounts for neighbors,
working on a world manager that manages chunks, and how im going to handle meshes and rendering
#buildinpublic #100DaysOfCode #lowlevel #cpp
14
Day-161 Project: Voxel-game
working on chunks
first design doenst know its neighbors, and isnt optimized for rendering at all, also no chunk manager for loading/save/generating or anything, meaning its all manual
im working on the new design
#100DaysOfCode #lowlevel #cpp
18
D159 Prj: Voxel-game
started working on voxel renderer (vary new, i know)
the image is 100x100x100 cubes with no face culling
(36,000,000 vertices) at 200~300FPS, ill use this as i standard for now.
the game is a programming colony sim of sorts
#100DaysOfCode #lowlevel #cpp
7
Day-147 Project: LearningVulkan
BufferObject implemented,
supports Vertex and Index for now.
rendering now works, buffers can be bound for later draw calls to use, same with shaders,
draw(indexBuffer) and draw(vertexBuffer) are valid draw calls.
#100DaysOfCode #lowlevel #cpp
26
Day-144 Project: Learning-Vulkan?
i got command pool finally
pipeline(s) are finally generating
but still no rendering yet
working on command buffers and commands next.
#buildinpublic #100DaysOfCode #lowlevel #cpp
1
25
Day-138 Project: Learning-Vulkan
depth buffers... yay...
this took a bit more then expected, but wasnt necessarily complex,
i think all of this is plenty for now,
and ill be honist, im tired of the mess.
#buildinpublic #100DaysOfCode #lowlevel #cpp
20
















