Grasshopper

algorithmic modeling for Rhino

Hey all,
I am familiar with mapping images and color etc to meshes derived from nurbs but how can i directly map an image to a mesh? in the attached, i have a surface which is driving pts for a voronoi on surface, and i have made a delanuy mesh from the pts that will make the vornoi so that the color can directly affect the cells of the vornoi. Either way, id like to directly map an image to a mesh. I know it has something to do with defining the range etc. HELP! thanks.

Views: 7085

Attachments:

Replies to This Discussion

You're actually so close it hurts. Essentially, you need a way to define your points in regards to the domain of the surface which you can then use to "match" to the domain of the image. If you just choose the Reparameterize option on the Surface component, that will remap the domain of the surface to 0-1, which will then translate really well to the image. Then all you have to do is take the uvP output from the surface closest point component and stick that into the input on the image sampler and your golden.
Dude......i tried that EXACT move! i totally forgot re parametrize..rookie move thanks aton! you really helped me out!
Hi Damien,,, tanx i got it... but what makes the image to look not very clear?

could you post the final GH definition. I really need it for my project 

You lookin ' for something like this?

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service