Three.js: how to punch multiple holes in a shape without distortions? -
i'm trying punch simple square holes in complex three.js shape :
var shape1 = new three.shape(shapecoordinates1); punchhole1 = new three.path(punchcoordinates1); punchhole2 = new three.path(punchcoordinates2); shape1.holes.push(punchhole1); shape1.holes.push(punchhole2);
etc.
because of irregular shape, vertex coordinates overlap punched holes, goes terribly wrong when punching out multiple holes, :
this should solid outlined shape around 30 small square holes punched out of it, not huge diagonal white spaces in middle .
is there way in three.js prevent behaviour ?
Comments
Post a Comment