CaptainAhoy Posted May 26, 2016 Share Posted May 26, 2016 Hi, I am using a music file to change the height of a bunch of boxes and was wondering how to change the color of the box based on its height. I just started learning houdini so I am not very well versed with complex shading techniques. I tried using an Attrib VOP with a ramp in it, but the ramp is coming horizontally. Any assistance will be helpful. thanks! bank5.hipnc Quote Link to comment Share on other sites More sharing options...
Airship Posted May 26, 2016 Share Posted May 26, 2016 This is a gotcha that's gotten me a few times. In the copy sop, you need to go to the Attributes tab and check "Use Template Point Attributes" which passes your height attribute through to you attribute VOP where you have effectively mapped it to your color ramp. I also brought your "height" attribute into the attribute VOP with a param node. Cheers, Ewan bank5_airship.hipnc 1 Quote Link to comment Share on other sites More sharing options...
CaptainAhoy Posted May 27, 2016 Author Share Posted May 27, 2016 1 hour ago, Airship said: This is a gotcha that's gotten me a few times. In the copy sop, you need to go to the Attributes tab and check "Use Template Point Attributes" which passes your height attribute through to you attribute VOP where you have effectively mapped it to your color ramp. I also brought your "height" attribute into the attribute VOP with a param node. Cheers, Ewan bank5_airship.hipnc thanks! this works great Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.