Jump to content

Vellum bubbles of different sizes


jeanmarc

Recommended Posts

Hi folks,

I am quite beginner with vellum and for a shot i am trying to create bubbles of different sizes and simulate them in Vellum, but i cant figure out how to make them keep their volume during the sequence.

I use points and animated pscale to emit but as soon as they are emitted (with the good size) they all resize to a fixed amount.

Thanks for your help

Jmvellum_bubblesNotKeepDifferentSizes_01.hip

Link to comment
Share on other sites

I think I would call that bug. The Vellum solver isn't applying the pscale attribute to the constraint instances, which it should. After birth, they reliably conform the mesh to the original source.

The fix is fairly simple. Just supply a random scale every frame to the source sphere. This will insure the constraints are scaled before being submitted to the solver.

Place this in the Scale field of the move_up transform node.

fit01(rand(@Frame),0.5,3.8)

Make sure to set your pscale to 1.0 in the wrangle, or the initial size will be undone.

Edited by Atom
Link to comment
Share on other sites

Out of curiosity, I tried adding a Vellum Rest Blend DOP after the Vellum Source DOP.  Setting the Vellum Rest Blend DOP Update Frequency parameter to "Each Frame" seems to help except when the spheres birth in overlapping positions and become jumbled together.

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