pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

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

Open liliazhen669 opened this issue 11 months ago • 2 comments

❓ 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 .

liliazhen669 avatar Dec 31 '24 10:12 liliazhen669

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

bottler avatar Dec 31 '24 11:12 bottler

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)

liliazhen669 avatar Jan 01 '25 09:01 liliazhen669