Nyx

Voxel Terrain on the GPU


  • Voxel-based terrain allows 3D features such as caves and overhangs, as well as avoiding detail loss on sheer slopes associated with heightmap-based terrain.
  • GPU-based marching cubes implementation, loosely based on this article from GPU Gems 3. No source code from the GPU Gems article was used in this implementation.
  • World generation on-demand in real time. No loading necessary. Block generation is throttled to maintain a consistent frame rate at all times.
  • Octree-based level of detail with blending based on this paper.