ICE Color Attribute Q

42 views
Skip to first unread message

Morten Bartholdy

unread,
Jun 21, 2012, 7:28:15 AM6/21/12
to soft...@listproc.autodesk.com

I need to pass gradient color from ICE to the Rendertree, and following the docs, I have set up the ICE Tree with Get Data and Set Data for the pointcloud.Color. Now when I look up the attribute in the Rendertree for a Polygonizer object I only get Use Default Value in the dropdown menu of the Color_Attribute shader. I am sure I am doing this wrong, but the docs explain it like this. What might I have missed?

 

Morten

Alan Fregtman

unread,
Jun 21, 2012, 9:05:06 AM6/21/12
to Morten Bartholdy, soft...@listproc.autodesk.com
Hi Morten,

Is the node plugged in? It won't list things properly if it's floating, disconnected. It also won't be proper if the material is not yet applied on those meshes. (It uses the current objects with the material to populate those Attribute lists.)

If it's still flaky, then you may need to force the attribute to be visible (by using Show Values in its connection) as it could be the dreaded internal ICE optimization thinking "oh, you're not using that attribute in the ICE tree, so I'm gonna ignore it.."

Good luck!
Cheers,

   -- Alan

Guillaume Laforge

unread,
Jun 21, 2012, 9:17:12 AM6/21/12
to soft...@listproc.autodesk.com
I don't think it is because of some optimization. Attributes data will be pulled only if used in Softimage. So if the Render Tree need it, it should be available.

Morten, is you color applied on the polygonizer mesh ? It sounds like you are setting it on the point could but want to use it on the mesh ?

Morten Bartholdy

unread,
Jun 21, 2012, 9:30:47 AM6/21/12
to soft...@listproc.autodesk.com

Guillaume, do you mean if I have set the color data on the mesh? No it has no ICE tree - I just try and look up the attribute from the Rendertree.

 

Morten

Morten Bartholdy

unread,
Jun 21, 2012, 9:42:51 AM6/21/12
to soft...@listproc.autodesk.com

OK so I quickly tried applying an ICE tree to the polygonizer and getting the pointcloud.color  - so far so good. Problem now is it seems I can't plug that color in to a set data node using self.color - the set data node stays red. A context issue?

 

Morten

 


Den 21. juni 2012 kl. 15:17 skrev Guillaume Laforge <guillaume....@gmail.com>:

Alan Fregtman

unread,
Jun 21, 2012, 10:39:46 AM6/21/12
to Morten Bartholdy, soft...@listproc.autodesk.com
Yeah, context issue. They're different objects.

Try bringing in a "Get Closest Location On Geometry" with the pointcloud plugged in. From its output Location, get "Color" (no "self." bit) then try setting that with a SetData to self.Color.
Reply all
Reply to author
Forward
0 new messages