Skip to content

yanagiragi/MeshCut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MeshCut

使用 Unity 的簡易的模型切割

  • 基本原理為對所有的 Mesh 裡面的三角形做 Triangle Plane Intersection, 然後把 intersection point 填補起來

  • 填補的方法目前是使用全部 intersection point 連接中心點

    • BLINDED-AM-ME 裡面的方法一效果比較好,尚未實作

      • 他的作法把所有 intersection point 鄰近的 edge 都塞到 array 裡面,為鄰近三個點組成一個三角形,然後把生成三角形的新 edge 放到 array 裡面繼續做直到 array 為空。每次會消掉兩個edge但是產生新的edge。
  • 目前實作的方法為 loop mesh in subMesh, 因為我把切割面存成另一個 SubMesh,所以想要重複切割一個模型多次會有點問題

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages