starandserpent / java-TerraServer

Terra - Voxel octree of chunks, made for Rituals of the old
MIT License
17 stars 2 forks source link

Use OpenGL occlusion queries #1

Open bensku opened 7 years ago

bensku commented 7 years ago

This seems to be at least usable method to implement fine culling. Doesn't remove need for crude culling CPU side, though.

bensku commented 7 years ago

Queries are used, but generated meshes seem to have small faults which make them not very effective.

bensku commented 6 years ago

Meshes are better, but either not good enough or I use queries in a wrong way. Then again, with some general improvements I did, GPU level culling is not needed at the moment. Later it would be helpful, of course.

bensku commented 6 years ago

Occlusion queries seem to not be absolutely necessary. Tagging off from first version.