lzqsd / InverseRenderingOfIndoorScene

MIT License
292 stars 33 forks source link

render result is blur #9

Open hust-kevin opened 2 years ago

hust-kevin commented 2 years ago

@lzqsd I download the pretrained model and use testReal.py to render img, but the result is very blur(input img is clear) image image image image

lzqsd commented 2 years ago

Hi @hust-kevin, sorry that the rendered results are blurry. I think the reason is that in the default rendering code, we directly render the image with 120 x 160 per-pixel lighting. If you hope to achieve high-quality rendering, you probably need to upsample the per-pixel lighting first before you render the image.

If your goal is for material editing, then you can use a high-quality texture and upsample the per-pixel lighting at a higher rate. In that case, you can probably see details and specular highlights of the materials.

Hope that helps. Please let me know if you have any more questions.

bytedwang commented 2 years ago

Hi @lzqsd, do you mean we can increase envRow and envCol?