Unexpected lines with enableEdgesRendering on ExtrudeShape

Hi,

There is some lines visible inside the base polygon shape. According to the docs, it should appear only when angles between adjacent faces falls below a threshold.
Captura de tela de 2022-10-27 22-01-30

edges rendering

Edit: Successfully used BABYLON.MeshBuilder.ExtrudePolygon(…) to build this shape as intended.

BABYLON.PolygonMeshBuilder(…) … build() or BABYLON.CreatePolygon(…) showed some glitch (i.e. missing faces).

Thanks.

Welcome aboard!

Glad you found a way to do it. Maybe PolygonMeshBuilder / CreatePolygon are creating some hidden faces that make the edge renderer fail…

1 Like