RyanJP Posted February 25, 2022 Share Posted February 25, 2022 Hello, I'm using Vellum Source to emit multiple spheres over time and I want to increase the Rest Length Scale of each individual sphere every frame, starting at 1 (for each piece) and incrementing. Realized I have no idea how to select individual bits of sourced geo within DOPs and can't seem to find it anywhere online. Thank you!! Quote Link to comment Share on other sites More sharing options...
Ziyad Posted February 26, 2022 Share Posted February 26, 2022 Hey Ryan, You can use a SOP solver inside the dopnet to create an increasing attribute/value that can be used to drive the rest length scale. The attribute will be created and starts increasing once a new sphere gets emitted. I hope this is what you're looking for! emitting_vellum_restscale.hiplc Quote Link to comment Share on other sites More sharing options...
RyanJP Posted February 26, 2022 Author Share Posted February 26, 2022 Yes it occurred to me this would be the way to do it, but you've saved me a bunch of research. Thanks so much! Quote Link to comment Share on other sites More sharing options...
RyanJP Posted February 28, 2022 Author Share Posted February 28, 2022 On 2/26/2022 at 10:42 AM, Ziyad said: Hey Ryan, You can use a SOP solver inside the dopnet to create an increasing attribute/value that can be used to drive the rest length scale. The attribute will be created and starts increasing once a new sphere gets emitted. I hope this is what you're looking for! So, following up on this because I can't see much info online about this subject. So let's say I wanted each piece to have it's own "@maxRestScale" and once that value is achieved it stops incrementing. I've got the attributes assigned to the constraints just fine, but how can I pass them into DOPs to be used to affect the rest scale? Quote Link to comment Share on other sites More sharing options...
Ziyad Posted February 28, 2022 Share Posted February 28, 2022 (edited) Inside the SOP solver again, you can append a connectivity node so each sphere has a unique class attribute, then use that class attribute to create a random value that would be assigned as the "@maxRestScale", then in DOPs add an if statement to make sure the incrementing stops (as in the rest length scale stops increasing) once rest length scale exceeds the "@maxRestScale". emitting_vellum_restscale.hiplc Edited February 28, 2022 by Ziyad 1 Quote Link to comment Share on other sites More sharing options...
RyanJP Posted March 1, 2022 Author Share Posted March 1, 2022 Amazing. SOP Solver seems extremely useful, going to try to learn more about it. Thanks again! 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.