I have been facing a problem loading materials from Proxy objects, especially from previous versions like 3.6. Would there be a way to reload these materials in V-Ray 4.2 or newer, using the ruby console from the .vrmat file created from the proxy? I noticed that there was an update to this .vrmat file in the new versions. Thanks
Announcement
Collapse
No announcement yet.
Reload Proxies' Materials
Collapse
X
-
konstantin_chaos Is it possible to create a ruby script that allows you to change the materials in a list in the proxy? For example, I have a blue fabric material and I want to select a red fabric, which is in my list of materials, and change it in the selected proxy model. I consulted the V-Ray API, but it is still a bit limited and I did not find a function that would allow this change. Could you help me? Thanks
-
Here's a very simple example - ReplaceProxyMaterial_01.zip
It finds a proxy called "Proxy1" and replaces it's materials with 2 materials called "red_material" and "blue_material".
Before:
After:
Hope that helpsLast edited by konstantin_chaos; 05-03-2025, 01:26 AM.
- Likes 1
Comment
Comment