3 ms·
Would you happen to have a sample / example of this technique? I'd like to explore it.
by eddd-ddde 3y ago
Would you happen to have a sample / example of this technique? I'd like to explore it.
- pixelpoet 3y agoIt's just normal old raycasting through a voxel grid a la Amanatides and Woo: http://www.cse.yorku.ca/~amana/research/grid.pdf http://www.cse.yorku.ca/~amana/research/grid.pdf https://github.com/cgyurgyik/fast-voxel-traversal-algorithm/blob/master/overview/FastVoxelTraversalOverview.md 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.
- amoss 3y agoHow 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?