Jump to content

Vellum cloth scatter issues


Anesthaesia

Recommended Posts

Hi folks,

I'm new to Houdini so still very much learning the ropes.

I have a basic vellum setup and am scattering points onto the resulting vellum object(s). I've managed to achieve this using the attribute interpolate method and as a whole it looks ok except for:

1. There is some jittering with points being added/removed, mostly as the cloth 'jiggles' before coming to rest.

1. The point number keeps changing even though the position remains static until the object is at rest. This means I cannot reference @ptnum for example as it is constantly changing (it took me a while to figure this out but I was setting a random pscale using @ptnum and the scattered objects changed scale each frame)

 

I'd appreciate if anyone could point out what I am doing wrong or how this can be resolved. 

Cheers,

D

_Example_Vellum_Scatter.hip

Link to comment
Share on other sites

Thanks HowardM,

That solution works if I am generating a single cloth object.

However if multiple objects over time only the first instance gets scattered points. If you change Vellum Source to continuous you can see this occurs.

Can this solution be used for multiple objects or is a workaround required? I don't know yet how to process multiple objects from a DOP sim - would this be a case where loops are required?

Edited by Anesthaesia
Link to comment
Share on other sites

Hah, well why didn't you say that in the 1st place? ;)

The main problem is scatter messing up point counts.  

Here are 2 versions in this scene.  Your way tweaked a little, and a copy points version.  Switch the switch to 1 and reveal your instances to see your version tweaked.  Copy points is another way that may allow more control with packed geo.

 

Maybe someone will chime in with a completely better way to instance geo, POST sim, as its not good practice to rebuild every frame like this. 

_Example_Vellum_Scatter.HIM.v012.hiplc

 

ezgif.com-optimize.gif

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