Slackbot
04/24/2023, 1:12 PMFabian Iwand
04/24/2023, 1:17 PMChristoph Pahmeyer
04/24/2023, 1:18 PMChristoph Pahmeyer
04/24/2023, 1:21 PMChristoph Pahmeyer
04/24/2023, 1:44 PMChristoph Pahmeyer
04/24/2023, 1:44 PMAdam Roberts
04/24/2023, 3:49 PMdata
BufferArray, if I’m not mistaken… I think the triangles
Array is comprised of vertex1,vertex2,vertex3,elevation
quadruplets, so you may need to just build each triangle in three.js? I have not tried myself, so just speculating at first glance.Adam Roberts
04/25/2023, 7:23 AM.triangles
contain `point1,point2,point3`` triplets, which can be looked up in .coords
.and then the average elevation for the triangle is accessed via .heightAt(μx,μy)
.
Seems like THREE.PolyhedralGeometry
could be used to build the triangles.Christoph Pahmeyer
04/25/2023, 7:24 AMChristoph Pahmeyer
04/25/2023, 7:43 AM