Constraining a prim to an animated surface?

   2050   4   2
User Avatar
Member
250 posts
Joined: 10月 2014
オフライン
I have an animated (deforming) alembic file, and I want to snap a Xform to a vertex on the surface and have it track with with the deforming geo. I haven't gotten into this side of Houdini/Solaris yet so I was curious how this is done. (In Katana I would have created a facese, which defines a child prim of the mesh, given it the index of the face/vert I wanted to stick to, and then constrained my item to that faceset prim).

It's not clear to me how to achieve a similar constraint in Solaris. Any pointers?
Edited by Tim Crowson - 2020年12月17日 20:19:10
- Tim Crowson
Technical/CG Supervisor
User Avatar
スタッフ
4259 posts
Joined: 9月 2007
オフライン
The Surface Constraint LOP should work for that; in Point Group mode you can give it a point index, and it'll use that.
I'm o.d.d.
User Avatar
Member
250 posts
Joined: 10月 2014
オフライン
Thanks, I was trying that but didn't fully understand the point group mode. How can I find/see/identify vert indices? Is there a way I can select them directly in the viewport? Haven't quite gotten the hang of this yet.
- Tim Crowson
Technical/CG Supervisor
User Avatar
スタッフ
4259 posts
Joined: 9月 2007
オフライン
There's actually a Point Constraint LOP, with a tool that puts the target prim into a sop state, so you can select points (see the gif). The Surface Constraint can do a similar thing, to let you select Prim+UV or UV positions, but Point Constraint is simple enough too.

Attachments:
screencast-2020-12-19-165226.gif (694.9 KB)

I'm o.d.d.
User Avatar
Member
250 posts
Joined: 10月 2014
オフライン
Oh that's perfect! Thanks for explaining this!
- Tim Crowson
Technical/CG Supervisor
  • Quick Links