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 render 2d normal map with HDR image by using PyTorch3D? #1933

Open
liliazhen669 opened this issue Dec 31, 2024 · 2 comments
Open

How to render 2d normal map with HDR image by using PyTorch3D? #1933

liliazhen669 opened this issue Dec 31, 2024 · 2 comments

Comments

@liliazhen669
Copy link

❓ Questions on how to use PyTorch3D to render 2d normal map

I notice that PyTorch3D can render a mesh with image-based lighting, but can I use it to render a normal map with hdr image ? Thanks in advance .

@bottler
Copy link
Contributor

bottler commented Dec 31, 2024

I don't understand exactly. What data do you have and what output do you want?

@liliazhen669
Copy link
Author

I feel sorry about presenting a confused question before. Now let me explain the question further : I have read the paper called LightPaint , a paragraph of text in this paper can be showed as follows:
image

I think the 'geometry' in it is normal map(maybe my understand is wrong, cos I am a green hand in this field), so let's go back to my original question.

Inputs: 2d normal map , albedo map and target lighting (which can be extract from panorama hdr image), with the Phong shading model, Output : shading map

AlbedoNormalShading
(The images from the left to the right is albedo, normal, shading respectively, they all come from Total-Relighting)

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