Jump to content
Sign in to follow this  
JulesGuerin

Control parameter with Color attribute

Recommended Posts

Hi, this must be a very simple thing but I'm hitting the wall for days now and I'm starting to get lost between several solutions.

I am transfering colors from a sphere to another one and want to control whatever parameter of a node with color values, say black = 0 and white = 1.

I've followed several tutorials where i learned to do it with a copy SOP or with the local attributes of  the polyextrude node (distance scale for exemple) but I can't figure out how to control any other parameters with the same method.

In this exemple (attached) I'd like to control my digital asset Distance parameter (I know i could do it by diving into the digital asset and assign the attribute to the polyextrude  distance scale but I'd want to learn how to do it for whatever paramater.

Any help would be greatly appreciated!

 

thanks

Houdini_Attribute_Transfer.hiplc

Share this post


Link to post
Share on other sites
2 hours ago, JulesGuerin said:

Hi, this must be a very simple thing but I'm hitting the wall for days now and I'm starting to get lost between several solutions.

I am transfering colors from a sphere to another one and want to control whatever parameter of a node with color values, say black = 0 and white = 1.

I've followed several tutorials where i learned to do it with a copy SOP or with the local attributes of  the polyextrude node (distance scale for exemple) but I can't figure out how to control any other parameters with the same method.

In this exemple (attached) I'd like to control my digital asset Distance parameter (I know i could do it by diving into the digital asset and assign the attribute to the polyextrude  distance scale but I'd want to learn how to do it for whatever paramater.

Any help would be greatly appreciated!

 

thanks

Houdini_Attribute_Transfer.hiplc

Hi Jules,

PolyExtrude works only with primitive attributes and also your attribute was not connected to color. In attribcreate1 I just inserted @Cd.r and it works I think.

Houdini_Attribute_Transfer.hiplc

Share this post


Link to post
Share on other sites

Hi Irakli!

Ah! thinking I was sooooo close to the solution... surely the kind of thing I will laugh at in a few months!

Anyway thank you for taking time to check it!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×