me.inputColor doesn’t work in the Add Color fields of the Point SOP:
1. Create a Point SOP and set its first input to some geometry with a
Cd point attribute… Without any changes, the Point SOP is set to Keep Color, and indeed, the colors on the points are maintained.
2. Set the Point SOP to Add Color. This will set the expressions to:
diffr: me.inputColor diffg: me.inputColor diffb: me.inputColor alpha: me.inputColor
You would think that this would have the null effect, and the colors would pass thru unchanged… but you’d be wrong. The colors are set to white (
Cd[n] are all 1).
3. Change the expressions to:
diffr: me.inputPoint.Cd diffg: me.inputPoint.Cd diffb: me.inputPoint.Cd alpha: me.inputPoint.Cd
Now the color is passed thru correctly.
.toe file demonstrates this
PointSOP Issue.2.toe (3.7 KB)
OS: Mac 10.15.7
GPU: Radeon Pro 580 8 GB