Hi Morten,
if you are you using the Polygonizer in EMTopolizer, it definitely works.
you would be already using a get_vertex_array to look up the positions of the 
pointcloud, plugged into the positions input of the Polygonizer preset.
You can just duplicate that vertex array and change it to lookup the colors 
instead and plug that into the color input of the Polygonizer.
I vaguely recall something like it not being exposed by default, but you can 
dig into the preset and expose the color input, and as Rob would say: et voila!
Oh, you might still need to add a “set colors” compound from the colors output 
of Polygonizer to the main ice tree.




From: Morten Bartholdy 
Sent: Thursday, April 11, 2013 4:54 PM
To: [email protected] 
Subject: Transferring pointcloud colors to a polygonizer mesh?

I am coloring particles in a pointcloud using Turbulize Color by Gradient - 
then I Polygonize the pointcloud and would like to render the polygonized mesh 
with colors from the particles. 




I have been suggested to apply an ICE tree on the Polygonize mesh and Get 
Closest Location to get a location on the point cloud, get the color from that 
location and store that as user data or vertex colors on the mesh. My problem 
is that when trying getting data from a pointcloud and trying to write it to a 
mesh, I keep running into having nodes that will not hook up due to type 
mismatch or just nodes going red. 




Is there an example scene or tutorial somewhere that explains this workflow 
(which I think should be built in like simple get and set data stuff that just 
works grr)? 




I checked the getters and setters scenes in the sample project but none of them 
transfer pointcloud colors to a mesh, so they were not very helpful. 







Morten 















Reply via email to