Vellum Points Attribute State

   1175   2   0
User Avatar
Member
691 posts
Joined: June 2006
Offline
Hi,

is there a point or prim attribute that describes the state of the constraint when it breaks or gets deleted in a vellum patch?. I can't find it, or maybe it doesn't exist. For example with hairs just to know if a hair is detached or not for filtering purposes. I solved using some vex code comparing root distances and then match all the prim by id, but I just want to know if the vellum system has already this implemented as an attribute.

Thanks,

Alejandro
Edited by Alejandro Echeverry - Nov. 8, 2019 18:16:45
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
8531 posts
Joined: July 2007
Offline
vellum is very versatile in terms of constraints, single patch can contain countless of constraints of different types, I can imagine it'd be quite limited to assume if certain connections break to set some “state” for the whole patch

however in post solve ConstraintGeometry will have all constraints that are about to be broken in “broken” group so you can use that for something

otherwise some VEX solution may be needed as the needs are pretty specific to your setup
it's pretty easy to for example get root point of a hair, gather all constraints that are attached to it, even filter to specific types you are interested in and for example if there are no “pin” constraint, consider it free, or if it's in “broken” group do something
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
691 posts
Joined: June 2006
Offline
Thanks Tomas!

In the case of a hair root using an attach to geometry constraint there are no broken groups, so the only way I solved this is to matching using the target attributes against the hair roots for the filtering. I really wish that the vellum constrains can give an option for the targeting attributes like for exampling using id instead of ptnum.

Thanks Man!!

Alejandro
Edited by Alejandro Echeverry - Nov. 8, 2019 19:05:27
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
  • Quick Links