top of page
Search

3D DDA Voxel Raytracer on GPU

  • Writer: Breck Massey
    Breck Massey
  • May 28, 2023
  • 1 min read

During my journey to create a voxel game I decided to use the DDA algorithm to render voxels. This is a form of raycasting (very similar to raytracing). I made a prototype of this algorithm in Processing JavaScript. This program ran extremely slow at a very low resolution and low rendering distance. This new version runs on the GPU letting the program run very fast. I can run the program at 30 fps with the resolution of 960x540 with a 100 block rendering distance. I have a built in graphics card and if the program was optimized it could probably render more blocks.


Check It Out Here:


Komentarze


bottom of page