Results 1 to 4 of 4

Thread: batchrender errors

  1. #1
    Join Date
    Sep 2017
    Posts
    2

    Default batchrender errors

    When rendering a scene in 3DS Max 2018 (update2) everything renders fine without errors.

    But when I make a .bat file and try to start the bat file outside 3DS Max the I get errors and no rendering.

    I tried multiple scene/max files and they all have the same errors.
    This used to work with 3DS Max 2010 (different scene files), but not with 2018 anymore:

    This is how the bat file (test.bat) looks like :
    @echo off
    rem ---------------------------------------------------------------------------
    rem -- test
    echo Rendering Batch: test
    3dsmaxcmd C:\testrender\testx.max -batchRender:test ^
    -outputName C:\Users\nr\Documents\3dsMax\renderoutput\test.png ^
    -camera Camera001


    And this is what kind of errors i get :



    C:\Program Files\Autodesk\3ds Max 2018>test
    Rendering Batch: test
    16/09/2017 16:35:25; Max install location: C:\Program Files\Autodesk\3ds Max 20
    18\
    16/09/2017 16:35:25; Max executable: 3dsmax.exe
    16/09/2017 16:35:25; Max file being rendered: C:\testrender\testx.max
    16/09/2017 16:35:25; Batch render job being rendered: test
    16/09/2017 16:35:25; Renderer: Mental Ray
    16/09/2017 16:35:26; Data collection and use is 'ON'. Change your participation
    anytime in the Help menu of 3ds Max.
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(18156,29): conversion
    from 'float' to 'float3' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19160,16): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19168,16): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19237,23): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19355,1: conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19375,1: conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19461,22): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19470,10): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(19694,9): conversion f
    rom 'float' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(20430,40): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(20431,67): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(20756,37): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21188,25): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21692,60): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21696,60): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21700,60): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21702,60): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21706,60): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:56; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21759,56): conversion
    from 'float3' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21816,50): conversion
    from 'float' to 'float2' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21816,7: conversion
    from 'float' to 'float2' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 9 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\ifm.mdl(21816,9: conversion
    from 'float' to 'float2' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\Lw.mdl(136,37): conversion fro
    m 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\Lw.mdl(247,33): conversion fro
    m 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\Lw.mdl(288,46): conversion fro
    m 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\Lw.mdl(494,46): conversion fro
    m 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\Lw.mdl(537,33): conversion fro
    m 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(415,4: conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(502,3: conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(561,4: conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(769,46): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(854,7): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwBase.mdl(858,32): conversion
    from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(249,72): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(449,72): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(645,72): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(853,10): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(914,73): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(920,73): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(933,73): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(936,73): conv
    ersion from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(1015,10): con
    version from 'float' to 'color' must be explicit
    16/09/2017 16:35:57; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwConversion.mdl(1134,10): con
    version from 'float' to 'color' must be explicit
    16/09/2017 16:35:58; MENTAL RAY LOG: ***WARNING*** MDL 0.0 10 MB warn 78
    2007: MDLC: C:\ProgramData\NVIDIA Corporation\mdl\LwFinish.mdl(455,40): conversi
    on from 'float' to 'color' must be explicit
    Following output was truncated to 512 characters!16/09/2017 16:36:00; MENTAL RA
    Y LOG: ***WARNING*** MSG 0.0 10 MB error: FlexNet Publisher for NVIDIA Lice
    nse failure: Cannot find license file. The license files (or license server sys
    tem network addresses) attempted are listed below. Use LM_LICENSE_FILE to use
    a different license file, or contact your software provider for a license file.
    Feature: IRAY.3DSMAX Filename: C:\ProgramData\NVIDIA Corporation\Ira
    y License Manager\License Store\FLEXlm\*.lic License path: C:\flexlm\license.da
    t;C:\ProgramData\NVIDIA???16/09/2017 16:36:00; Error rendering frame 0: An unex
    pected exception has occurred in the network renderer and it is terminating.
    16/09/2017 16:36:01; Job Completed with Error(s) - see above
    16/09/2017 16:36:01; Job Completed with Warning(s) - see above
    16/09/2017 16:36:01; Scene C:\testrender\testx.max completed.
    16/09/2017 16:36:01; Max is down
    16/09/2017 16:36:01; Error occured while rendering job.
    C:\Program Files\Autodesk\3ds Max 2018>


    Any ideas?

  2. #2
    Join Date
    Dec 2004
    Location
    Marina Del Rey, California
    Posts
    4,143

    Default

    Batch rendering at the command line requires a Mental Ray license. See the lines noting that toward the end of your report.

    If you have installed a license, which kind did you install?
    Barton Gawboy

  3. #3
    Join Date
    Nov 2017
    Posts
    1

    Default

    I am having the same issue: When I render I get this message:

    "Error: This operation requires a mental ray license.
    Special pricing is available for systems containing an NVIDIA Professional GPU (Quadro or Tesla).
    Please purchase a license here: https://www.nvidia.com/object/nvidia-mental-ray-products.html"

    I have a license, and I put the path to the NVidia plug in into the Environment Variables on my computer, but I still get this message when I try to render on the command line, or with a .bat file.

    Can anyone tell me how to make windows recognize the NVidia licence?

  4. #4
    Join Date
    Dec 2004
    Location
    Marina Del Rey, California
    Posts
    4,143

    Default

    Are you using the NVIDIA UI for this? The NVIDIA Pro App Center (PAC). That's the easiest.

    Which license type did you purchase?
    Barton Gawboy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •