Denoise renders and save a LOT of time! (Nvidia not Reqd)

1235713

Comments

  • Matt_CastleMatt_Castle Posts: 2,571
    Padone said:
    On the denoiser page itself I found that it works best when providing all the rendering buffers.

    It says that, but I can't get Iray to chuck out the right AOVs - I've tried rendering out canvases, but Iray doesn't have an albedo canvas option (while "Diffuse" is sometimes an interchangeable term, the results that particular canvas gives are definitely not suitable for what the denoiser wants, and the results of trying to use it are correspondingly worse than just running it on the "beauty" render).

  • I want to use this but I must be dense do you apply this during the rendering process or after?  Sometimes I just scan things instead of really reading something. It's something my wife has reminded me often.

  • xmasrosexmasrose Posts: 1,403

    After the render, outside of DS.

  • After the render, outside of DS.

    Copy that thanks!

  • Blind OwlBlind Owl Posts: 501
    edited March 2019
    Taoz said:
    Blind Owl said:

     

    Maybe your driver is too old:

    "As with the upgrade to OptiX 6.0.0 you will now require an Nvidia driver of at least 418.xx or higher and an Nvidia GPU of Maxwell architecture (Geforce 700 series) or higher."

    https://github.com/DeclanRussell/NvidiaAIDenoiser/releases

    Spot on!

    NVidia has been known to produce some terrible clunkers—drivers that don't work as well as ealier versions, or have compatibility problems, or both—so I've been reluctant to update mine. But, after creating a restore point just in case, I bit the bullet & installed the latest.

    Now both denoisers work fine, taking about the same time—a couple of seconds for a 1920 X 1080 render—to produce approximately the same results. So far, I can't see much difference in performance or output, but further comparison is obviously in order. Your DnD utility makes it super easy to switch from one to the other until I can decide which I prefer.

    So thanks again, eh? (as we're alleged to say in Canada)

    Post edited by Blind Owl on
  • TaozTaoz Posts: 9,941
    Blind Owl said:
    Taoz said:
    Blind Owl said:

     

    Maybe your driver is too old:

    "As with the upgrade to OptiX 6.0.0 you will now require an Nvidia driver of at least 418.xx or higher and an Nvidia GPU of Maxwell architecture (Geforce 700 series) or higher."

    https://github.com/DeclanRussell/NvidiaAIDenoiser/releases

    Spot on!

    NVidia has been known to produce some terrible clunkers—drivers that don't work as well as ealier versions, or have compatibility problems, or both—so I've been reluctant to update mine. But, after creating a restore point just in case, I bit the bullet & installed the latest.

    Now both denoisers work fine, taking about the same time—a couple of seconds for a 1920 X 1080 render—to produce approximately the same results. So far, I can't see much difference in performance or output, but further comparison is obviously in order. Your DnD utility makes it super easy to switch from one to the other until I can decide which I prefer.

    So thanks again, eh? (as we're alleged to say in Canada)

    You're welcome! In the next version you will be able to switch between them with just a click, and have other options as well. The current one will expire on march 30, I will post links here to the next update before then.

  • TaozTaoz Posts: 9,941

    I want to use this but I must be dense do you apply this during the rendering process or after?  Sometimes I just scan things instead of really reading something. It's something my wife has reminded me often.

    In the DS 4.11 beta you can also enable it so it works during rendering (under Filtering).

  • LenioTGLenioTG Posts: 2,118
    Taoz said:

    I want to use this but I must be dense do you apply this during the rendering process or after?  Sometimes I just scan things instead of really reading something. It's something my wife has reminded me often.

    In the DS 4.11 beta you can also enable it so it works during rendering (under Filtering).

    You're doing a great job, thanks!

    Do you mean the postdenoiser stuff? Or am I missing something?

    Too bad I have an AMD CPU, if the Intel one is really better!

  • TaozTaoz Posts: 9,941
    kameneko said:
    Taoz said:

    I want to use this but I must be dense do you apply this during the rendering process or after?  Sometimes I just scan things instead of really reading something. It's something my wife has reminded me often.

    In the DS 4.11 beta you can also enable it so it works during rendering (under Filtering).

    You're doing a great job, thanks!

    Thanks, but all I'm really doing is creating a DnD interface for the standalone denoisers. The important stuff is made by others.  :)

     

    kameneko said:

    Do you mean the postdenoiser stuff? Or am I missing something?

    The nVidia Denoiser is built into DS 4.11 and doesn't need any 3rd party apps or add-ons to use. It can be enabled under Filtering in Iray settings. The effect is the same AFAIK.

     

    kameneko said:

    Too bad I have an AMD CPU, if the Intel one is really better!

    Your CPU should work as long as it supports SSE4.1. The easiest is probably just to try.

  • TaozTaoz Posts: 9,941

    I'm going to add support for Albedo/Normal AOVs in the DnD App, do anyone know what file extensions are being used for these?

  • SotoSoto Posts: 1,440

    Thank you for the DnD version!!! Love it!

    I am too greedy for asking this, but is it possible to support Tif files please? :D

  • TaozTaoz Posts: 9,941
    Hellboy said:

    Thank you for the DnD version!!! Love it!

    I am too greedy for asking this, but is it possible to support Tif files please? :D

    Sure, if the Denoiser supports it. Doesn't look like the nVidia version does though, but maybe the Intel version does. Can't test it unfortunately as my CPU doesn't support the Intel version.

  • SotoSoto Posts: 1,440

    Thanks! That would be awesome!

    The Nvidia one supports tif. I´ve been using it with my tif renders :D

  • TaozTaoz Posts: 9,941
    Hellboy said:

    Thanks! That would be awesome!

    The Nvidia one supports tif. I´ve been using it with my tif renders :D

    Hm, you're right. I tried yesterday but the denoiser ignored the tif so I concluded it wasn't supported. But now I've tried again and this time it worked. Must have done something wrong. :)

    It also supports bmp I can see so I'll include that also.

  • Takeo.KenseiTakeo.Kensei Posts: 1,303
    edited March 2019

    Both command line denoisers are built upon Open Image IO so you should also allow PSD, OpenEXR and HDR

    The EXR format could be usefull in order to use Iray canvas

    It seems Iray doesn't have albedo canvas. I don't know if that works well with diffuse Canvas

     

    NB : just had a quick look and OIIO even has support for ffmpeg so it can perhaps also denoise movie clips

    Post edited by Takeo.Kensei on
  • TooncesToonces Posts: 919

    Thanks for the DnD, Taoz! I've been using it. So easy and fast!

  • Matt_CastleMatt_Castle Posts: 2,571
    It seems Iray doesn't have albedo canvas. I don't know if that works well with diffuse Canvas

    Unfortunately, having tried with both denoisers, it does not, and actually makes the results worse.

  • Richard HaseltineRichard Haseltine Posts: 100,946

    It isn't, for DS, necesary to handle this as a separate script - you could run the denoiser of choise using http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/rendering/render_post_process/start as a framework and DzProcess to handle launching the denoiser.

  • 3dOutlaw3dOutlaw Posts: 2,471
    edited March 2019

    It isn't, for DS, necesary to handle this as a separate script - you could run the denoiser of choise using http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/rendering/render_post_process/start as a framework and DzProcess to handle launching the denoiser.

    That is interesting, thanks for pointin it out!.  Love to try this, cough, ahem, if someone makes a script based on that example!  (especially if the script creates a new denoised file, in the same location as the original render, so we can see what we prefer) cheeky 

    (...and yes, I did try, but I could not get ShowURL to work with arguments, and dzProcess is beyond my skills...c'mon code-jockeys!!!)

     

    Post edited by 3dOutlaw on
  • TaozTaoz Posts: 9,941

    Both command line denoisers are built upon Open Image IO so you should also allow PSD, OpenEXR and HDR

    I've added these, though the nVidia denoiser didn't work with a random psd, it couldn't save the output file (see screenshot). Can't test the Intel version as my CPU doesn't support it. 

    exr and hdr worked OK though the exr increased a lot in size, from 547 to 944 KB 

     

    denoiser_psd_error.png
    508 x 253 - 95K
  • TaozTaoz Posts: 9,941
    Toonces said:

    Thanks for the DnD, Taoz! I've been using it. So easy and fast!

    You're welcome!

  • Takeo.KenseiTakeo.Kensei Posts: 1,303
    edited March 2019

     

    Taoz said:

    Both command line denoisers are built upon Open Image IO so you should also allow PSD, OpenEXR and HDR

    I've added these, though the nVidia denoiser didn't work with a random psd, it couldn't save the output file (see screenshot). Can't test the Intel version as my CPU doesn't support it. 

    I did a quick test and indeed the denoisers can open PSD files and save to an other format but not write them. And a quick look to OIIO sources shows no PSDOutput.cpp and just a PSDInput.cpp, unlike for the other format. I don't know if it's a licencing issue or something else but with current release of OIIO I guess you can't write PSD.

    Taoz said:

    exr and hdr worked OK though the exr increased a lot in size, from 547 to 944 KB 

     

    The OIIO support for denoisers is pretty much basic and are just used to open and close files. I guess all format options use default value, as you can't specify compression option, etc...

     

    It seems Iray doesn't have albedo canvas. I don't know if that works well with diffuse Canvas

    Unfortunately, having tried with both denoisers, it does not, and actually makes the results worse.

    I'll try to make a test to see what I can get. The albedo retains all the texture details, so I understand that it is superior to the diffuse canvas for denoising

    But something should be doable

    Post edited by Takeo.Kensei on
  • TaozTaoz Posts: 9,941
    edited March 2019

     

    Taoz said:

    Both command line denoisers are built upon Open Image IO so you should also allow PSD, OpenEXR and HDR

    I've added these, though the nVidia denoiser didn't work with a random psd, it couldn't save the output file (see screenshot). Can't test the Intel version as my CPU doesn't support it. 

    I did a quick test and indeed the denoisers can open PSD files and save to an other format but not write them. And a quick look to OIIO sources shows no PSDOutput.cpp and just a PSDInput.cpp, unlike for the other format. I don't know if it's a licencing issue or something else but with current release of OIIO I guess you can't write PSD.

    OK. Do you know if there is a way to make the denoisers (as they are now, using command line args) save psd output as another format, like png?

    ETA: never mind, you just change the extension for the output file to what you want, I can see.

    Post edited by Taoz on
  • marblemarble Posts: 7,500
    edited March 2019

    Maybe a silly question but is there a way to fine tune the denoisers or are they all-or-nothing? I'd be happy to put up with a little grain if I could eliminate the bright spots that come with glossy surfaces. Or perhaps there's another parameter in the IRay Render Settings I could tweak?

    Post edited by marble on
  • Takeo.KenseiTakeo.Kensei Posts: 1,303
    marble said:

    Maybe a silly question but is there a way to fine tune the denoisers or are they all-or-nothing? I'd be happy to put up with a little grain if I could eliminate the bright spots that come with glossy surfaces. Or perhaps there's another parameter in the IRay Render Settings I could tweak?

    There is a blend parameter to control a mix amount between denoised and original pic but I think you're better off doing that in an image editor as you'll be able to see what you're getting and thus fine tuning the proportion

  • marblemarble Posts: 7,500
    edited March 2019
    marble said:

    Maybe a silly question but is there a way to fine tune the denoisers or are they all-or-nothing? I'd be happy to put up with a little grain if I could eliminate the bright spots that come with glossy surfaces. Or perhaps there's another parameter in the IRay Render Settings I could tweak?

    There is a blend parameter to control a mix amount between denoised and original pic but I think you're better off doing that in an image editor as you'll be able to see what you're getting and thus fine tuning the proportion

    A bit of a stab in the dark but I tried a parameter in the Render Settings called Nominal Luminance. I set it to 50 and that seems to clear the bright spots somewhat better than leaving it at 0. No idea why that should work but I assumed that it had something to do with the fireflies setting immediately above it. 

    Post edited by marble on
  • LenioTGLenioTG Posts: 2,118

    Oh no, when I open the DnD For Nvidia Denoiser it tells me "Version Expired"...why did expire? xD

    And where can I find the newer version?

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,220
    Taoz said:
    Blind Owl said:
    Taoz said:
    Blind Owl said:

     

    Maybe your driver is too old:

    "As with the upgrade to OptiX 6.0.0 you will now require an Nvidia driver of at least 418.xx or higher and an Nvidia GPU of Maxwell architecture (Geforce 700 series) or higher."

    https://github.com/DeclanRussell/NvidiaAIDenoiser/releases

    Spot on!

    NVidia has been known to produce some terrible clunkers—drivers that don't work as well as ealier versions, or have compatibility problems, or both—so I've been reluctant to update mine. But, after creating a restore point just in case, I bit the bullet & installed the latest.

    Now both denoisers work fine, taking about the same time—a couple of seconds for a 1920 X 1080 render—to produce approximately the same results. So far, I can't see much difference in performance or output, but further comparison is obviously in order. Your DnD utility makes it super easy to switch from one to the other until I can decide which I prefer.

    So thanks again, eh? (as we're alleged to say in Canada)

    You're welcome! In the next version you will be able to switch between them with just a click, and have other options as well. The current one will expire on march 30, I will post links here to the next update before then.

     

    kameneko said:

    Oh no, when I open the DnD For Nvidia Denoiser it tells me "Version Expired"...why did expire? xD

    And where can I find the newer version?

    Hopefully Taoz has an update coming heart

  • TaozTaoz Posts: 9,941
    edited April 2019
    kameneko said:

    Oh no, when I open the DnD For Nvidia Denoiser it tells me "Version Expired"...why did expire? xD

    And where can I find the newer version?

    Sorry, I accidently set it to expire a day too early. It was just a test version, and I don't want these to float around and cause confusion, so they have an expiration date.

    I'm always done with the next version, should have been out yesterday but I had some problems with my programming PC and had to reinstall it so everything got a bit delayed. You can download it here and try it if you want, it should work but hasn't been tested very well:

    https://taosoft.dk/software/freeware/dnden/updates/DnD_for_nVidia_%26_Intel_Denoisers_1.000a_NET4.zip

    Check one or both denoisers, it can do both at the same time (Intel has not not tested though but should work). If you check the Output Format box it will convert the file(s) to whatever format you choose, if unchecked it will save the files in their original format. Save button will save the selected format as default format.

    It will go online when you start it and check for updates, if there is an update it will notify you, otherwise not. There should be an update one of the next days.

    Post edited by Taoz on
  • MattymanxMattymanx Posts: 6,908

    Heya Taoz,

     

    I just tested the new copy with the Intel denoiser and it works flawlessly (for me) once again. 

    Thank you very much for this free handy little tool and the updates.  I like the new features!

Sign In or Register to comment.