A developer details how they built a system to wrap procedurally generated 2D path meshes around arbitrary 3D mesh surfaces using geodesic walking algorithms. The process involves: generating intricate 2D paths with AABB tree-based collision detection, tessellating them into triangles using the Rust lyon crate, mapping vertices

13m read timeFrom cprimozic.net
Post cover image
Table of contents
Overview2D Path GenerationGeodesic PathsExtruding to 3DWeb Worker + Three.JS IntegrationInteractive DemoConclusion

Sort: