Menu

#23 Merge coplanar adjacent right triangles whose texture coordinates are canonical

1.0
accepted
RFE (45)
2021-02-27
2014-04-16
No

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:
manually optimized mesh

Discussion

  • Julien Gouesse

    Julien Gouesse - 2014-04-16
    • status: open --> accepted
     
  • Julien Gouesse

    Julien Gouesse - 2014-04-16
    • labels: --> RFE
     
  • Julien Gouesse

    Julien Gouesse - 2014-04-16

    This feature has been implemented here but some unit tests still fail, half of the feature is correctly working.

     
  • Julien Gouesse

    Julien Gouesse - 2021-02-27

    This feature is almost fully working since the commit 1400.

     

Log in to post a comment.