multiple Vellum objects in DOPS

   9297   7   2
User Avatar
Member
388 posts
Joined: July 2018
Offline
I am still new to vellum and i havent quite understood how to make different objects interact.

i have a cloth —-vellum1 plugged into vellum solver— and then i want a vellum source to generate every N Frames pieces of cloth (a different vellum object – instance on points)and interact with the original vellum1.

On top of that i need to apply specific forces to these separate vellum objects
the forces you see in the screenshots i want applied to vellum 1
then for the vellum source that is emitting every n frames another vellum object i want different forces

Do i need separate vellum solvers?

Attachments:
Capture.JPG (31.0 KB)

User Avatar
Member
8184 posts
Joined: Sept. 2011
Offline
Use attributes or groups to distinguish different meshes in the vellum simulation. For interaction to work, there can only be one vellum object/solver.

With the forces, use the attribute/group as a mask for each different force.
User Avatar
Member
9417 posts
Joined: July 2007
Offline
you can also just use streams
instead of sourcing anything in vellum1, create Vellum Source DOP for that geo and chain all the forces you want to affect it underheath
and another stream starting with your current Vellum Source + all the forces for that stream
them merge both streams together and connect to Vellum Solver
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
388 posts
Joined: July 2018
Offline
tamte
you can also just use streams
instead of sourcing anything in vellum1, create Vellum Source DOP for that geo and chain all the forces you want to affect it underheath
and another stream starting with your current Vellum Source + all the forces for that stream
them merge both streams together and connect to Vellum Solver


so you re saying that i would have two separate vellum source nodes each with its forces underneath, merge them and plug them into the third input of the solver? leaving the first two inputs empty
User Avatar
Member
9417 posts
Joined: July 2007
Offline
papsphilip
so you re saying that i would have two separate vellum source nodes each with its forces underneath, merge them and plug them into the third input of the solver? leaving the first two inputs empty

no
I'm saying to not use initial geo on Vellum Object, but you still need Vellum Object to be connected to the first input, just clear Initial Geometry and Initial Constraints parameters
but yes, then plug the merged streams into third input, or maybe second should work too
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
388 posts
Joined: July 2018
Offline
tamte
papsphilip
so you re saying that i would have two separate vellum source nodes each with its forces underneath, merge them and plug them into the third input of the solver? leaving the first two inputs empty

no
I'm saying to not use initial geo on Vellum Object, but you still need Vellum Object to be connected to the first input, just clear Initial Geometry and Initial Constraints parameters
but yes, then plug the merged streams into third input, or maybe second should work too

this doesnt seem do be working
vellum is throwing a warning “OpenCL Exception: clFinish (-36)”

Attachments:
vellum.hip (560.4 KB)
Capture.JPG (30.2 KB)

User Avatar
Member
9417 posts
Joined: July 2007
Offline
seems to work for me correctly, no error and the streams pick up their respective forces correctly

apart from the fact that you have unchecked Display Geometry on the Vellum object so that nothing is visible bu default
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
388 posts
Joined: July 2018
Offline
tamte
seems to work for me correctly, no error and the streams pick up their respective forces correctly

apart from the fact that you have unchecked Display Geometry on the Vellum object so that nothing is visible bu default

yes thank you! it was some sort of bug, it works for me too now
  • Quick Links