Page 1 of 1

Animating Path for an object ?

Posted: Wed May 09, 2018 6:46 am
by Slavi
Hi Team,

I am in a bit of a pickle (RICK!) ;) and I was hoping that someone can help me.

I need to make an "energy effect", that travels around the wall and I need to animate it so it goes from Possition1 to Possion2 to Possition3:
Magic.jpg
Magic.jpg (26.75 KiB) Viewed 7011 times
The trick here is that I will know the coordinates (X1:Y1,X2:Y2,X3:Y3) just before the event statrs, so I need to have it pre-made somehow ?

I have the energy effect ready and I guess I need to use Traslate in some Magic-al ;) way... Any suggestions ? Also, IF possible I want to avoid linear travel between the possitions, so it seem more natural...

Any advise would be highly appreaciated!

Regards,
S.

Re: Animating Path for an object ?

Posted: Wed May 09, 2018 9:03 am
by Sadler
You could try recording midi somehow that would include the path and easing you require and use that to control the position. I couldn't find any way to convert a spline to midi.

But, perhaps Iannix might be able to do it: https://www.iannix.org/en/whatisiannix/

Finally, if you have a list of x values and a list of y values you could use these in an Expression modifier I think to iterate over a Vector (array). I've so far only had success with simpler constructs.
https://github.com/ArashPartow/exprtk/b ... readme.txt

I'm not 100% sure about any of these but if you have any success, please report back to the forum.

So another option I thought of after looking at your image again is using a simpler Expression with just three data points and Smooth between them.
Here's a comp to demonstrate:
translation_coords.magic
(2.4 KiB) Downloaded 392 times
You can adjust the three positions using Globals.

Re: Animating Path for an object ?

Posted: Thu May 10, 2018 8:48 am
by Slavi
So another option I thought of after looking at your image again is using a simpler Expression with just three data points and Smooth between them.
Here's a comp to demonstrate:
translation_coords.magic
Sadler you are a rock star! Thank you!!!

That's exactly what I needed!

My project has to be ready in a couple of days. I will post the results here.

Thank you once again!

Regards,
S.

Re: Animating Path for an object ?

Posted: Tue Jun 12, 2018 6:38 pm
by Sadler
My project has to be ready in a couple of days. I will post the results here.
So, how did it go? Curious to know how you used the technique.

Re: Animating Path for an object ?

Posted: Fri Jun 22, 2018 12:18 pm
by Slavi
Hi Sadler,

Sorry for the delay. The event video just came out yesterday :) .

I did what I called "art mapping" where we made an exibition of mandala paintings in a gallery. The paintings were possitioned on X1:Y1, X2:Y2, etc. On top of the original mandala paintings I would project a digital version of the mandalas + maginifying sharder.
My goal (that I've managed to do thanks to your precious help!!!) was to have each digital mandala on top of the real ones and the magnifying shader to jump between them.
Here is the full video:
https://www.youtube.com/watch?v=Kz7erzp ... e=youtu.be

At exactly this moment https://youtu.be/Kz7erzp83TQ?t=30 you can see the set up. I hope I get some more footage from the cameraman so I can make my own video soon.

On top of everything we had live music synced with the show :).

Thank you once again for the fast and on point help!!!

Re: Animating Path for an object ?

Posted: Tue Jun 26, 2018 6:25 pm
by Slavi
Sadler wrote:
My project has to be ready in a couple of days. I will post the results here.
So, how did it go? Curious to know how you used the technique.
There you go. It's raw footage by still you get the idea:
https://www.youtube.com/watch?v=OBCJTd1 ... e=youtu.be

Thank you one again! I wouldn't have made it without your help. I need to buy you a drink :)

Re: Animating Path for an object ?

Posted: Tue Jun 26, 2018 9:32 pm
by Sadler
That sounds like a hang drum. Thanks for posting the footage, it was good to see what you did with it. Your efforts are heading towards projection mapping albeit simple and still on a 2d canvas. There's plenty of creative scope for your next creation.