How to generate it something like that:
“faces”: [1,0,2,0,1,3,2,4,1,4,2,5,5,6,4,6,5,7,7,8,6,8,7,9,11,10,12,10,11,13,14,11,12,13,15…]
I use Three.js Editor export json file
“faces”: [40,1,0,2,0,1,2,0,1,2,40,1,3,0,0,3,1,0,3,1,40,4,3,1,4,3,0,4,3,0,40,3,5,…]use it THREE.ObjectLoader class,vertex index do not match the original faces, seems the faces are not composed of the correct vertices.
Thanks!