TransformPieceSOPを使ってVATを作成すると破片の初期位置がずれてしまう
2132 2 0- xopowoo
- Member
- 28 posts
- Joined: April 2016
- Offline
- MaiAo
- Staff
- 99 posts
- Joined: Feb. 2021
- Offline
Hey, Ken sent me this question. Hopefully google can translate my reply to something understandable.
The issue was the high res mesh contained zero-area degenerate primitives, which often happens after the initial fracture. While this does not cause visible issues inside Houdini, when imported into Unreal, the degenerate primitives are not recognized, which may have caused the mesh's vertex index to shift, therefore the UV channels to go crazy, and the overall mesh to look glitched out.
In this case, these bad primitives cannot be caught by Clean SOP or Unreal's Remove Degenerate mesh import checkbox. What you can do to fix it is shown here:
Unpack it (make sure unpacked version has @name). Triangulate (Avoid Small Angles on). Use Clean SOP to remove degenerates. Use Measure SOP to measure @area per piece by @name. Then blast primitives with tiny areas. Verify with Geometry Spreadsheet that you no longer have primitives with tiny areas. Pack it back by @name.
Result is in a video attached below. The edited HIP is also attached.
The issue was the high res mesh contained zero-area degenerate primitives, which often happens after the initial fracture. While this does not cause visible issues inside Houdini, when imported into Unreal, the degenerate primitives are not recognized, which may have caused the mesh's vertex index to shift, therefore the UV channels to go crazy, and the overall mesh to look glitched out.
In this case, these bad primitives cannot be caught by Clean SOP or Unreal's Remove Degenerate mesh import checkbox. What you can do to fix it is shown here:
Unpack it (make sure unpacked version has @name). Triangulate (Avoid Small Angles on). Use Clean SOP to remove degenerates. Use Measure SOP to measure @area per piece by @name. Then blast primitives with tiny areas. Verify with Geometry Spreadsheet that you no longer have primitives with tiny areas. Pack it back by @name.
Result is in a video attached below. The edited HIP is also attached.
Edited by MaiAo - Jan. 12, 2022 19:30:54
- xopowoo
- Member
- 28 posts
- Joined: April 2016
- Offline
-
- Quick Links