Applying color conditionally

I have a series of 4-point surfaces and I am trying to classify them based on the measure of an angle between two of their sides. I would like to assign color to these surfaces based on the angle measurement. I would appreciate any help...

Thank you!
  • up

    David Rutten

    Hi Sameer,

    you could map the angle onto a Gradient object, then use the gradient output colour to control the diffuse channel of objects in the [Custom Preview].
    10
  • up

    Andrew Lyon

    Just curious about structuring a dithered color instead of a smooth gradient. I've been using the graph mapper and settig my domain and list values to be concurrent. any ideas about how to get a smooth dither with using a point for distance?


    -andrew