personal coding milestone achieved - importing colour data into Hemesh + Processing!!! Thanks Corneel Cannaerts for his HEC_FromObjFile class that I’ve hacked, and then for fixing my hack over an email to correctly lerp vertex colour to face colour. So to get from 3D scan to this you must:
1. Export 123D scan as obj file with texture.
2. Open in meshlab, do the texture color -> vertex color. Save as .obj 
3. Copy the HEC_FromObjFile into a .pde tab, change class name.
4. When it reads iterates through vertices getting parts 1,2,3 (x,y,z) tell it to also get parts 4,5,6 (rgb for vertex). Save that into an Arraylist of colors
5. Extend HE_Mesh class to store face color, iterate through faces, get face vertices, match vertex with colour data from your Arraylist. Lerp the 3 vertex colours to produce one face colour. Mesh.display()
6. Go to tumblr, let others know.

personal coding milestone achieved - importing colour data into Hemesh + Processing!!! Thanks Corneel Cannaerts for his HEC_FromObjFile class that I’ve hacked, and then for fixing my hack over an email to correctly lerp vertex colour to face colour. So to get from 3D scan to this you must:

1. Export 123D scan as obj file with texture.

2. Open in meshlab, do the texture color -> vertex color. Save as .obj 

3. Copy the HEC_FromObjFile into a .pde tab, change class name.

4. When it reads iterates through vertices getting parts 1,2,3 (x,y,z) tell it to also get parts 4,5,6 (rgb for vertex). Save that into an Arraylist of colors

5. Extend HE_Mesh class to store face color, iterate through faces, get face vertices, match vertex with colour data from your Arraylist. Lerp the 3 vertex colours to produce one face colour. Mesh.display()

6. Go to tumblr, let others know.

Just discovered that a huge range of complex colour gradients are easily achieved by doing a 50/50 color-lerp between two colours in HSB mode. Hue is affected by height and a range parameter. Just 4 adjustable sliders gives you a lot of scope, and thats without some of the random variance I’ve used in other gradient algorithms.

If only meshlab was clever enough to export colorSTLs or able to at least turn mesh face color into a texture file. This mickey is trapped inside meshlab, poor thing.

If only meshlab was clever enough to export colorSTLs or able to at least turn mesh face color into a texture file. This mickey is trapped inside meshlab, poor thing.

Hand. Printed.

Hand. Printed.

#ccc + tSet();

#ccc - color co-creator

#ccc - color co-creator

Processing sketch now named: #ccc - “color co-creator”

Processing sketch now named: #ccc - “color co-creator”

Day 1 of building the new parametric colour interface, with color-stl export, in Processing. I’m liking the accidental cyan dapple, worthy of a print perhaps.

Day 1 of building the new parametric colour interface, with color-stl export, in Processing. I’m liking the accidental cyan dapple, worthy of a print perhaps.

Processing success with exporting color stl files, for the purpose of printing in multicolor which is on discount this month. Generative colour meshes/ objects coming soon :)

Processing success with exporting color stl files, for the purpose of printing in multicolor which is on discount this month. Generative colour meshes/ objects coming soon :)