I have sets of [x,y,z] coordinate data, which forms one space.
e.g. (0,0,-3000),(1848,0,-3000),(1848,-5177,-3000),(0,-5177,-3000), (0,0,0),(1848,0,0),(1848,-5177,0),(0,-5177,0)
I would like to render the space coordinates using three.js. I'm trying to create a function which creates geometry object to render. However, it seems quite tricky to set vertices and faces.
Is there a simple way to render xyz coordinate to geometry in three.js?
Or is it possible to draw 2D shape(with x, z) and make it 3D(with z)? because for each geometries, it has even height as you see at the given coordinate example.