Announcement

Collapse
No announcement yet.

Stand Alone Denoiser with Frame Number Offset switch for net denoising

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

  • Stand Alone Denoiser with Frame Number Offset switch for net denoising

    Just wanted to add this to the wishlist in case it got lost in my previous thread.

    Can you please add an option to the command line stand alone (sa) denoiser that could save the file with an offset for the frame number.

    Right now, I can denoise images sequences over the network via backburner. However, this only works when the frame numbers start at 1.

    My current workflow, is I render out an image sequence and set the frame number offset in max so the files save starting at 1. Then I can run the sa network denoiser on multiple nodes. But all my image sequeces are saved starting at 1. I have to use a renaming tool on each sequence to rename them back to the corresponding frame number I am working on in max. If the sa denoiser had an offset, I could handle this step during the denoise. Thanks.

  • #2
    Yes, it's on the "to do" list.

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

    Comment


    • #3
      That's so great...I can hardly wait.

      Comment


      • #4
        Vlado,
        You recently replied in one of my posts, I thought, regarding this request being now included in the nightlies...but I could not find it, so I'm posting here.

        Another request (sorry this is late) I am beginning to realize is the ability to control how the output file names are named. I usually have long file names as is, and having that addition of "_denoised_ocl" somewhat distracts from the information I include in my file names.

        If possible, maybe have the option of leaving out that "_denoised_ocl" and have the files save to a folder of choice? I understand the input files would be overwritten if saved to the same folder location.

        Or, in the future, a GUI where one could specify the output file name, location, and offset frame number as mentioned above, would be great.

        I'm finding I'm using the Stand Alone denoiser all the time for animated sequence files...its great. If we could just dial in the file names and frame numbers it would be soooo much better.

        Thanks for your consideration in the matter.

        Comment


        • #5
          Yes, the offset is in the nightlies. An option for a custom suffix is on the "to do" list.

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

          Comment


          • #6
            Thank you so much for this...it will save me time. (I finally got this downloaded)

            Comment


            • #7
              BTW, here is my code in case it helps anyone. This was taken from dabarti's website with some modifications...it prompts the user for the number of tasks (frames) to denoise just to keep things efficient, and asks for the original frame number to set. I render out of max using a frame offset so the frames are saved starting at 0001 so this will work with backburner. I use the send to method dabarti taught accessing the sequence from the network (remote) path not the local path to get this to work.

              The original frame prompted for should be the original frame, not 1 less to compensate for the 0001. I arithmetic the 1 in to the frame offset for convenience. For example, lets say I render a sequence starting at frame 3820...out of max offset is -3819 so frames start at 0001. When prompted for the original frame in the batch file enter 3820...it will minus 1 and add to the proper offset to frame 0001 and so on, so you'll end up with the original 3820 in the frame number file name.

              echo off
              set /p taskNum=Enter number of files to denoise:
              set /p frameOffset=Enter original frame number:
              set /a frameOffset=frameOffset-1
              set input=%1
              set filename=%~n1
              set denoiser_input=%input:~0,-8%????.exr
              set jobname=%filename:~0,-5%
              "C:\Program Files (x86)\Autodesk\Backburner\cmdjob.exe" -jobname:%jobname%"_denoised" -managereath_Star -numTasks:%taskNum% "C:\Program Files\Chaos Group\V-Ray\3dsmax 2016 for x64\tools\vdenoise.exe" -inputFile="%denoiser_input%" -useGPU=2 -display=1 -autoClose=1 -outputOffset=%frameOffset% -frames=%%%tn


              http://dabarti.com/vfx/using-v-ray-d...nd-to-scripts/

              Comment

              Working...
              X