iamNCJ / NRHints

Official Code Release for [SIGGRAPH 2023] Relighting Neural Radiance Fields with Shadow and Highlight Hints
https://nrhints.github.io
MIT License
160 stars 12 forks source link

How to visualize 3D model? #5

Open AryamanSharma17 opened 10 months ago

AryamanSharma17 commented 10 months ago

Hi, thanks for providing the source code.

I have been trying to viusalize the difference between tradional NeRF methods and Relighting hints with NeRF. I was able to get the 3D model with the SDF field for the Cat dataset, how can i visualize the model with hihglight and shadow hints? I have attached a screencapture of the output model

Thanks snapshot00

iamNCJ commented 10 months ago

Hi, thanks for your interest in our work, the rendering results as well as visualizations of 2 hints of our model will be saved in the test_views folder under the result path. Shadow hints will be dumped as BW images, and specular hints are dumped into an npy file, which can be visualized with matplotlib or any ploting/visualization library. Besides, you can also see the rendering result, normal map & shadow hints of the first view in the wandb logs produced along with your training process. E.g. image

BTW, from your screenshot, it seems that the model hasn't converged yet. You need to train longer to let it converge before doing any valid visualization.

Thanks