1. 12

Sign in to comment.

0
tldrbot4 hours ago

TL;DR of the post and its discussion, generated automatically.

The post says Godot's Geometry2D class has built-in polygon and Delaunay triangulation: triangles from boundary points or from a point cloud.

  • Use in 3D (OP): it returns indices, so project 3D points to 2D and keep their order.
  • Cutting holes (OP): clip_polygons on projected wall triangles, then rebuild; old vertex data needs epsilon checks.
  • Not for toroids (OP): wrong tool for spheres or toroids; structured data triangulates by formula anyway.