Jump to content

Vellum "instance on points" and pscale


Wolrajh

Recommended Posts

Hello guys

So I have this little bump in the road : I'm emitting vellum instances from a surface. Orient, pos, and various attributes like v work OK, but I can't find the correct way to inject pscale. What happens is that the instanced geometry first appear (p)scaled like expected, but it expands back to the original size after a few frames.

My guess is that either restlength or restscale aren't affected by pscale hence the expanding back behaviour, so the question is : how should I proceed ? Can I somehow edit restlength on creation but before solve ? Should I do something else entirely ?

 

Thanks !

vellumPscale.hip

Link to comment
Share on other sites

  • 1 year later...

Hey Olivier,

you can create custom id attribute per every instance point, transfer it to the geometry and then use it to pull the pscale data directly per-point/per-constraint using geometry wrangle, to update the thichkness/restlength. 

Maybe there is a more elegant solution, but it is easy to just bruteforce it like that (:

vellumPscale_fix.hipnc

Edited by rayman
  • Like 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...