Media Summary: Not easy. I remember doing collisions for a 2d tile based game before and it was a breeze. I thought CPU Voxel Engine Micro DevLog - Adding Block Types Adding all faces, now just need to make sure internal faces won't render.
Cpu Voxel Engine Micro Devlog Demo - Detailed Analysis & Overview
Not easy. I remember doing collisions for a 2d tile based game before and it was a breeze. I thought CPU Voxel Engine Micro DevLog - Adding Block Types Adding all faces, now just need to make sure internal faces won't render. Added some code to be able to remove the block I am looking at more or less. Need to rewrite it properly. Anyone know of a good ... Temporary solution to placing and removing blocks. CPU Voxel Engine from Scratch - Collision Stress Test
200k triangles at 11 FPS. Need to discard internal faces and then we should be good. Basically using a 3D DDA algorithm to tell which block you are looking at. First version of my little project where I can actually demonstrate something visual. Here you can see a block of 8x8x8 voxels ...