intersecting meshes results to mesh with wholes

梦想的初衷 提交于 2021-01-28 06:22:36

问题


I am using THREE and I am trying to intersect a box mesh with a custom geometry I am creating and converting it to geometry using :

const g = new THREE.Geometry().fromBufferGeometry(shape3d)

I aim to add faces to the custom geometry, that is why I do that. So I expect to get back from the intersection my custom geometry + polygons that the box has.

I get that indeed, though I get also some holes as you can see in the below image :

I used many csg versions that are out there, the manthrax one, the ThreeCSG etc but no luck!

thank you


回答1:


I suggest you set bevelEnabled:false to your mesh extrusion, because I am psychic and I can see your code in my head. :D



来源:https://stackoverflow.com/questions/65008938/intersecting-meshes-results-to-mesh-with-wholes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!