Create Road based on Array of Vector3

Hi,

I have an array of different 3D vertices (Vector3). Array length 5000 aprox.

I would like to create a road using the different coordinates that I have on this array. Which is the best way to do it? Any advice so I can look for it?

thanks a lot!

Create a path from your vertices and extrude the road profile along the path?

https://threejs.org/docs/#api/en/geometries/ExtrudeGeometry

https://threejs.org/examples/?q=extrude#webgl_geometry_extrude_shapes

Do you know that?

see also GitHub - hofk/threejsResources: Resources for three.js

1 Like