Bend by color attribute?

   3602   3   2
User Avatar
Member
1265 posts
Joined: 3月 2014
Offline
Hi,

I'm trying to get my bend SOP to only be affected on points with red in the color channel, but I'm failing badly.

Any attribute I create is ignored by the bend SOP.

Any idea why?
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
49 posts
Joined: 9月 2013
Offline
Inside the bend sop there is a deformation wrangle, and by looking at the code inside it seems “lambda” is the main factor for deformation. So if you replace lambda by say…@Cd.r (provided you have red colour on your geo) it should work, hopefully this is what you are looking for

Attachments:
deformationBasedOnColour.JPG (60.5 KB)

User Avatar
Member
1265 posts
Joined: 3月 2014
Offline
Thank you Yash! That worked perfectly.

I think this should be part of the default toolset and will make it easy for new Houdini users as well.

Thanks
again.

ID=74696
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
4541 posts
Joined: 2月 2012
Offline
My Bend SOP/VOP also does this automatically given a scalar weight attribute:
http://orbolt.com/asset/animatrix::bend::2.00 [orbolt.com]

You have to do it internally inside the deformer as this is controlling the angle, so you can't just use lerp (linear interpolation) between 2 geometry nodes, which is why all Houdini deformers should have a weight attribute that can control the amount of the entire deformation.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
  • Quick Links