HOW TO START ANIMATION WHEN POINT ENTERS GROUP

   4733   5   3
User Avatar
Member
8 posts
Joined: Aug. 2014
Offline
Hi, I´m trying to copy an animated object over a series of points, but I want the animation to start when the points get into a group, I have created some little assets that can do something like that, but I use an custom age attribute, but I want to know if is ther any easy way to do something like that. I build this using the custom age, but I want to know if there is another way. https://vimeo.com/144709160 [vimeo.com]


I put the file, thanks for your help and sorry for my english

Attachments:
bombs.hip (74.7 KB)

User Avatar
Member
1737 posts
Joined: May 2006
Offline
Here's one way. Use a solver sop so you can create a counter that increments independently for each point, and use that counter to stamp the frame offset for a timeshift.

More notes in the hip file.

I suspect performance would drop badly if you have lots of bombs and heavy geometry, in which case you might be better using something like an instance sop, write out your bomb animation to a .bgeo sequence on disk, and set explicit paths to different copies in a wrangle.

Attachments:
bombs_offset.hipnc (107.2 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Attached File is based on the file from Skybar:
http://forums.odforce.net/topic/20231-using-the-shift-sop-to-shift-chop-curves/?p=121048 [forums.odforce.net] there: point_color_animation_trigger2_dv.hip

Maybe have a look here, too:
http://www.sidefx.com/index.php?option=com_content&task=view&id=1052&Itemid=257 [sidefx.com]

Hope this is helpy.

Attachments:
point_color_animation_trigger4.hip (125.5 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
8 posts
Joined: Aug. 2014
Offline
wow thanks for your kind replies, learn a lot from both, sorry for the delay, I was on my vacations, happy new year.
User Avatar
Member
691 posts
Joined: June 2006
Offline
This is a simplify version for the mestela's file.
Because its a recursive system just update the group every frame in the cache, then test the change, and thats it.

About CHOP's approach, the bad think is when you have so much points/attributes/channels to hold data on, CHOP's can slow down things very fast when sampling huge amount of channels.

Cheers!

Attachments:
bombs_offset_simple.hipnc (113.4 KB)

Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
8 posts
Joined: Aug. 2014
Offline
wow, sorry for the three months delay on my answer, thanks you all for your help, so many ways to do the same thing.
  • Quick Links