Vray standalone template

Viewing 2 posts - 1 through 2 (of 2 total)
  • 22nd June 2012 at 1:37 pm #14488

    Hello,

    I’m having problems creating a new template. My problem seems to be in how I am mapping the executable.

    I’m working in a Linux environment and trying to create a Vray standalone template. I used the Mental Ray template to copy from, and edited the code bits to match my pointers to vray. When I test it out I get what seems to be the proper command line output, but when I try to run this from within Muster on one of my machines I get an error stating I have an Invalid executable.

    Here is the output from the test:

    Platform: Linux Arguments: -sceneFile= “blah/blah/render_0001.vrscene” -imgFile=”outputImage.exr” -display=0 -noFrameNumbers=1

    Here is the code I’m using in the template:

    DECLARE ENGINE_LINUX
    {

    SET PLATFORM_ENABLED 1
    SET ENABLE_ERROR_CHECK 1
    SET ENABLED_BY_DEFAULT 1
    SET FRAMESFLOATS 0
    SET COMMAND_LINE “-sceneFile= “%ATTR(job_file)” -imgFile=”%ATTR(output_folder)” -display=0 -noFrameNumbers=1″
    SET EXECUTABLE “%ATTR(VRAYEXECUTABLE)”
    SET STARTING_FOLDER “%ATTR(VRAYHOME)”
    SET ENVIRONMENT_BLOCK CUSTOM
    SET ENVIRONMENT_BLOCK DERIVED
    SET DETECTION_LOGIC PROC

    DECLARE CONFIGURABLE_TAGS
    {
    ADD VRAYEXECUTABLE FILE_SELECTOR “/apps/maya2012-x64/vray/bin/vray” “Vray executable” “Specify the Vray render executable” NOTACTIVABLE MANDATORY *.exe
    ADD VRAYHOME FOLDER_SELECTOR “/apps/maya2012-x64/vray/bin” “Location of Vray installation” “Specify the starting folder for the render process” NOTACTIVABLE MANDATORY

    }

    DECLARE CUSTOM_ENVIRONMENT
    {
    SET VRAY_FOR_MAYA2008_PLUGINS_x64=/apps/maya2008/vray/vrayplugins
    SET VRAY_FOR_MAYA2012_PLUGINS_x64=/usr/autodesk/maya2012-x64/vray/vrayplugins
    SET VRAY_FOR_MAYA2008_MAIN_x64=/apps/maya2008/vray
    SET VRAY_TOOLS_MAYA2012_x64=/usr/autodesk/maya2012-x64/vray/bin
    SET VRAY_AUTH_CLIENT_FILE_PATH=/apps/vray
    SET VRAY_FOR_MAYA2012_MAIN_x64=/usr/autodesk/maya2012-x64/vray
    SET VRAY_TOOLS_MAYA2008_x64=/apps/vray/bin
    }

    SET APPFINDER “VRAY” EXECUTABLE vray
    MAP VRAYHOME “%ATTR(APPPATH)”
    MAP VRAYSTARTINGFOLDER “%ATTR(APPPATH)”

    }

    My vray executable resides in “/apps/maya2012-x64/vray/bin”. I’ve tried all kinds of variations for mapping. I’ve tried:

    MAP VRAYEXECUTABLE “%ATTR(APPPATH)/%ATTR(APPBIN)”
    MAP VRAYHOME “%ATTR(APPPATH)”

    or

    MAP VRAYEXECUTABLE “%ATTR(APPPATH)”
    MAP VRAYHOME “%ATTR(APPPATH)”

    but nothing seems to work. I’m sure it’s something simple, but I would appreciate any help.

    Andrew

    22nd June 2012 at 2:02 pm #15197

    Moving this to the Templates forum…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.