Upload
-
View
641
Download
0
Embed Size (px)
Citation preview
Mesh Slice_1
양현찬
사랑스런 Lua 와 대면한지 4 개월…그동안 유니티의 폭풍성장…
큰 회사에 취직한 동기가 보여준 “ Mesh Slice”
Unity 를 켰으니 무라도 썰어야지
Mesh Slice 를 이용한 게임
역시 Asset Store
https://www.assetstore.unity3d.com/kr/#!/content/4169
Polygon – Plane 교차검사Polygon 자르기
단면 덮기 (triangularation)UV, Shader 설정
Polygon – Plane 교차검사Polygon 자르기
단면 덮기 (triangularation)UV, Shader 설정
Polygon – Plane Intersection매쉬의 모든 Polygon 을 순회한다
Polygon 의 변들을 순회하면서 Plane 과 교차검사
Line – Plane Intersection
평면 위의 점 P직선 위의 점 P
평행일치
충돌
(t == d)
If 0 < t && t < 1 then p 는 la 와 lb 사이
Polygon 자르기
If 0 < t && t < 1 then p 는 la 와 lb 사이
단면 덮기 (triangularation)
Canvex / Concave
공부중입니다…But 구글에서 꼼수를 발견