can chopnet process primitive attribute?
2246 2 3- pipit
- Member
- 1 posts
- Joined: Dec. 2006
- Offline
I want to process some primitive attribute via chopnet. I use the CHOP geometry node but it seems to only read point attributes. I end up copying my primitive attribute to some dummy points as point attributes and CHOP process those points instead. Then copying back the results to my primitive attributes. This works but is there a better work flow?
- Forests
- Member
- 24 posts
- Joined: June 2019
- Offline
- WillA
- Member
- 98 posts
- Joined: July 2005
- Offline
I was hunting for an answer to this question.
After a bit of sleuthing I found an approach since the geometry chop only gives access to point attributes.
using a chops channelwrangle chop I got the Cd attribute values of the primitives.
After a bit of sleuthing I found an approach since the geometry chop only gives access to point attributes.
using a chops channelwrangle chop I got the Cd attribute values of the primitives.
//get Cd.g attribute value from first input field vector clr = prim(0, "Cd", C); V = clr.g;
-
- Quick Links