Page 1 of 83 1231151 ... LastLast
Results 1 to 20 of 1657
  1. #1
    Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    338

    Lightbulb Experimental 2.77 Cycles Denoising build

    Hi!

    I've been playing around with LWR denoising for Cycles (for details, see here) for a while now, and have now finished a working and usable demo version of it - just in time for the GSoC proposal.

    So far, the denoiser is pretty simple to use - in the Sampling panel, just activate "Use LWR filtering".
    The options are:


    • Half Window size: Pixels up to this distance will be used in thedenoising step - increasing this value will make the denoiserslower, but helps to get rid of a "splotchy" look on flat surfaces(but might also blur things slightly more).
    • Bandwidth factor: This value allows to make the denoising more or less aggressive - the default of 0 should usually be fine except for hair/fur/grass
    • Per-pass filtering: Enabling a pass here makes the denoiser filter it separately and then combine with the other filtered results - should improve results in theory, but not really useful in practise yet (also, you need to enable the corresponding render pass as well as its color pass - e.g. DiffDir and DiffCol if you want to denoise Diffuse Direct separately)
    • Additionally, in the performance settings, an option called "Prepass samples" was added: Setting this to some value (like 16) will make Cycles render (and denoise, if you have it activated) the image with 16 samples before rendering the remaining samples, to provide a quick preview.


    Currently, the denoising still has some problems with fine geometry - bump- or normal-maps as well as grass/hair/fur tend to be overblurred. There are ways to improve this a lot, but I need some remaining to-do items for my GSoC proposal .
    Also, hard shadow edges may currently be overblurred, but just like above, there are ways to fix this in the future.

    Generally, though, you should keep in mind that denoising is not magic: It can improve an image, but it can't magically make detail appear where there is none in the noisy input. As a rule of thumb, if you couldn't recognize something in the noisy image, the denoiser won't be able to do so either.
    This doesn't mean that you can't use it for quick previews - you can, but don't expect production-quality results from 16 samples .

    The denoising works on both CPU and GPU, although GPUs might run into problems because the current code uses a lot of extra memory when enabling LWR, at least for large images. Again, this can and will be improved in the future.

    Animations might be tricky because of flickering - this could in theory be resolved with inter-frame filtering, but there's no way to implement this in Blender, since every frame is rendered individually .

    Also, as a final note, I'm pretty sure that at least Viewport rendering is broken in this build, and I didn't test that much in general, so I don't recommend using this build for serious work (yet).



    So, it'd be awesome if you could test the denoiser a bit and give me some feedback regarding usefulness/shortcomings/etc., especially since I'm currently finishing my GSoC proposal for a more stable implementation.
    And, of course, here's the link: https://dl.orangedox.com/Kr1KBVHyQI6ARVNm0w



  2. #2
    Member YAFU's Avatar
    Join Date
    Mar 2013
    Posts
    2,586
    Hi.
    Thank you. Is there a repository to download the source and try to compile on Linux?
    Be patient, English is not my language.



  3. #3
    Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    338
    Originally Posted by YAFU View Post
    Hi.
    Thank you. Is there a repository to download the source and try to compile on Linux?
    Yep, of course, here's the code: https://github.com/lukasstockner/blender/tree/lwr_demo



  4. #4
    Member cekuhnen's Avatar
    Join Date
    Mar 2003
    Location
    Grosse Pointe Woods, Michigan, USA
    Posts
    11,971
    Any OS X builds?
    3D Design Generalist - Faculty Industrial + Interior Design
    Chair Interior Design - Wayne State University



  5. #5
    Member fdfxd's Avatar
    Join Date
    Jan 2015
    Location
    Egypt, Alexandria
    Posts
    1,547
    DEAR GOD I CAN NOT EXPRESS MY THANKS ENOUGH LUKAS STOCKNER(got your name right this time )

    THANK YOU!

    This was the one feature that I feel that blender, actually needs to be on par with the others

    again, thanks!(I do have some suspicions that this won't make it into trunk for what ever reason though... like Adaptive sampling[I know that there was a reason but I'm still a bit salty about it ])
    GPU: Sapphire R7 240 1GB Overclocked,CPU: Intel Pentium G2030 3.0 GHz 3MB Cache Dual Threaded,Ram: 8 GB Kingston Hyper X Fury DDR3



  6. #6
    Member fdfxd's Avatar
    Join Date
    Jan 2015
    Location
    Egypt, Alexandria
    Posts
    1,547
    I will run some tests.. see how it pans out.

    will also compare it to C4D's denoiser.
    GPU: Sapphire R7 240 1GB Overclocked,CPU: Intel Pentium G2030 3.0 GHz 3MB Cache Dual Threaded,Ram: 8 GB Kingston Hyper X Fury DDR3



  7. #7
    Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    338
    Originally Posted by cekuhnen View Post
    Any OS X builds?
    I just pushed the whole thing to the buildbot (as an experimental build, of course, not in master ) - I'll post a link here once it's done (same for Linux).

    @fdfxd: Heh, glad that it's useful The chances that some denoiser will end up in master are pretty good, considering it's been added to the GSoC ideas list. This code right here won't go to master, that was never its purpose - it's just a proof-of-concept implementation to check whether LWR is good enough.



  8. #8
    Member
    Join Date
    Mar 2012
    Location
    Italy
    Posts
    2,060
    Woah! Downlaoding now, will run some tests. Thanks Lukas (again)
    Testing: Vray for Blender // Old projects: #1 - Eames chaise lounge #2 - Chester Interior



  9. #9
    Member
    Join Date
    Mar 2012
    Location
    Italy
    Posts
    2,060
    Hi Lukas, it seems I can't use the per-pass feature correctly. It renders the image, then filter the different passes, but it doesn not show back the final image, the rendered frame stays as the last pass it filtered.

    Any ideas?

    Testing: Vray for Blender // Old projects: #1 - Eames chaise lounge #2 - Chester Interior



  10. #10
    I tested the build as well!
    Very good so far, thank you!

    Will bake be "compatible" with the denoiser?



  11. #11
    Member YAFU's Avatar
    Join Date
    Mar 2013
    Posts
    2,586
    Originally Posted by lukasstockner97 View Post
    I just pushed the whole thing to the buildbot (as an experimental build, of course, not in master ) - I'll post a link here once it's done (same for Linux).
    That would be great, because I have error when trying to compile on Linux.
    Anyway, restarting on Windows some tests with Sponza scene:
    Labels are: The first number are Samples, then Clamping. Then for Denoise: hw=Half Window and Bf=Bandwith factor:

    (They are png images, so you wait a bit until the image is loaded)

    https://www.dropbox.com/s/5nwamubzyf...oise%20off.png
    https://www.dropbox.com/s/wy23gs4vk3...p0_hw5_bf0.png
    https://www.dropbox.com/s/hzlfa5o9pu...p0_hw5_bf0.png
    https://www.dropbox.com/s/nqgs8frfa0...oise%20off.png
    https://www.dropbox.com/s/1bvwknf9n8...oise%20off.png
    https://www.dropbox.com/s/illxq1rw7z...p0_hw5_bf0.png
    https://www.dropbox.com/s/gkhkikcqcz...03_hw5_bf0.png
    https://www.dropbox.com/s/hanqjnodvx...p0_hw2_bf0.png
    https://www.dropbox.com/s/3sa8fgf3f1...0_hw10_bf0.png
    https://www.dropbox.com/s/wns8xt9efn...p0_hw5_bf1.png
    https://www.dropbox.com/s/0e22iwtqz7...0_hw5_bf-1.png

    I really wish you success with this project, this would lead to Cycles at a much higher level. I will test how it works in animations.
    Thank you very much.
    Last edited by YAFU; 23-Mar-16 at 18:49.
    Be patient, English is not my language.



  12. #12



  13. #13
    Member YAFU's Avatar
    Join Date
    Mar 2013
    Posts
    2,586
    Hi.
    Why in this scene the material "stone_funky_lava" (first sphere top left) is losing much more detail than the others with the same configuration?
    http://www.pasteall.org/blend/41200
    Be patient, English is not my language.



  14. #14
    Just by playing around it seems very impressive. Certainly would be a great GSoC project!

    I had some random black dots appear on some parts of the image, by playing around with the LWR and Sampling parameters i got the effect to an extreme, where nearly an entire triangle is black:



    Blend file: http://www.pasteall.org/blend/41203
    Attached Images Attached Images



  15. #15
    A quick initial test, looking good! Will do more testing later.

    Portfolio and Blender freebies:
    moe3d.com



  16. #16
    Member lenain34's Avatar
    Join Date
    Jul 2010
    Location
    Montpellier, France
    Posts
    216
    Awesome! Thank you lukas, will test it later!



  17. #17
    Member
    Join Date
    Feb 2014
    Location
    Mumbai,India
    Posts
    17

    Tests...

    Looks pretty solid...
    Could not get it to work on fur that well
    But yeah these clean images make me happy
    Thank you lukas



    Website



  18. #18
    Member mib2berlin's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    3,476
    Yep it is really nice.

    600 Samples without LWR 04:22.44



    600 Samples with LWR 04:47.49



    Cheers, mib
    Attached Images Attached Images
    Last edited by mib2berlin; 24-Mar-16 at 06:34.
    OpenSUSE Leap 42.1/64 i5-3570K 16 GB Blender 2.7 Octane 3.03
    GTX 760 4 GB, GTX 670 2 GB Driver 375.26 | Blender for Octane



  19. #19
    Member
    Join Date
    Mar 2012
    Location
    Italy
    Posts
    2,060
    I got troubles with high frequency details on glossy surfaces, it blurs out a lot. Will post an example later if I can.

    Other tests are pretty cool


    Testing: Vray for Blender // Old projects: #1 - Eames chaise lounge #2 - Chester Interior



  20. #20
    Member cekuhnen's Avatar
    Join Date
    Mar 2003
    Location
    Grosse Pointe Woods, Michigan, USA
    Posts
    11,971
    Do I see my Blender models here

    Macro can you upload a larger rendering with and without the denoiser? I am really curious about the wood floor texture
    and also the glossy issues you mentioned.
    3D Design Generalist - Faculty Industrial + Interior Design
    Chair Interior Design - Wayne State University



Page 1 of 83 1231151 ... LastLast

Posting Permissions

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