liuyuan-pal / NeRO

[SIGGRAPH2023] NeRO: Neural Geometry and BRDF Reconstruction of Reflective Objects from Multiview Images
MIT License
516 stars 32 forks source link

Relighting and NVS script #45

Open dehezhang2 opened 2 months ago

dehezhang2 commented 2 months ago

Hi, Thanks for sharing the code and the data. May I ask if it is possible to share the script for nvs and relighting with test camera pose (transforms_test.json) in the blender dataset?

liuyuan-pal commented 2 months ago

Hi, for the novel view synthesis, you may use this interface https://github.com/liuyuan-pal/NeRO/blob/c210fe80aa9e6a590946a1469f2515f1e168495e/network/renderer.py#L189 The pose is a 3x4 matrix with [R; t], which is a world-to-camera pose in the opencv style. Relighting is the same as the provided relighting script but changes a little bit on the pose.