Grasshopper

algorithmic modeling for Rhino

Is there a way in gh to color each side of a single surface with different colors? Right now I am offsetting a surface and coloring each one differently to fake it but I really don't want to do this as it adds unnecessary complexity to the algorithm? Thanks forum!

Views: 1085

Replies to This Discussion

To my understanding, there's no built in way to apply colors to different sides of a surface since GH just sees it as one face.

However, I found a workaround using Horster that compares the camera's angle to a surface's normal to choose a color to apply in a preview.

The surface on the right is the same as the one on the left, just moved and rotated.  Then I took the normals from both, found the angle between them and the camera's view angle, set a threshold to determine which side the camera is seeing, then used that to pick a color. As you rotate the camera, the face will switch colors.

Attachments:

If this is for the purpose of rendering and if you're using Vray, you can make a two sided material and apply it to the layer that you're baking your objects onto.

great ideas thanks ! E

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service