feat(terrain): add fixed grid terrain tesselator#3404
Conversation
|
Is he goal mainly a faster tesselator? |
|
@ibgreen-openai It's not only speed, there is a warping problem in the texture that this seems to fix as well. See visgl/deck.gl#10250 (comment) Adding benchmarks now |
@ibgreen-openai i think its fast
|
|
I am exploring the martini tesselator after your feedback in more detail since it does a MUCH better job of smoothing the terrain mesh out. I will continue to explore this over the coming days and decide whether this addition code path is worth it for the speed. |
|
Good idea. |
visgl/deck.gl#10293 fixes this visgl/deck.gl#10294 Follows up on experiments to improve TerrainLayer loading Closing one as I take a more responsive LoD refinementStrategy and globe cache approach for improving GlobeView initialization and flyToTransition UX |

Goals
@loaders.gl/terrainTerrainLayera loader path that emits stable longitude/latitude/elevation meshesChanges
terrain.tesselator = 'grid'with configurableterrain.gridSizebuildGridMeshAttributesandmakeGridTerrainMesh@loaders.gl/terrainTerrainLoaderandmakeTerrainMeshFromImageTerrainLoadergrid usage and directmakeGridTerrainMesh()usageValidation
yarn lint fixyarn buildyarn test-node modules/terrain/test/terrain-loader.spec.jsyarn test-headless modules/terrain/test/terrain-loader.spec.jsNotes
TerrainLayer