Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

fast-voxel-traversal-algorithm

> DevOps
Open source

A C++ implementation of the fast voxel traversal algorithm.

199 stars0 likes1 views
WebsiteGitHub

About

A C++ implementation of the fast voxel traversal algorithm.

About

A prototype for the implementation of Amanatides & Woo's "A Fast Voxel Traversal Algorithm" in C++. Note, this has not been tested, and is not guaranteed to be bug-free. An overview of the algorithm can be found here.

Notes

  • Instead of using double or float, I've decided to use value_type which can be set to a user-specified type in Vec3.h.
  • An optional enhancement that can be done is calculating the ray's inverse direction upon construction of the ray. This will ensure inverse direction is calculated only once per ray.

References

  • "Amanatides & Woo "A Fast Voxel Traversal Algorithm"
  • Williams, Barrus, et. al "An Efficient and Robust Ray–Box Intersection Algorithm"

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++amanatides-woocartesian-coordinatescppfast-voxel-traversal

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理