Grasshopper

algorithmic modeling for Rhino

Hi,

I have a flat surface divided in 7x7 squares and trimmed by a box in the center. The center point of each square is connected by lines. The number of broken lines (broken by the box or the surface) gives each center point a value. That value then determines the color of each points mesh face.

I am not satisfied with how the colour blend is reproduced. As I understand it the points values are symmetrical over the surface, eg. all corner points have the same value. The colour blend is however not symmetrical. 

Does anyone have an idea for the reason behind this? Is there another way I could achieve the result I am after?

Best,
Christofer

Views: 410

Attachments:

Replies to This Discussion

Mesh colours are assigned on a per-vertex basis, whereas your points are clearly in the middle of each quad. This will need to change.

You also can't compute colours for one mesh, then assign them to another, the amount and order of vertices will probably not be the same. Have a look at the attached file, I'm not sure it does what you need, but then I don't fully understand what you need.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service