LukeLetellier Posted October 24, 2017 Share Posted October 24, 2017 I'd like to perform a dynamics simulation on a wire that I'm growing in length via SOPs, but the wire solver doesn't appear to be built to take in a changing-point-count polywire as an input, as everything goes haphazard very quickly. Is there a known work-around to this? Thanks, Luke Quote Link to comment Share on other sites More sharing options...
mestela Posted October 24, 2017 Share Posted October 24, 2017 I've messed around with this occasionally, never got it working. Would love to know if there's an answer too! Quote Link to comment Share on other sites More sharing options...
LukeLetellier Posted October 25, 2017 Author Share Posted October 25, 2017 33 minutes ago, mestela said: I've messed around with this occasionally, never got it working. Would love to know if there's an answer too! Oh gosh, if you don't know, then I don't think anybody does! 1 Quote Link to comment Share on other sites More sharing options...
mestela Posted October 25, 2017 Share Posted October 25, 2017 ha, hardly, i randomly push buttons and hassle others who actually know stuff, i have no deep insights into anything. Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 25, 2017 Share Posted October 25, 2017 Don't change the point count . You can do something like this, but in your case timeshift your curve to the last frame and match the animation with the carve instead: growingWire.hipnc You could probably sim the wire with grains+constraints as well, might be a bit more forgiving with changing pointcounts given that it's just particles. 1 Quote Link to comment Share on other sites More sharing options...
LukeLetellier Posted October 25, 2017 Author Share Posted October 25, 2017 2 hours ago, Skybar said: Don't change the point count . You can do something like this, but in your case timeshift your curve to the last frame and match the animation with the carve instead: growingWire.hipnc You could probably sim the wire with grains+constraints as well, might be a bit more forgiving with changing pointcounts given that it's just particles. Thanks for the file! The latter option of a sim with grains & constraints sounds like the best possibility for what I'm after (something akin to a spider-man web-sling effect), but would still present a similar challenge. In my original setup (attached), a pop emitter shoots out initial particles, a wrangle draws wires from each emitted particle to their sourceptnum, the wire is resampled as it gets longer, and the result is fed into a DOP wire solver. But, with multiple wires being resampled simultaneously, the point numbers change, and the solver is no longer sure where one polywire end and the other begins. I'm guessing I'd run into a similar issue with PBD. WireSim_Letellier.hipnc Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 25, 2017 Share Posted October 25, 2017 In that file, set the Resample to maximum segments instead of length. Then gives you a constant point count and it works. 1 Quote Link to comment Share on other sites More sharing options...
LukeLetellier Posted October 25, 2017 Author Share Posted October 25, 2017 (edited) 4 hours ago, Skybar said: In that file, set the Resample to maximum segments instead of length. Then gives you a constant point count and it works. Thank you! After a few more adjustments, this is working great. Edited October 25, 2017 by LukeLetellier 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.