Type Color

   1615   2   0
User Avatar
Member
27 posts
Joined: June 2016
Offline
plugging a value into the Cd channel gives Cd.r Cd.g. Cd.b. in the geo spreadsheet, if I want to remap this into a arbitrary named attribute it comes out as this.0. , this.1, this.2… so no rgb for example.

When middle mousing, Cd comes up as .3fc, while my renamed attribute comes up as .3f

any ideas why ? I'm using a bind export and have turned off override with input, and have it set to Color as type.

Thanks!

/// Had to remove brackets for posting topic. [

Edited by ludwigvon - Sept. 9, 2016 08:32:41
User Avatar
Member
1742 posts
Joined: May 2006
Online
Hmm, that seems like a bug, worth reporting.

In the interim, you can fix it by appending an attribute create sop, give it the same name as your attribute, and set its type to ‘float’, ‘color’, or by using this in a wrangle:

   setattribtypeinfo(0,'point','foo','color');
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
27 posts
Joined: June 2016
Offline
Nice workaround! Thanks
  • Quick Links