Problem in Points Colour Gradient

   3797   2   0
User Avatar
Member
1 posts
Joined: June 2014
Offline
Hey !
Im new to houdini and I'm learning by some tutorials
in a part of it i need to give thickness to the spoon and i should do it with points node - color gradient ( … –> point –> VOP SOP –> attribpromote –> Polyextrude –> … )
But the gradient is not in the right direction
as you can see its on X axis - left to right

http://www.imagesup.net/?di=014183398989 [imagesup.net]
http://www.imagesup.net/?di=714183400305 [imagesup.net]

but it needs to be like this on the Z axis - up to down

http://www.imagesup.net/?di=814183401143 [imagesup.net]

and sorry if its so simple but i couldn't find out how to do it !
User Avatar
Member
9728 posts
Joined: July 2007
Offline
the gradient is along x axis since you are using $BBX which at your first 2 images is across the spoon
so just change your expression to $BBZ or 1-$BBZ to get gradient in Z axis

in your 3rd image X is actually along the spoon so in there $BBX would work
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
2 posts
Joined: Dec. 2014
Offline
tamte
the gradient is along x axis since you are using $BBX which at your first 2 images is across the spoon
so just change your expression to $BBZ or 1-$BBZ to get gradient in Z axis

in your 3rd image X is actually along the spoon so in there $BBX would work

oh thanks so much !
it really helped me out !
  • Quick Links