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!
Tags:
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.
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.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by