10/9/2023 0 Comments Vray 3 rhino use materialsPrivate Sub RunScript(ByVal M As Object, ByVal C As Color, ByRef Mat As Object)ĭim mTemp As mTemp = CType(M, ) If > 0 Then mTemp.DiffuseColor = C Dim nTemp As String = mTemp.Name & "_" & C.R & "_" & C.G & "_" & C.B mTemp.Name = nTemp End If I'm not going to learn C# to modify his script, so I am catering to its demands. Now I need to add them to the document material table so that they can be used with Giulio's rendering component (which looks for either or a String that references a document object). I have gotten as far as creating the materials. Now I would like to use a single VRay material as a template for creating multiple identical materials with different colors within the GH environment (instead of creating manually in the document). I have gotten as far as extracting VRay materials/names from the document object. Trying to write some tools to augment Giulio's great rendering component.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |