I design my geometry in 3d tool by sketchup.
So I am able to know all the vertices and indicesOfFaces in anticlockwise.
const vertices =[-55,30,4, -55,30,-4, -31,-2.7,-11, -18,-6,-15, 22,-6,-15, 62,6,-5, 62,6,5, 22,6,-15, -18,-6,15, -31,-2.7,11, -55,30,4]
const indicesOfFaces = [0,1,2, 0,2,9, 9,2,3, 9,3,8, 8,3,4, 8,4,7, 7,4,5, 7,5,6,
18,10,11, 18,11,17, 17,11,12, 17,12,16, 16,12,13, 16,13,15, 13,14,15,]
var hbody = new THREE.PolyhedronGeometry(vertices, indicesOfFaces, 1, 0);
I can’t get the geometry(the geometry is so strange), here radius is 1, but I don’t know how to set this, because not all the verticies on the sphere.
Is there any better solution to create my geometry?
I am the new one.
Thanks.