Remove triangles of adjacent cubes which are not visible #475
Labels
cat:enhancement
enhancement/requested feature/update of existing features
feat:octree
octree, cube computations
Is your feature request related to a problem?
We currently keep the triangles which are not visible because of adjacent cubes. If two cubes of type
CubeType::SOLID
are adjacent to each other, 2 * 2 = 4 triangles are never visible, but they are still being stored in the vertex buffer.Description
We must remove those vertices which are never visible.
Alternatives
Keep the triangles, even if they are not visible, reducing rendering performance.
Affected Code
The octree code
Operating System
All operating systems
The text was updated successfully, but these errors were encountered: