Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 THREE,我正在尝试将一个盒子网格与我正在创建的自定义几何图形相交并将其转换为几何图形:
const g = new THREE.Geometry().fromBufferGeometry(shape3d)
我的目标是为自定义几何图形添加面,这就是我这样做的原因。所以我希望从我的自定义几何图形+盒子的多边形的交叉点回来。
我确实明白了,尽管我也有一些漏洞,如下图所示:
我使用了许多现有的 csg 版本,manthrax 版本,ThreeCSG 等,但没有运气!
谢谢你
我建议您将 bevelEnabled:false 设置为您的网格挤出,因为我是通灵者,我可以在脑海中看到您的代码。:D