Jump to content

Vellum Rest Length Scale Per Connected Piece


RyanJP

Recommended Posts

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!!

Link to comment
Share on other sites

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

 

emitting_vellum_restscale.gif.2fe6f905aa7fa8b8872d8d46c8e6ee07.gif

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

image.png.c2a8693cd32e822fb95f534f7a67a5a2.png

Edited by Ziyad
  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...