paoletto / qdemviewer

Digital Elevation Model provisioner/ terrain map viewer in Qt / QML / OpenGL
Other
0 stars 0 forks source link

Coalesce Heightmaps into x2 or x4 megatiles #12

Open paoletto opened 2 months ago

paoletto commented 2 months ago

This would allow to render 4 or 16 times more triangles as draw calls would be reduced by the same amount and striding and viewport clipping would take care of the rest

Edit: rather perhaps use texture2DArrays here too, instead of megatiles, but neighboring would become pretty complex. Moreover, without sparse texture extension, larger virtual dem tiles at the edge of a selection would possibly take a lot more space