RelightableAvatar
RelightableAvatar copied to clipboard
How to relight in other hdr?
Hi: I noticed that the code you released uses "sg_scaled_128.npy" for the envmaps. If I have another HDR image that I want to relight, how can I obtain this .npy file? Thks!
We use PhySG's code to convert HDR images to SGs, see https://github.com/Kai-46/PhySG/blob/master/code/envmaps/fit_envmap_with_sg.py. There is also another script for rotating lights: https://github.com/Kai-46/PhySG/blob/master/code/envmaps/rotate_lightsg.py.