How to draw a surface from xyz coordinates

I’m looking at this thread, do you think it’s still up to date?

I’m trying to understand the code, starting from thwt faceIndices are in a BufferGeometry…