DEV Community

Alicia lu
Alicia lu

Posted on Originally published at digitalgarden.si AI-assisted

Why Adjacent Three.js Terrain Tiles Crack at Different LODs

Read the full English experiment and tables · 中文原文

Same browser view of a raw magenta seam and the closed stitched edge

Two tiles read the same Houdini heightfield, yet edges sampled every 2 and 8 world units interpolated different heights. The gap reached 0.06059 world units. Reindexing the fine edge to match the coarse tile’s 32 boundary segments brought the sampled gap to zero.

I ran 36 desktop trials in Three.js r187 across WebGL2 and WebGPU on an RTX 5070 Ti. The 6,480 browser frame intervals included 216 marked positions. The median at those positions was 16.7 ms in all six conditions. The scene had two warmed tiles. Cold creation, upload and GPU execution need separate measurements.

Reproduction kit · Frame data · Boundary data

By Alicia Lu, 3D technical artist, TA and independent developer. Codex assisted with the harness, data checks and writing.

Top comments (1)

Collapse
 
foundrybell profile image
Foundry Bell •

gap measured then zeroed