I just try to build a mesh that pass through some given points, says 900 vector3. But I got something like many pieces as below.

The PlayGround is Ribbon Examples | Babylon.js Playground (babylonjs.com)

Any expert can give some clues? Thanks

I just try to build a mesh that pass through some given points, says 900 vector3. But I got something like many pieces as below.

The PlayGround is Ribbon Examples | Babylon.js Playground (babylonjs.com)

Any expert can give some clues? Thanks

This is a Convex Hull problem, I recommend checking some algorithm lessons on it, like: cg-hull3d.pdf (bowdoin.edu), Efficient 3D Convex Hull Tutorial - Codeforces

I have one implementation of that in this repo if you’d like to check it: carolhmj/quickhull-3d: Implementation and visualization of the Quickhull 3D algorithm for the Computational Geometry discipline (github.com)

Are you sure about the geometry you’re expecting ?

1 Like

it looks there’s only one path in your geometry… is it expected ?

1 Like

just back quickly to help hypothetically about ribbons

2 Likes