Hacker News new | ask | show | jobs
by eddd-ddde 905 days ago
Would you happen to have a sample / example of this technique? I'd like to explore it.
1 comments

It's just normal old raycasting through a voxel grid a la Amanatides and Woo: http://www.cse.yorku.ca/~amana/research/grid.pdf https://github.com/cgyurgyik/fast-voxel-traversal-algorithm/...

Casting the rays from the camera will be nice and coherent, plus you probably get much better and easier shadowing using ray casts compared to shadow maps.

How does it handle dynamic scenes? The work by the OP looked like it took an update to the VAO/VBO if the chunk changed. What's the cost of rebuilding the acceleration structure here if the scene is updated?