Houdini attribute VOP blends scale instead of position.

   1648   2   1
User Avatar
Member
2 posts
Joined: Jan. 2018
Offline
So I have this head bust with 2 blend nodes:

Bend node 1: Bends -6 degrees [i.gyazo.com]

Bend node 2: bends +10 degrees [i.gyazo.com]

After that im trying to simply blend POSITION of those 2 nodes with attribute VOP controlling by the bias.

VOP here [i.gyazo.com]

But for some reason what i get is scaling down...Any help?

Bias 0 [i.gyazo.com]

Bias 0.612 [i.gyazo.com]
User Avatar
Member
8853 posts
Joined: July 2007
Offline
on your importpoint1 make sure the Input parameter is set to Third Input (because your twist2 is plugged into 3rd input)
or plug Opinput3 to file input of that node
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
4732 posts
Joined: Feb. 2012
Offline
Hi,

One thing I would recommend wrt to blending between non-linear deformations is to blend the appropriate parameters directly, i.e. the Bend Angle.

Otherwise you will get squashing like below:



The attribute wrangle is doing a linear blend between a bent tube at 45 vs 120 degrees along the length of the input geometry in Y (45 at the bottom, 120 at the top):

float s = relbbox ( 0, @P ).y;
@P = lerp ( @P, v@opinput1_P, s );

When you blend the bend angles directly inside the Deformation Wrangle used inside the Bend SOP, you get a more accurate blended 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