algorithmic modeling for Rhino
Hi all,
I'm trying to colour a mesh depending on the height on the mesh.
My way was to explode the mesh into faces, get the centre point and make the gradient from that way.
However, I need a closed mesh at the end of the it and when I take it into rhino and join the faces together, they obviously all lose there colour.
Tags:
Colours are assigned to vertices, not faces. So I think you're better off just extracting the z coordinate of each vertex and using that as a gradient parameter.
I just removed the dot product and it seemed to work that way.
Thanks again
Yeah the dot product simulates lighting, so the underside would have been in total shade.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by