Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to relight in other hdr? #5

Open
coco010723 opened this issue Nov 27, 2024 · 1 comment
Open

How to relight in other hdr? #5

coco010723 opened this issue Nov 27, 2024 · 1 comment

Comments

@coco010723
Copy link

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!

@wenbin-lin
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants