Announcement

Collapse
No announcement yet.

Obsolete argument warning

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

  • Obsolete argument warning

    Hi,

    I have installed the latest stable nightly (build 22419), with Maya2013 on Windows Seven 64bit.

    I am using this command-line render :
    render -r vray -threads 0 -rd O:/pathToWriteImages/output -s 1 -e 5 -proj O:/pathToMyProject O:/pathToMyScene/test.mb

    While rendering, I get this warning twice :
    Warning: file: d:\temp\AST80FB292.tmp line 11: The flag "-renderType" is obsolete and has been replaced by the "-fileRule" flag. Please use the new flag.

    Looking at the "d:\temp\AST80FB292.tmp" file (which I guess is produced by VRay), I see this at line 11 :
    workspace -rt "images" "O:/pathToWriteImages/output";workspace -rt "depth" "O:/pathToWriteImages/output";; // For flag -rd

    Please use the new syntax, as artists are looking for "warnings" and "errors" in logs, so false positives are a loss of time.

    Thanks.

  • #2
    Hi,

    Thank you for the report. I've seen where the problem is and I'll fix it as soon as possible.

    /Teodor
    V-Ray developer

    Comment


    • #3
      Thanks Teodor.
      Is it something I can change in the current VRay installation ?
      (I searched in VRay's mel scripts, but didn't find it, so I guess it's in the cpp plug-in)

      Comment


      • #4
        No, it's not in .cpp code but in the vrayRenderer.xml file; Teodor will get you more details.

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

        Comment


        • #5
          It is in the vrayRenderer.xml.

          This is the line that should be change:
          Code:
          <mel n="rd" p="1" t="path" s='workspace -rt "images" "%1";workspace -rt "depth" "%1";' h="Directory in which to store image file"/>
          I've already fixed the mel files, but I've skipped this file, because my find in files filter doesn't have xml in it.

          /Teodor
          V-Ray developer

          Comment


          • #6
            So in the vrayRenderer.xml file I will replace both "-rt" entries by "-fileRule".
            Teodor, are you saying there are also mel files that need to be modified ?

            Comment


            • #7
              Yes, replace -rt with -fileRule/-fr.
              And no, I've fixed all mel/c++ files already.

              /Teodor
              V-Ray developer

              Comment


              • #8
                I modified the vrayRenderer.xml file (replaced -rt by -fr).
                I launched a render to check, it's fixed, thanks !

                Comment


                • #9
                  Ok, this should be fixed in the next nightly, too.
                  Thanks for reporting it.

                  /Teodor
                  V-Ray developer

                  Comment


                  • #10
                    Thank you.

                    Comment

                    Working...
                    X