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

DoonEngine

> 编程语言
Open source

a voxel path-tracer

197 stars0 likes1 views
WebsiteGitHub

About

a voxel path-tracer

DoonEngine

DoonEngine is a voxel path tracing engine that calculates lighting per-voxel instead of per-pixel. It allows for dynamic streaming of voxels from the CPU and fast edits to the map. It is being developed only by one person and is still a work-in-progress, so don't expect too much polish.

Overview

The voxels are separated into 8x8x8 chunks, which allows for faster dynamic editing as only a portion of the map needs to be reuploaded when it is edited. Additionally, empty chunks are able to be skipped over when ray casting. When drawing the map, each chunk that is visible to the camera is added to a buffer. Each chunk in this buffer then has its lighting updated, allowing for per-voxel lighting. The diffuse lighting is pure path-traced and accumulates over many frames. The direct light and specular component, however, are calculated by shooting a fixed number of uniformly-spaced rays so that they can be updated instantly as the camera moves and the map is edited.

Build

This project can be built using either CMake or Make. Nominally, CMake should be used with Visual Studio on Windows, and Make should be used on Linux. This project depends on OpenGL, GLFW, and stb_image.

CMake on Windows

To build this project on Windows, run CMakeLists.txt using CMake. The working directory should be set to the assets folder. If there is an issue with the CMake build, please let me know as I am new to the software.

Make on Linux

To build this project on Linux, simply run make. The built executable will be located at build/doonengine. To run it, first navigate to the assets directory, then run ../build/doonengine.

Development Videos

https://www.youtube.com/watch?v=OAF4RCS_pPc

https://www.youtube.com/watch?v=T0hunImo9Hs

https://www.youtube.com/watch?v=ePOooVJizc8

https://www.youtube.com/watch?v=Saq4GRS5iyI

https://www.youtube.com/watch?v=XH950nLKghE

Screenshots

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cgraphicsopenglvoxel

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言