how could connect 2 triangles? I want final figure to be one triangle mesh with depth(
volumetric figure)
for now i just draw 2 triangles with different Z position and then combine 'em by BufferGeometryUtils.mergeBufferGeometries()
This is the usual method for merging two (arbitrary) geometries. If you want to create a 3D geometry from a 2D shape, like a triangular prism here, I’d suggest THREE.ExtrudeGeometry.
1 Like
but i then need to place it on the curve. And don’t understand how can extruded geometry help me, cuz it uses 2d points
Just a rough example with ExtrudeGeometry: https://jsfiddle.net/prisoner849/sn12eybL/
1 Like