Vellum orient

   935   4   2
User Avatar
Member
125 posts
Joined: June 2008
Offline
Hi

Is tehre a way to keep initial orient on "attach to geomeetry" vellum cloth point. It seems that its only transform constraint and no rotation constraint. I would like it to behave the same way as vellum hair "pin to target" points.

in the mp4:
in blue cloth with attach to geo
in orange hair with pin tot target

stretch stiffness and bend stiffness are the same on both.

Or maybe a workaround?

THX
Edited by NAHASSIA - March 20, 2023 15:27:15

Attachments:
vellum_orient.mp4 (43.0 KB)
orient_vellum.hiplc (495.5 KB)

User Avatar
Member
2536 posts
Joined: June 2008
Offline
You can dial in some of that by distributing mass across the gradient of the mesh. Calculate a 0-1 index from the relative bounding box of the source, in this case the x-axis. Use that index to drive a ramp where you can remap and rescale the final value. The net result is a little bit of falloff, and not a complete collapse.

Attachments:
cloth_like_hair.gif (666.5 KB)
ap_orient_vellum.hiplc (504.5 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
125 posts
Joined: June 2008
Offline
Very nice Enivob THX
User Avatar
Member
8549 posts
Joined: July 2007
Online
only Hair can have true orient related constraint, even though you are not taking advantage of that in your file as you are pinning 2 root points instead of 1

however to get your left side working the way you may expect with 2 segments attached
- turn on Tangent Stiffness on /obj/VELL/vellumattach1
- increase your Bend Stiffness on /obj/VELL/vellumcloth1 to something like 1x10 or more
(or to 1x0.01 but also increase solver Substeps to 3)
Edited by tamte - March 20, 2023 18:17:11
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
125 posts
Joined: June 2008
Offline
THX alot tamte I will try it.
Cheers
  • Quick Links