Grasshopper

algorithmic modeling for Rhino

Creation
Display
Document Info
Document Modifications
Misc
Reference
Texture Mapping
TreeFrog

Create/Modify Materials

Component Index > Human > Document Modifications > Create/Modify Materials

Create or Edit document Render Materials.
Note: Component can only modify materials created
by the component earlier - it will not recognize
materials that were added manually to the Rhino document.

Inputs

NameIDDescriptionType
NameMNName of material to add or modify.String
DiffuseKdColor of the diffuse channelColour
SpecularKsColor of the specular highlightColour
EmissionKeEmissive color of the materialColour
AlphaAAmount of Transparency (0.0 = Transparent, 1.0 = opaque)Number
GlossGAmount of glossy shine on the material. (0.0 = Matte, 1.0 = Full gloss)Number
Diffuse BitmapDBFile path to an image to use in the diffuse channelString
Transparency BitmapTBFile path to an image to use in the transparency channelString

Outputs

NameIDDescriptionType
NameMNName of materials successfully added or modifiedString

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service