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?
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
On Thu, Jun 21, 2012 at 7:28 AM, Morten Bartholdy <x...@colorshopvfx.dk>wrote:
> 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?
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 ?
On Thu, Jun 21, 2012 at 9:05 AM, Alan Fregtman <alan.fregt...@gmail.com>wrote:
> 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
> On Thu, Jun 21, 2012 at 7:28 AM, Morten Bartholdy <x...@colorshopvfx.dk>wrote:
>> **
>> 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?
> 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 ?
> On Thu, Jun 21, 2012 at 9:05 AM, Alan Fregtman < alan.fregt...@gmail.com
> <mailto:alan.fregt...@gmail.com> > wrote:
> > 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
> > On Thu, Jun 21, 2012 at 7:28 AM, Morten Bartholdy < x...@colorshopvfx.dk
> > <mailto:x...@colorshopvfx.dk> > wrote:
> > > 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?
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.laforge...@gmail.com>:
> 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 ?
> On Thu, Jun 21, 2012 at 9:05 AM, Alan Fregtman < alan.fregt...@gmail.com
> <mailto:alan.fregt...@gmail.com> > wrote:
> > 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
> > On Thu, Jun 21, 2012 at 7:28 AM, Morten Bartholdy < x...@colorshopvfx.dk
> > <mailto:x...@colorshopvfx.dk> > wrote:
> > > 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?
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.
On Thu, Jun 21, 2012 at 9:42 AM, Morten Bartholdy <x...@colorshopvfx.dk>wrote:
> 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.laforge...@gmail.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 ?
> On Thu, Jun 21, 2012 at 9:05 AM, Alan Fregtman < alan.fregt...@gmail.com> wrote:
> 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
> On Thu, Jun 21, 2012 at 7:28 AM, Morten Bartholdy < x...@colorshopvfx.dk> wrote:
> 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?