Announcement

Collapse
No announcement yet.

V-Ray Material Library sample refresher script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    Originally posted by JScullin View Post
    Thanks. Sent along the .mat file and some details.
    I've replied to you about the RWS, thanks for noticing the issue.
    We'll see what's the best way forward for RWS-mapped materials and textures: it's not trivial, unfortunately.
    For now, matching materials with RWS between the material library and the material editor, needs user input: the default material size in the material editor options needs to be set to 80cm (or 31.5 inches).
    Do *not*, under any circumstance, edit the swatch scene, as the script relies on it being exactly as shipped, and would break otherwise.

    I also wanted to add that when importing the materials to the browser library it's not updating the material with the new bitmap paths, but it is moving the bitmaps to the new location.
    It works on my side, would you be so kind as to provide me with more info?
    E-Mail is good, ofc.
    Attached Files
    Last edited by ^Lele^; 09-08-2021, 03:45 AM.
    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #62
      Sure. I have a library on a network location, and have installed the Vray Material Library Browser assets to another network location. When I run the add to library script to move the materials I made to the library location it runs it as expected and moves the assets to the new location, but it's not updating the material with the new bitmap paths. So when you bring them in all the resources still point to the original location.

      Comment


      • #63
        Does the process work as expected if you make it copy to a local path for which you are sure to have write rights?
        Is the listener printing anything at all (like, f.e. "Couldn't copy X to Y")?

        I've made the script error silently, instead of popping a dialog, so to allow for mass-operations when, f.e. a specific file cannot be copied, otherwise users queuing many files at once for overnight processing would come back in the morning to the sore sight of a process stopped prematurely.
        The tradeoff is that the listener will contain all the errors it found.

        I'm asking as it works for me, i checked and checked the code, and i can see nothing suspicious (the method i used is canon, no fancy custom stuff.).
        Lele
        Trouble Stirrer in RnD @ Chaos
        ----------------------
        emanuele.lecchi@chaos.com

        Disclaimer:
        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

        Comment

        Working...
        X