Project record1 mention
Originally shared on Hacker News
OpenGL voxel renderer with chunk-based world generation
This OpenGL voxel project renders large voxel scenes using a hashmap of chunks backed by a 3D array instead of the common octree approach, with initial single-threaded chunk generation; planned next steps use OpenGL compute shaders to generate world geometry on the GPU.
01 / Source history
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
OpenGL voxel renderer with chunk-based world generation
This OpenGL voxel project renders large voxel scenes using a hashmap of chunks backed by a 3D array instead of the common octree approach, with initial single-threaded chunk generation; planned next steps use OpenGL compute shaders to generate world geometry on the GPU.
Posted by @caramellow · Original source ↗
Source text · @caramellow · · Source ↗
However, a side project to all of this has been an OpenGL project where I'm working on things related to voxels! I did a lot of research on data structures like interval trees, octrees, segment trees, etc. It does seem that a lot of people jump for the octree approach, however I've been able to render a lot of voxels with just a hashmap of chunks and a 3d array haha (albeit, mostly initial implementation of chunk generation, single threaded at that!). With this I'm hoping to explore OpenGL compute as I intend of generating world geometry in compute shaders :D