Double Mesh simulation using vellum pack / unpack ?

   2306   8   1
User Avatar
Member
767 posts
Joined: April 2014
Offline
I'm using vellum pack to merge two vellum constraints then the vellum unpack and plugging that into the vellum solver. Although when I play the simulation I'm getting double object simulation as seen below ?

Attachments:
double_mesh.gif (3.9 MB)

【T】【C】【S】
User Avatar
Member
9417 posts
Joined: July 2007
Offline
velum pack packs geo and corresponding constraint into a single primitive for convenience
it's output sort of represents prepped geo for simulation
if you merge 2 of those, you essentially get 2 geos
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
767 posts
Joined: April 2014
Offline
Therefore if I want to merge multiple vellum constraints, one cannot use a vellum package for a vellum constraint and merge; it's better to use two vellum constraints sop and stack them, or can I use the former method just in a different way ?
【T】【C】【S】
User Avatar
Member
9417 posts
Joined: July 2007
Offline
Yes, stacking vellum constraints nodes in a single chain is the way to go

In theory it's possible to merge 2 constraint streams if you rewire all vertices to just one set of points, and delete the other
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
767 posts
Joined: April 2014
Offline
tamte
In theory it's possible to merge 2 constraint streams if you rewire all vertices to just one set of points, and delete the other

It's not possible in practice ?
【T】【C】【S】
User Avatar
Member
9417 posts
Joined: July 2007
Offline
_Christopher_
tamte
In theory it's possible to merge 2 constraint streams if you rewire all vertices to just one set of points, and delete the other

It's not possible in practice ?
It probably is, I assume you can do it like that, I just haven't tried, so it's just a theory, but don't see why it wouldn't work
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
767 posts
Joined: April 2014
Offline
tamte
_Christopher_
tamte
In theory it's possible to merge 2 constraint streams if you rewire all vertices to just one set of points, and delete the other

It's not possible in practice ?
It probably is, I assume you can do it like that, I just haven't tried, so it's just a theory, but don't see why it wouldn't work

How would I do this as you mentioned ?
【T】【C】【S】
User Avatar
Member
9417 posts
Joined: July 2007
Offline
I just tried and it works as described

one possible issue is that Vellum Constraint can also alter the geometry output and modify attributes like pscale, mass, volume
so merging just constraint outputs will miss those
but to properly merge those may be tricky as you may not know which points were altered and if the change is desirable since geo points are shared among all constraints
but if your workflow assumes that pscale and mass will be properly set by the main stream then you may be mostly ok and then just identify whats missing as you go


that all being said threat this just as an interesting exercise rather than a workflow

Attachments:
ts_vellum_merge_constraints.hipnc (677.3 KB)

Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
767 posts
Joined: April 2014
Offline
Thanks, enumerate the points for both constraints then re-wiring worked.😉
【T】【C】【S】
  • Quick Links