If I try to use a Maya deforming curve on my asset, inside Maya off course, to generate a surface (polywire) and scatter points I have those points jittering even if I create the rest position with a attribute interpolate or wire deform, any tips on how to fix it?
Thanks.
Scatter in Maya
3799 3 1- mzigaib
- Member
- 968 posts
- Joined: April 2008
- Offline
- mzigaib
- Member
- 968 posts
- Joined: April 2008
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
Using Attribute Interpolate would be the right approach. But there are two things that you need to watch out for.
1. Getting the correct rest geometry. In Houdini, this is commonly done by using a timeshift node to get the geometry from the first frame. However, this doesn't work through Houdini Engine. Whenever Houdini Engine cooks, it only sees one snapshot of the Maya world. So time nodes cannot be used to get Maya geometry from an arbitrary frame. To workaround that, use a second input to pass in the rest geometry. This also means that you have to mesh the two input curves separately.
2. Geometry from PolyWire is not exactly stable. When the curve is deforming, the resulting geometry looks smooth and continuous. But if you look at the prim number, the prim number actually rearranges randomly. This break the interpolation workflow. So instead of using PolyWire, use Sweep with a circle.
See the attached scene and asset for an example. Hope this helps!
1. Getting the correct rest geometry. In Houdini, this is commonly done by using a timeshift node to get the geometry from the first frame. However, this doesn't work through Houdini Engine. Whenever Houdini Engine cooks, it only sees one snapshot of the Maya world. So time nodes cannot be used to get Maya geometry from an arbitrary frame. To workaround that, use a second input to pass in the rest geometry. This also means that you have to mesh the two input curves separately.
2. Geometry from PolyWire is not exactly stable. When the curve is deforming, the resulting geometry looks smooth and continuous. But if you look at the prim number, the prim number actually rearranges randomly. This break the interpolation workflow. So instead of using PolyWire, use Sweep with a circle.
See the attached scene and asset for an example. Hope this helps!
Edited by awong - Sept. 16, 2016 10:27:40
Andrew / アンドリュー
- mzigaib
- Member
- 968 posts
- Joined: April 2008
- Offline
-
- Quick Links