1 前言

  • CSG是一个C++开源库,用于3D网格的布尔运算
  • 使用这个库的最初目的不是为了建模,而是为了投机取巧实现网格模型的切割操作,但在使用过程中发现这个库对复杂模型的兼容性极差,刚开始就报错。故想用来记录一下自己的处理过程。(尝试解决中)
    CSG网格布尔运算 笔记

2 报错调试

2.1 错误1

  • Array index is out of range –>数组越界
    IndexOutOfRangeException: Array index is out of range. Parabox.CSG.CSG_Model..ctor (UnityEngine.GameObject go) (at Assets/pb_CSG-master/CSG/Classes/CSG_Model.cs:38) Parabox.CSG.CSG.Subtract (UnityEngine.GameObject lhs, UnityEngine.GameObject rhs) (at Assets/pb_CSG-master/CSG/CSG.cs:203) Intersection.S () (at Assets/Intersection.cs:31) Intersection.Update () (at Assets/Intersection.cs:23)

相关文章:

  • 2021-11-26
  • 2021-08-05
  • 2021-08-02
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
猜你喜欢
  • 2022-01-19
  • 2021-05-20
  • 2021-10-02
  • 2021-07-21
  • 2022-12-23
  • 2021-09-20
相关资源
相似解决方案