Referencing Attribute Cd with Channel SOP
2887
3
1
-
- tandava
- Member
![](https://static.sidefx.com/djangobb_forum/img/authority/vote0.png)
- 6 posts
- Joined: 11月 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.
![](http://i.imgur.com/WXyfs4h.png)
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)
-
- tandava
- Member
![](https://static.sidefx.com/djangobb_forum/img/authority/vote0.png)
- 6 posts
- Joined: 11月 2014
- Offline
fixed by putting in a Color SOP above the channels node.
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.
tandava
fixed by putting in a Color SOP above the channels node.
Bit late I didn't refresh.