Announcement

Collapse
No announcement yet.

How does one specify additional paths to load V-Ray plug-ins?

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

  • How does one specify additional paths to load V-Ray plug-ins?

    I saw this:

    [feature request] Give the user the ability to specify additional paths where V-Ray plug-ins are loaded from - resolved.

    Wondering if there's any more detail on this. Thanks,

    Jens

  • #2
    In case of V-Ray for Maya just add your paths to the "VRAY_FOR_MAYA2009_PLUGINS_x86" environment variable (with a ';' separating each new path from the previous one). This is for Maya 2009 32-bit. For 64-bit versions the x86 must be substituted with x64.

    In case of V-Ray standalone, there is a "vrayconfig.xml" file in the same directory as vray.exe, you need to add your plug-in paths to the value of <PluginsPath>, again separated by ';'.

    Greetings,
    Vladimir Nedev
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      For the standalone, you can also use the environment variable VRAY_PLUGINS_x86 or VRAY_PLUGINS_x64 instead of modifying the vrayconfig.xml file.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Thank you Vladimir and Vlado!

        Comment


        • #5
          Hello again,

          So we've been using this V-Ray plug-in loader with the official release and it works great:

          putenv "VRAY_FOR_MAYA2009_PLUGINS_x64" "//server/mayashare/folder/vray/vrayplugins";

          However, when I switch to the nightly build (03/11), the vrayplugins fail to load. It appears to be looking in the correct place, but one '/' is missing. Output window prints this path:

          "/server/mayashare/folder/vray/vrayplugins";

          I've gotten it to work using a mapped network drive, but this isn't ideal:
          system "net use V: \\\\server\\mayashare \/PERSISTENT:NO";
          putenv "VRAY_FOR_MAYA2009_MAIN_x64" "V:/mayashare/folder/vray/vrayplugins";

          I'd like to get it working without a network drive though, any ideas why this is breaking? Thanks,

          Jens

          Comment


          • #6
            Thanks for the pointer; will look into it.

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment


            • #7
              The plug-in loading issue should be fixed for tomorrow's nightly build. The one from 2010-03-18.

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Hi again,

                Sorry to resurrect this one, but from my testing I still can't load vrayplugins over the network without a mapped network drive, in this case it's for distributed rendering. Here's the log:

                C:\>"\\server\folder1/folder2\folder3\folder4\vray_20101004\bin_dr\vray. exe" -server -portNumber=20207
                [2010/Oct/7|13:26:54] Reading configuration from "\\server\folder1/folder2\folder3\folder4\\vray_20101004\bin_dr\/vrayconfig.xml" (this file is where I'm setting the path to vrayplugins on the \\server)
                [2010/Oct/7|13:26:54] ===============================================
                [2010/Oct/7|13:26:54] V-Ray Standalone, version 1.5.01 for x64
                [2010/Oct/7|13:26:54] Copyright (C) 2000-2010 Chaos Group Ltd. All rights reserved.
                [2010/Oct/7|13:26:54] Use -credits option for additional third-party copyright notices.
                [2010/Oct/7|13:26:54]
                [2010/Oct/7|13:26:54] Build from Oct 4 2010, 07:13:38
                [2010/Oct/7|13:26:54] Compiled with Intel C++ compiler, version 11
                [2010/Oct/7|13:26:54] Operating system is Microsoft(tm) Windows(tm), version 5.2, Service Pack 2
                [2010/Oct/7|13:26:54]
                [2010/Oct/7|13:26:54] V-Ray core version is 1.90.03
                [2010/Oct/7|13:26:54] ===============================================
                [2010/Oct/7|13:26:54]
                [2010/Oct/7|13:26:54] Loading plugins from "\server\folder1/folder2\folder3\folder4\vray_20101004\vrayplugins/vray_*.dll" (regardless of what I do, it's always one "\", and the plugins are not loaded - I've tried forward/backward slashes, some of each, IP address, using fewer subfolders, etc. Removing all slashes also doesn't work.)
                [2010/Oct/7|13:26:54] Finished loading plugins. (Note there is no confirmation of 99 plugins loaded sucessfully)
                [2010/Oct/7|13:26:54] Entering server mode - waiting for render requests on port 20207. Press Ctrl+C to exit.

                Comment


                • #9
                  Yep, it was reported already and will be fixed.

                  Best regards,
                  Vlado
                  I only act like I know everything, Rogers.

                  Comment


                  • #10
                    Hello,

                    Same problem here.
                    I set this path in VRAY_PLUGINS_x64 or vrayconfig.xml :
                    \\myPath\toVRay\vrayplugins

                    But VRay.exe tries to look in this directory, which doesn't exist :
                    D:\myPath\toVRay\vrayplugins\

                    (I used Process Monitor to discover it)


                    Then I tried forward slashes instead of backward, same problem.

                    We can use network drive, but it's not a good solution.


                    On a side note, I noticed that if you set both VRAY_PLUGINS_x64 and vrayconfig.xml to point to the same location,
                    the plugins will be loaded twice (in the ray.exe logs you see the 96 plugins being loaded, then again the same 96 plugins gets reloaded).

                    This is on VRay for maya 1.50.SP1, Windows Seven 64 bit.


                    Also, you talk about nightly builds, where do you get them ?



                    Thanks,

                    Alain

                    Comment


                    • #11
                      That should be fixed already and as for the night builds you should contact the support team - vraymaya AT chaosgroup.com
                      Last edited by milena.sarneva; 29-11-2010, 09:52 AM.
                      V-Ray for Maya developer

                      Comment

                      Working...
                      X