Constrain the points on a curve to a surface based on UV

   2779   2   2
User Avatar
Member
4 posts
Joined:
Offline
So I have been trying to constrain a bunch of curves to some deforming geometry. I am creating some curves growing on an animated(deforming surface). I have generated the curves by drawing them by hand, using the findShortestPath. I have used raySOP, attribute Wrangle, bunch of other not functioning ways to glue it to the surface. I can get close, but my solutions all pop and wiggle.

My thought is to transfer the UV coordinate of the surface to the points on the curve via attrbitueTransfer and then use vopSop or vex to compare and find the matching UV coordinates on the curve and surface and move the points of the curve to the corresponding points on the surface.

I can get the UV data onto the curve from the surface on the rest frame, but I am struggling with building a compare and move that works.

I would attach my file but it is locked down by company policy.

Thoughts? Pointers?

Rob
User Avatar
Member
8833 posts
Joined: July 2007
Online
here is one way to make curves stick on deforming geo
TimeShift/Ray/AttribInterpolate combo

Attachments:
ts_stick_on_deforming.hip (157.1 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
4 posts
Joined:
Offline
Tamte,

That is a great solution. Testing it out right now.

Thanks so much.
  • Quick Links