The_Lightmapper icon indicating copy to clipboard operation
The_Lightmapper copied to clipboard

Multiple objects, one at a time

Open ArtsyVR opened this issue 2 years ago • 7 comments

Amazing addon, I’ve been using it for months and I literally cannot use any other addon :) It’s so good.

I am wanting to bake one object at a time. So I disable the previously baked object and then I bake another object. When I do that, the first baked object turns black. Is there a way to only bake one object at a time and it not affect the other baked objects?

In my system preferences I have Nvidia 3070 and Amd Ryzen 9 5900H enabled under CUDA. However when I use Optix Denoising the object runs back pink. How should I have my settings setup to use the denoising?

ArtsyVR avatar May 11 '22 03:05 ArtsyVR

Hi, thanks for using it! :)

As for the first problem/bug, have I understood it correctly that you disable it by removing the toggle for lightmapping in the object settings? In that case, it sounds strange, as it shouldn't happen. I will try to figure out why it happens.

As for Optix denoising, I must admit I haven't tried it in a while since I mainly use Linux. Generally I'd recommend using Intel OIDN and just point to the oidnDenoise.exe. For Optix it isn't updated that often, but I tested using the denoiser from here: https://github.com/DeclanRussell/NvidiaAIDenoiser - and just pointed to the denoiser binary - But I'll test it out some more in the coming weekend, just to test if things have changed lately

Naxela avatar May 11 '22 08:05 Naxela

Thank you! And yes, when I toggle off it does make the object next to it black. I think it’s actually losing track of the previous Lightmap because the next bake (say two cubes side by side) has pink casted on it. The pink you see when a texture is missing.

ArtsyVR avatar May 11 '22 08:05 ArtsyVR

Thank you for the Optix denoiser link, I didn’t have that downloaded before. Now all is well :)

ArtsyVR avatar May 11 '22 08:05 ArtsyVR

Hi, I've added a possible fix for the bug (https://github.com/Naxela/The_Lightmapper/commits/master), I can't remember entirely why I added the code causing the bug - Maybe it'll introduce other bugs, but at least it should work for now in this case :D

As for the optix denoiser, does that mean it works? In that case, it's good!

Naxela avatar May 11 '22 16:05 Naxela

Omg brilliant! Thank you so much!!

ArtsyVR avatar May 11 '22 17:05 ArtsyVR

And yes the Optix and the enable/disable button works perfect

ArtsyVR avatar May 11 '22 17:05 ArtsyVR

Hi, thanks for reporting back 👍

Good to hear it seems to be working now :)

Naxela avatar May 13 '22 10:05 Naxela