I'm trying to port some custom HDAs into Solaris and i struggle even with simple VEX expression to change displayColor
Anyone would be able to help how to change the displayColor with VEX?
I managed to get to this stage, but that creates different type (color3f), then then USD displayColor expects (color3f).
I just was not able to get the correct type, thus the Array
string att_name =chs("att_name"); string primitive = chs("primpattern"); usd_addprimvar(0, primitive, att_name, "color3f[]", "constant"); usd_setprimvar(0, primitive, att_name, vector[] (array({0,0,0},{0,0,0} , {1,1,1})));