Grasshopper

algorithmic modeling for Rhino

Hi! I am wondering if it is possible to deconstruct the shader data to get its colour value. I tried to cast it to colour type but it didn't work. I tried to use Deconstruct Material with Panda, it doesn't work. Any help is appreciated :)

Views: 677

Replies to This Discussion

Figured it out, I need to cast it to DisplayMaterial type and it has the diffuse property to extract. 

No this can't be done. In fact the latest version of GH on Rhino WIP has far more complicated shaders where deconstructing doesn't even make sense any more.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service