lzhnb / GS-IR

MIT License
301 stars 15 forks source link

Weird relighting result #13

Closed CodenameWaddles closed 5 months ago

CodenameWaddles commented 5 months ago

Hello, I tried reproducing the bicycle scene, I ran the training, evaluation and relighting scripts but the final result doesn't look right. Any ideas what the issue could be ?

00000_sunset

Envmap used (but in HDR format not PNG) :

envmap_relight

Thanks :)

lzhnb commented 5 months ago

It looks like the lighting is normal but the albedo is missing. Have you checked the albedo input?

CodenameWaddles commented 5 months ago

Where would I find that ? I can't seem to find it

lzhnb commented 5 months ago

You can replace the shaded color with albedo directly.

CodenameWaddles commented 5 months ago

How would one go about doing so ? There are no albedo images anywhere, neither in the input data or in the output.

lzhnb commented 5 months ago

https://github.com/lzhnb/GS-IR/blob/e8d979e25cc1bada75f3b1d1cdcee46fbb5259a2/relight.py#L140

CodenameWaddles commented 5 months ago

albedo This is what the albedo map looks like

lzhnb commented 5 months ago

This albedo is wrong and causes the wrong shading results, it should be colorful, you know. It is strange, and can you try other scenes?

CodenameWaddles commented 5 months ago

Hello again. I tried on another scene and it worked fine. I tried on the bike scene again and it worked. I must have messed up somewhere in the arguments the first time. Thanks for your help!