Bake Manager With Denoiser Integration - WIP


(vcasagrande) #1

I’m working in a texture baking solution with denoiser integrated that can apply denoise filters considering the object mesh of the texture (solving problems with darker borders and incorrect sharper areas in comparison with direct 2D denoising).

Some screenshots:

Before:


After:


Video:

It was implemented in C for performance and the integration done using the Blender Python API.


(dksloane) #2

This is really really useful to me! Cant wait to see if theres any progresss!!!


(vcasagrande) #3

The add-on is currently working, just needs some tweaks, I’m using this for a game:
http://vcasagrande.com


(vklidu) #4

Thank you :slight_smile:


(dksloane) #5

Amazing! Need any beta testers? :smiley:


(vcasagrande) #6

Thank you dksloane! I’m probably going to release the add-on this month, I will PM you before.


(burnin) #7

Yay, it will be very helpful - from “Denoising cannot be used for baking yet.” i assume it’s planned. Tho not likely with “a” release, but most probably for 2.8. Have you checked with dev (blender/cycles) about the road map?
Otherwise, keep it up :slight_smile:


(dksloane) #8

^^Sounds good! Look forward to it.

^I also have this question… :stuck_out_tongue:


(vcasagrande) #9

I’ve checked 2.8 road map and source code at “blender2.8” branch, and no traces of it, I think they probably will implement it sometime (maybe this add-on can help with it), but not in 2.8, there many other priorities.

Also, the add-on have another key features for texture baking that are currently working and were used to bake the level assets of the prototype at “vcasagrande.com” ;D


(Leukbaars) #10

This is awesome! I could really use this and would love to help you test this out :slight_smile:


(tokareuv) #11

Is there any chance to see your C-code before Blender release and, maybe, compile as some dev version? I’d like to test it, as I am interested in denoiser for baking long enough, but for now only using own-implemented filter-like algorithm for denoising resulting lightmap.
If you don’t mind, of course.


(vcasagrande) #12

We’re almost there! The Batch Bake UI and denoiser optimization are ready.


To make the baking process easy, and already including denoising, I’ve developed the add-on “Batch Bake”, it also comes with another features like “Wrap borders” to solve artifacts near the mesh edges!

The denoiser, initially when it was a python script the test unit took minutes to get a 512x512 texture denoised, with the kernel ported to C it took 15 seconds, but now with the denoiser rewritten as a standalone the same test run in less than 2 seconds!

I’m making the effort to release the Batch Bake and the denoiser with a tutorial and documentation at January, 10th.

You can be notified subscribing on this thread or my YouTube channel.

Happy Blending and Happy New Year!


(tokareuv) #13

Wow! It’s really great! My congratulations :slight_smile:


(dksloane) #14

Very impressive work! Beyond hyped for this…


(vcasagrande) #15

Leukbaars, tokareuv and dksloane

Thank you for the feedback!

An alpha version of Batch Bake and Texture Tool will be released very soon.

(I’ve found some issues testing on big scenes, so I cannot release now)


(vcasagrande) #16

Here’s the UI:

More details at: https://noevu.com


(vcasagrande) #17

Alpha Version Released!!! :smiley:

https://blenderartists.org/forum/showthread.php?443843-Addon-Blender-Batch-Bake-Bake-Denoising-Wraparound-Margin-Auto-Texture-Res�-(-)&p=3274879

https://blenderartists.org/forum/attachment.php?attachmentid=511462&d=1515790161