Expressions/Scripts/Presets

Moderators: Disciple, zlovatt

 
alphonse
Topic Author
Posts: 2
Joined: Tue Jan 08, 2008 12:04 pm

Attaching an object to an animated mask/path

Tue Jan 08, 2008 1:12 pm

I have a 3D render of a undulating ribbon - imagine a slowly pulsing sine wave from right to left - which has various width changes throughout. I want to be able to attach a null's y-position to the ribbon, but be able to animate the x-position via keyframes.

My first thought was to quickly rotoscope an animated mask/path (so it follows the ribbon wave), and attach the null to the mask, but I'm not sure if this can be done. Or can it?

As I move the null in the x-axis, I want it to automatically parent to the pulsating ribbon in the y-axis, so I don't think tracking it will work, since that is based on a series of x-y points.

Then I thought about using an expression. Can something like sampleImage() be used to attach the y-position of the null to the ribbon, reading the embedded alpha channel of the render, so it animates and flows with the crests and troughs of the wave? Or is there another expression that could be applied?

Thanks for any help,
Alphonse
 
User avatar
Atomic
Posts: 157
Joined: Mon Apr 30, 2007 5:55 am
Location: United States, Ohio

Wed Jan 09, 2008 6:38 am

Do you still have access to the 3D application or file that generated the ribbon footage?
 
alphonse
Topic Author
Posts: 2
Joined: Tue Jan 08, 2008 12:04 pm

Wed Jan 09, 2008 1:23 pm

Yes, I do, or at least my colleagues do.

Who is online

Users browsing this forum: No registered users and 2 guests