Grasshopper

algorithmic modeling for Rhino

Hi,

I didn't know until now that the image sampler depends on the angle of surface that is divided for the pattern making. In the Grasshopper example below, the result from the same image sampler varies depending on the angle of the surface divided.

I'm trying to use the image sampler drive the building facade patterns, so I'm wondering if there is a simple way to make the image sampler work on surfaces perpendicular to x-y planes.

Hope I can get some help soon!

Thank you.

Views: 655

Attachments:

Replies to This Discussion

Image sampler needs two values per coordinate.So if it is Cartesian it uses just x and y. Z is not used, you will need to transform Cartesian coordinate in planar coordinate

Thank you for the answer! Do you mean that I have to orient surfaces to world coordinates to create patterns with the image sampler and then bring patterned surfaces back to the original location?

You will have to use a projection, it is like texturing. With surface you could use U V coordinates with domain that match the domain of the image in image sampler. Most of the time between 0 and 1, or 0 yo number of pixel.

For the time being, I'm just relocating the surface for the image sampling and getting patterned surfaces back to the original location. It would be great to see an example of what you're describing it for me to enhance my GH definition, if you have some time later. Thank you Laurent!  

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service