【问题标题】:In three.js library, how convert face4 into two face3 not overlapping triangles?在three.js 库中,如何将face4 转换为两个face3 不重叠的三角形?
【发布时间】:2015-02-24 10:59:44
【问题描述】:

我有一个face4(四面体),我需要得到两个face3(三角形面)而不重叠。

【问题讨论】:

  • 只想说清楚,face4已经removed

标签: three.js geometry


【解决方案1】:

具有顶点 a、b、c、d 的 face4 等价于两个 face3。一个具有顶点 a、b、c,另一个具有顶点 a、c、d。

【讨论】:

    【解决方案2】:

    有一个实用程序可以为您对四边形进行三角测量:

    THREE.GeometryUtils.triangulateQuads( geometry );
    

    编辑:此方法不再存在。

    three.js r.70

    【讨论】:

      猜你喜欢
      • 2013-05-06
      • 2013-07-21
      • 2011-03-29
      • 2022-11-19
      • 2021-03-16
      • 1970-01-01
      • 2019-09-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多