generative modeling for Rhino
Hi there grasshoppers!
I'm currently discovering the magnetic field components, and I'm stuck in a step that maybe you guys can help me out with it.
I create some fields, and then i use the Perpendicular Display to get a black/white analysis of it. The thing is that I don't know how to make that mesh (because on the D output it says that it's a mesh) and image, so then I can connect it to the image sampler (still don't know how), and then get the heights, from that the surface and from that, the isocurves.
I know how to do everything but this step I'm having problems with. I've tried with the Kinnect, Millipede, and Lunchbox plug-ins, but I'm only 3 weeks in the grasshopper world and it's driving me crazy.
A million thanks for the help!
The Field display components output meshes with colours assigned to vertices. This is not the same as an image and it cannot be used to feed an image sampler object (not without some custom coding anyway).
However, it is possible to sample a coloured mesh in a way that is similar to Image Sampler. Mesh [Closest Point] and [Mesh Eval] will allow you to get the colour of a mesh in between vertices.
Thanks for the answer. I've tried it again with the information you gave me but the color parameter appears null... I don't know whether I'm missing something or that that's not the way to do it
Thanks for the help!
i got the same problem.
meshCP and MEval and null values in colour output.
if you use decompose mesh, you can get the vertex colour.