How to Transfer color from COPs to point color in SOPs

   2310   2   1
User Avatar
Member
9 posts
Joined: 1月 2013
Offline
In my case, Attribute from Map works but only if I have saved an image on disk.
How can I transfer color from a COP node to point color in SOP?\

Is this right way to reference a texture in Attribute from Map?
op:../COPNET_DATA/OUT_COP/

For whatever reason I am getting color value of (1, 0.5, 0.5) when referencing path using op:
But its fine if I reload a texture from disk, which was saved with ROP COP.

Thanks in advance
Edited by fragmentzero - 2020年4月20日 13:37:12

Attachments:
attribfrommap.png (18.4 KB)

User Avatar
Member
8047 posts
Joined: 9月 2011
Offline
Try
op:`opfullpath("../COPNET_DATA/OUT_COP")`
sometimes VEX works better with full paths.
User Avatar
Member
9 posts
Joined: 1月 2013
Offline
Thank you !
That worked. I tried similar approach before but used opinputpath and now I know why it didn't work
  • Quick Links