Hi!
I'm using the Vellum Drape sop to stich the cloth together. I often get bad stiching like in my picture.
How can I create the stiching constraints myself in vex? Do I just create polylines with a specific group or attrib name (sitch_constraint, or something like that?).
-Olivier
Vellum cloth: How to create stiching constraints myself?
1021 6 0- olivierth
- Member
- 1007 posts
- Joined: April 2017
- Offline
- olivierth
- Member
- 1007 posts
- Joined: April 2017
- Offline
- olivierth
- Member
- 1007 posts
- Joined: April 2017
- Offline
- tamte
- Member
- 8549 posts
- Joined: July 2007
- Online
olivierththe constraints are just lines with attributes, so pretty easy to recreate in VEX
So, no way of making those constraints in vex? I wish I could simply do something like: "connect from point 35 to point 92" ,etc.
the original are already created in vex if you are brave enough to dive inside
even without that I'd suggest observing the constraints output in Spreadsheet
then you will be able to do whatever you need, by just creating line between specific points and add necessary attributes
Edited by tamte - Oct. 6, 2022 13:03:06
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- tamte
- Member
- 8549 posts
- Joined: July 2007
- Online
- npetit
- Staff
- 357 posts
- Joined: Feb. 2008
- Offline
Have you looked at the Vellum Attach Constraints SOP? It allows you to draw the constraints interactively and place them exactly where you want - this was to address the problem of stitch constraints not necessarily connecting the right points when only using procedural near point methods.
You can also use it to modify existing constraints - first injest them and then move the attachment points around.
You can also use it to modify existing constraints - first injest them and then move the attachment points around.
- olivierth
- Member
- 1007 posts
- Joined: April 2017
- Offline
Thanks for the reply, tamte!
I fixed the sorting problem. It helps but I still get stiching problems. Each border points of a patch is ordered, but there's always point numbers that will go: 52, 53, 54, 0, 1, 2, 3. This seems to cause problems but I'm not sure how to go around that...
I looked at the vex inside the the Vellum Constraint sop but it seems to use an automatic closest method. I'll see what I can come up with by looking at the spreadsheet.
EDIT: Hey npetit, I saw your message after posting this. I'm on 18.5 so I don't have access to that new sop, saddely!
I fixed the sorting problem. It helps but I still get stiching problems. Each border points of a patch is ordered, but there's always point numbers that will go: 52, 53, 54, 0, 1, 2, 3. This seems to cause problems but I'm not sure how to go around that...
I looked at the vex inside the the Vellum Constraint sop but it seems to use an automatic closest method. I'll see what I can come up with by looking at the spreadsheet.
EDIT: Hey npetit, I saw your message after posting this. I'm on 18.5 so I don't have access to that new sop, saddely!
Edited by olivierth - Oct. 6, 2022 18:32:26
-
- Quick Links