Jump to content

Control parameter with Color attribute


JulesGuerin

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

Link to comment
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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...