Referencing Attribute Cd with Channel SOP

   2811   3   1
User Avatar
Member
6 posts
Joined: Nov. 2014
Offline
I'm trying to use CHOPS input to change color parameters of different pieces of geometry.

I'm using the Channel SOP to pull the data from the CHOPS network and apply it to my geometry.

I can use the P(1) attribute to drive the position on the Y axis well enough, but I'm not sure how to properly use the Cd attribute.


That leads me to believe I need to create the attribute, but I don't know how to do it properly. I can't find any examples of how to do this properly.

Attachments:
HoudiniColor.zip (11.6 KB)

User Avatar
Member
6 posts
Joined: Nov. 2014
Offline
fixed by putting in a Color SOP above the channels node.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
Because your geometry doesn't have Cd attribute. Add it first by using color sop or any other attribute creation method.

BTW you are using copy sop. So why are using CHOPs not copy stamping?
You can use stamp() function to change color per object.
User Avatar
Member
443 posts
Joined: Sept. 2012
Offline
tandava
fixed by putting in a Color SOP above the channels node.

Bit late I didn't refresh.
  • Quick Links