To get the colors from the point cloud onto the polygonizer mesh, you need to do something like this:
- On the polygonizer mesh, create an ICE Tree.
- Use Get Closest Location to get a location on the point cloud, get the color from that location.
- Store that color somewhere (eg in an attribute on the polygonizer mesh, or in a vertex color map).
Here I’m storing the colors in a CAV:
And here I’m sticking the colors in a per-point Color attribute:
I love your posts. They open your eyes about certain details in Softimage. But ICE… man, ICE is just not meant for me!
Thanks.
We all have our areas of expertise 🙂 Myself I often have a hard time seeing problems in rendered images…
For mental ray there’s also the “point cloud lookup” node – could be considered for this in case the mesh isn’t dense enough. Does read vectors only so some conversion would have to be done too.
Ah, but Arnold/SItoA doesn’t have that node 🙂
This question came from an Arnold customer.
Oh, thanks!
Yesterday I had very hard time trying to workaround same task because I didn`t know that I can use “Get Closest Location” with point cloud instead of geometry as input =)
Seems like I still have same problem. How did you make “Get closest location” to work with particle cloud? It`s not working for me, just returning the same position I have on input.
Hi Danil
Here’s an example:
http://screencast.com/t/br2gxCftlX
sphere = a point cloud
Reblogged this on Digital Pictures, Inc. and commented:
XSI tip