How to Transfer color from COPs to point color in SOPs

   1908   2   1
User Avatar
Member
9 posts
Joined: Jan. 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 - April 20, 2020 13:37:12

Attachments:
attribfrommap.png (18.4 KB)

User Avatar
Member
7812 posts
Joined: Sept. 2011
Offline
Try
op:`opfullpath("../COPNET_DATA/OUT_COP")`
sometimes VEX works better with full paths.
User Avatar
Member
9 posts
Joined: Jan. 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