Announcement

Collapse
No announcement yet.

TUTORIAL: Installing V-Ray full version in OS X

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

  • TUTORIAL: Installing V-Ray full version in OS X

    Installing V-Ray full version in OS X - Jun 2013

    Only V-Ray version i successfully have got working is: "vray_adv_20004_maya2010_leopard_x86"
    Tested and confirmed working on:
    * iMac 27 (13.2) OS X 10.8.4
    * Mac mini (6.2) OS X 10.8.4
    * Mac Pro (1.1) OS X 10.7.4

    INSTALLING V-RAY

    1. Go to http://www.chaosgroup.com register, login and login and go to downloads and the V-Ray Maya section. Choose the x32 tab and download the "vray_adv_20004_maya2010_leopard_x86" link and unzip the file.

    2. Open the terminal (spotlight and type Terminal) and type (cd ) and then drag the unzipped folder into the Terminal window so it looks like: (cd /Users/Johny/Documents/V-Ray/x32/vray_adv_20004_maya2010_leopard_x86) and hit ENTER.

    3. Type (ls) and hit ENTER and it should show:
    ……………………………………………………………………………………………….
    imac:vray_adv_20004_maya2010_leopard_x86 Johny$ ls
    WkRuntimeUser_6.0.501.dmg vray_adv_20004_maya2010_leopard_x86.exe
    install_vrayformaya.pdf vrlservice_adv_22001_darwin_x86.exe
    installcfg.txt

    ……………………………………………………………………………………………….

    4. Type (sudo ./vra) and hit TAB to auto complete and hit ENTER, it will ask for your password, type it and hit ENTER and the installation will start. You'll need to hit ENTER many times to complete the installation. At the end you'll get this:
    ………………………………………………………………………………………………
    Choose installation type:
    1) Full (Includes V-Ray for Maya 2010 and V-Ray standalone)
    2) Standalone only (Includes V-Ray Standalone only)
    Enter your choice [1-2, default is 1]:

    ………………………………………………………………………………………………

    5. Type 2 and hit ENTER, then a few more ENTER until you get:
    ………………………………………………………………………………………………
    Thank you for choosing V-Ray as your renderer.

    Any questions or comments send to vraymaya@chaosgroup.com.
    Register V-Ray render slave as a service ([no] or yes):

    ………………………………………………………………………………………………

    6. If it's your main render machine type (no) and hit ENTER, and answer (no) for (Open the changelog file after the installation) and ENTER twice.

    Done!
    ……………………………………………………………………….


    INSTALLING THE VRLSERVICE


    1. In the Terminal window type (ls) and hit ENTER to confirm you still see the installation files:
    ……………………………………………………………………………………………….
    imac:vray_adv_20004_maya2010_leopard_x86 Johny$ ls
    WkRuntimeUser_6.0.501.dmg vray_adv_20004_maya2010_leopard_x86.exe
    install_vrayformaya.pdf vrlservice_adv_22001_darwin_x86.exe
    installcfg.txt

    ……………………………………………………………………………………………….

    2. Then type (sudo ./vrl) and TAB to auto complete and hit ENTER, then you'll probably have to type your password again and hit ENTER, followed by about 13 more ENTER, finally you'll be asked to answer:
    Register the V-Ray license service ([no] or yes):
    Personally i like to just start the server when i need it instead of having it being auto started each time the computer starts so i type (no) and hit ENTER.

    Done!
    ……………………………………………………………………….


    INSTALL THE WibuKey/Runtime-Kit WkRuntimeUser_6.0.501.dmg

    This one is needed to read your Dongle license.

    1. From the unzipped folder mount the "WkRuntimeUser_6.0.501.dmg" and install the "WkInstall.mpkg"

    Done!
    ……………………………………………………………………….


    SET THE VRLSERVICE

    Tells the vrlservice what ip address it should use.

    1. In a Terminal window navigate to the location of the "setvrlservice.exe". One easy way to do this is to open a Finder window and click your way to /Applications/Autodesk/maya2010/ and then right click on "Maya.app" and select "show package content" and browse to "/Contents/vray/bin"
    In Terminal type (cd) and drag the "bin" folder into the terminal and hit ENTER, then type (ls) and hit ENTER and you should see:
    ……………………………………………………………………………………………….
    imac:bin Johny$ ls
    libcgauth.dylib setvrlservice.exe vrayconfig.xml
    libvray.dylib vray vrayslave
    plgparams.exe vray.exe vrayterminal

    ……………………………………………………………………………………………….

    2. Now type (sudo ./set) and TAB to auto complete and hit ENTER, your password + ENTER and you'll get some info like:
    ……………………………………………………………………………………………….
    Displays or changes the location of the V-Ray license server (VRLServer.exe)
    Copyright (C) 2005-2006 Chaos Group Ltd. All rights reserved.

    Usage:
    setvrlservice [-product] [-name] [-dump] [-server="<server>"] [-port=<port>]

    Options:
    -product - product ID for which to set the settings.
    -name - product name to show in the GUI.
    -dump - prints the current license server settings.
    -server - specifies a new server name.
    -port - specifies a new server port; if not specified, the default
    port number is used.
    -server1, -server2 - specifies alternate license servers.
    -port1, -port2 - specifies the ports for each of the alternate servers

    ……………………………………………………………………………………………….

    3. Now press the up arrow on your keyboard to repeat the last command and after the command add "-server=localhost" so it will look like this:
    ……………………………………………………………………………………………….
    imac:bin Johny$ sudo ./setvrlservice.exe -server=localhost
    ……………………………………………………………………………………………….

    and hit ENTER.

    * You can also use your local IP instead of localhost.
    ** If your V-Ray server (vrlservice) would be on another computer, add that IP number instead of localhost.


    4. To confirm the vrlservice is running you first have to start it (unless you opted for it as service earlier)
    So in Finder go to "Program/Chaosgroup/VRLService/darwin_x86/bin" and double click the "vrlservice.exe.app"

    *** For easier access to it in the future make an alias of the "vrlservice.exe.app" and put the alias somewhere else.

    5. If the vrlservice now is running you should see the black icon in the dock, now open a web browser and type in (localhost:30304) for URL and hit ENTER, you should get a page with a link (Get status of the server) click on it and it will show the server info and that it isrunning.

    Done!
    ……………………………………………………………………….


    CREATE A SYSTEM LINK TO VRAY

    For the Blender exporter to find V-Ray it will look for a system link that will point it to V-Ray, so we need to make that symlink.

    1. Open Terminal and type (cd /usr/bin/) + ENTER

    * If you earlier had installed the demo version of V-Ray you probably already have made a symlink and will need to remove that first by typing "sudo rm -f vray" + ENTER.

    2. Then type (sudo ln -s /Applications/Autodesk/maya2010/Maya.app/Contents//vray/bin/vray vray)
    It should look like this:
    …………………………..……………………………………………………………………………………………….
    imac:bin Johny$ sudo ln -s /Applications/Autodesk/maya2010/Maya.app/Contents//vray/bin/vray vray
    …………………………..……………………………………………………………………………………………….
    and hit ENTER.

    ** It's the full path to vray and at the end the what the symlink will be named (it must be named vray of course)

    Done!
    ……………………………………………………………………….

    TROUBLE SHOOTING

    For some reason i couldn't get V-Ray to start on my new iMac 27 at work, as soon as i hit render i only noticed the V-Ray (exe) icon popup for a second in the dock and then disappear.
    Starting Blender in Terminal mode and hitting render showed this in the end of the Terminal message: (error: Could not obtain a license (61).)
    After some digging around i noticed at the step for installing the vrlservice i typed "sudo ./setvrlservice.exe -dump" to see the current server settings and got this:

    ……………………………………………………………………………………………….
    imac:bin Johny$ sudo ./setvrlservice.exe -dump
    Current settings:
    Server: "localhost"
    Port: 443
    Alternate server #1: ""
    Alternate port #1: 30304
    Alternate server #2: ""
    Alternate port #2: 30304

    ……………………………………………………………………………………………….

    The Port: 443 didn't feel right so i then typed "sudo ./setvrlservice.exe -port=30304" and boom… material preview and render in Blender now worked.


    CONTRIBUTING

    I'm not very good at this advanced terminal stuff but i want the possibility to use V-Ray in Blender and OS X and hope we all can try contribute with knowledge and tips.
    Please share your findings if you got a newer version working, if you stumbled upon a problem and how you solved it.

    Thanks

    Johny Åkerlund

  • #2
    Re: TUTORIAL: Installing V-Ray full version in OS X

    Thanks! I've added the link to the wiki: https://github.com/bdancer/vb25/wiki/V-Ray-Installation
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Is it just me or does the demo download page not have the "vray_adv_20004_maya2010_leopard_x86" version available anymore?

      Comment


      • #4
        It's there: http://download0.chaosgroup.com/priv...a2010_leopard/
        V-Ray/PhoenixFD for Maya developer

        Comment

        Working...
        X