Grasshopper

algorithmic modeling for Rhino

Hello there,

I am making a perforate window mesh with the help of Image sampler. The image is output from Ecotect analysis, in which the daylight factor range from blue(dark) to yellow(light) suggests shaded region(minimum light gain) to exposed region (max light gain) respectively. Hence to respond this condition Blue region should have larger perforations and yellow should have denser perforations (or none) for efficient performance of mesh.

But as image sampler works, as far i know is by assigning larger values for light colour and lesser for dark colours. 

Please help me out to invert these values with respect to colour spectrum.

Attached are GH file and image used.

Thanks in advance.

Views: 2875

Attachments:

Replies to This Discussion

You can use the ReMap Component to reverse the Image Sampler's output Have your Source Domain 0 to 1 and your Target Domain 1 to 0.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service