Skip to content

tacf/cpu-voxel-raytracer-raylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Amanatides-Woo 3D DDA CPU Based Algorithm

Simple example of using CPU to implement Fast Voxel 3D raytrace rendering using Amanatides-Woo 3D DDA algorithm. Raylib is used to display the calculated texture representing the result.

This is mainly for learning purposes, hence the direct use of CPU instead of more complex and efficient GPU usage.

Screenshot of resulting view

Running

Project uses CMake, so the standard commands are available.

There are also run.sh and run.bat to quickly run the example code.

Inspired by: This Tiny Algorithm Can Render BILLIONS of Voxels in Real Time (Youtube)

About

Simple example of Amanatides-Woo 3D DDA CPU based Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors