Grasshopper

algorithmic modeling for Rhino

Hello all, I am attempting to make a simple graphic, three overlapping surfaces (or anything really) in the form of circles, with additive color mixing (like light) so where the Red, Blue, and Green overlap, there is a white area. I am happy if this works with curves or surfaces or breps, and it can be actual mixing or a lot of intersections with colors defined individually. How would you proceed? GH and Image attached. I have tried a lot of intersection maths with no luck. My goal is to apply this process to more complex forms.

It seems that all color is subtractive in GH. Is this true? 

Physics of color!

Thanks, 

Mike

Views: 721

Attachments:

Replies to This Discussion

You can use the regular arithmetic operators to add/multiply/subtract colours. The attached is not the most elegant solution, but it shows both how you can control the strength of a colour (by multiplying it with a number) and how to combine colours in an additive way.

Attachments:

Hey David, thanks. That's really helpful. Do you think there is a way to do it without the low resolution of a small point clout or the slow processing of a large point cloud? I'll play around with the idea over the next few days. Thanks again for the direction. 

Possibly. You'll need to generate accurate geometry and then display that geometry using custom Display component. You can use [Surface Split] to create accurate geometry, and use the [Create Material] component with black for Diffuse and Specular and your computed colour for Emission to make sure the viewing and light angles don't affect the drawn colour.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service