papicrunch Posted June 26, 2011 Share Posted June 26, 2011 Hi, I m trying to transfer one animation to bunch of shattered pieces in a procedural manner. For the moment I copy the animated data on some points and then i use a foreach group to retransfer them. I would like your feedback to optimize the method or if you know of another way simpler, faster for such effects ? Thank you, Thomas AnimProc.hip Quote Link to comment Share on other sites More sharing options...
brianburke Posted June 26, 2011 Share Posted June 26, 2011 if you use attributes rather than groups you can do everything in the 'apply data' foreach in a single vopsop. this makes for a big performance gain. in this case, with simple geometry, its only 100% speedup, but with hundreds of thousands of pieces and millions of points on the animated geometry, this method works in minutes where foreach would work in hours. here's your same file with a vopsop replacing the foreach. i colored the nodes i created to do this in pink (only ~3 more nodes to make the appropriate point attributes for the vopsop) btw- cool animation anim_procs_attribs.hipnc Quote Link to comment Share on other sites More sharing options...
papicrunch Posted June 27, 2011 Author Share Posted June 27, 2011 yeah very cool brianburke, I was convinced that there was a way in in vop but the use (and concept) of matrix are still obscure for me. As you say with a lot of pieces the speed gain is amazing !!! Thank so much ! Thomas Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.