Merge coplanar adjacent right triangles whose texture coordinates are canonical
Fast small FPS using JOGL and JOAL
Status: Alpha
Brought to you by:
gouessej
Some parts of walls use the same pattern of texture repetition and look like a chessboard or a draughtboard, especially in indoor environments on the floor. This feature consists in merging the coplanar adjacent right triangles whose texture coordinates are canonical within each mesh and use OpenGL repeat mode (with texture coordinates greater than 1) to render them faster. This optimization will drive the geometry of the very first level 100 times smaller.
Please find below an example of a manually optimized mesh:
This feature has been implemented here but some unit tests still fail, half of the feature is correctly working.
This feature is almost fully working since the commit 1400.