Commit Graph

7 Commits (9f7a081dd409e703dff6bb9318cef99cb297b5f3)

Author SHA1 Message Date
Marc Gilleron ebc6be35d1 Implement LOD transitions in VoxelLodTerrain
- VoxelBlock contains 6 optional transition meshes
- VoxelLodTerrain calculates transition masks when block visibility changes
- VoxelMesher can now specify different min and max paddings
- Fix Cube::SIDE_POSITIVE/NEGATIVE_X/Y/Z enum not matching Cube::g_side_normals
- Convert transition masks to make up for the Cube:: inconsistency for now
2019-12-31 16:48:46 +00:00
Marc Gilleron d0ab02a397 Fix UVs, change tables to use OpenGL convention... 2018-10-05 23:51:55 +01:00
Marc Gilleron da0a1a058c Moved side, edge and corner enums to cube tables, and renamed CubeTables to Cube 2018-09-30 19:38:02 +01:00
Marc Gilleron 8ffa7110c8 Optimize mesher: access channel directly and remove some push_backs 2018-09-30 01:55:09 +01:00
Marc Gilleron 085f94579a Use named constant 2018-09-25 00:53:12 +01:00
Marc Gilleron aa4d04d1a0 Moved moore neighboring to cube tables 2017-08-20 15:37:07 +02:00
Marc Gilleron cb6de49b96 Got rid of SurfaceTool in the cubic mesher, moved cube tables in their own file, tweaked their winding 2017-08-19 21:10:31 +02:00