m-egger Posted January 29, 2019 Share Posted January 29, 2019 (edited) Hey! So I've got challenge for the DOP-people here. I'm currently trying to merge Objects while they are colliding for a seperate shot. This is the fun Little Setup that it's for: My base setup for testing this in a secluded file is a DOP net with some packed objects in it and all I want to do for now in a SOP-solver is: 1) Unpack Them. 2) Pack Them again. 3) Have the simulation continue as without the solver. And then I'll add some magic between 1) and 2). collidemerge_v03.hipnc I attached this test-file. The behaviour I get right now is: [Narrow Part: Just transferring Name and then using a Attribute-Copy node to get it from the original geo] [Wide Part: * in Transfer Attributes Parameter on Unpack/Pack node] But for some reason I get really jumpy behaviour - and I kind of struggle finding out what's causing this. I've tried everything - that came to my mind - in getting the attributes from the input geo to the output geo. I'm pretty sure there's something going on with the intrinsics that I can't really find out. And the pivot, apparently. Maybe someone knows what's going on! Thanks, Martin Edited January 29, 2019 by tortoise Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 29, 2019 Share Posted January 29, 2019 As you said, if you put an attribute copy inside the SOP solver called "repack" and copy all the attributes before unpacking the geo, it works there. Then it depends what kind of magic are you going to do between the unpacking-packing, it might not be that easy collidemerge_v03_attribcopy.hipnc 1 Quote Link to comment Share on other sites More sharing options...
m-egger Posted January 29, 2019 Author Share Posted January 29, 2019 (edited) Awesome! I didn't try the combined Version of transferring all Attributes and THEN using the attcopy. So Overkill apparently works sometimes. Thanks a bunch. Now I should be able to handle the rest. I set up a System in the other SOP-solver that wasn't connected in my file to loop over all collisions, filtering out the currently colliding ones to make them merge into new ones. At the Moment they're just subdived. So that's Progress at least. collidemerge_v04.hipnc Cheers, Martin Edited January 29, 2019 by tortoise Quote Link to comment Share on other sites More sharing options...
Andrea Posted January 29, 2019 Share Posted January 29, 2019 Cool stuff! It should work, and probably is better, to just write the name attribute when you unpack-pack. If, when you are packing the geometry, you are also writing to it some attributes that you created in-between and that DOP doesn't like, the sim might go crazy 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.