Thank you for welcoming me and for the quick reply.
Yes, it’s a bit different from a
Torus in that it’s a 2D / flat planar shape, rather than a 3D donut shape. Unless there’s a property of
Torus in Babylon that I’m missing that could achieve this without overlapping faces.
It’s somewhat similar to
Disc but with an
innerRadius for the hole (although the geometry is different from a
This allows to easily create polygons with holes in them by adjusting the
thetaSegments for the number of sides and
phiSegments for more complex inner geometry.
I’ve found it to be very useful in
Three.js, so just thought it might be worth a mention here as I think it would add some benefit to Babylon as well.
Thanks so much for entertaining the idea.