shanemankiw / SO-SMPL

Official Implementation of paper "Disentangled Clothed Avatar Generation from Text Descriptions"
85 stars 3 forks source link

Question about shading #5

Closed sunshineatnoon closed 2 months ago

sunshineatnoon commented 2 months ago

Hi, I have a question about the implementation of eq. 7 in the paper (shading computation). How did you sample the ambient light intensity (la) and point light intensity (ld)? Thanks!

shanemankiw commented 2 months ago

Hi, I have a question about the implementation of eq. 7 in the paper (shading computation). How did you sample the ambient light intensity (la) and point light intensity (ld)? Thanks!

Hi, we use a random sampling strategy proposed in Magic3D, which randomly samples the ambient intensity and diffuse intensity. You can refer to the code here: https://github.com/threestudio-project/threestudio/blob/cd462fb0b73a89b6be17160f7802925fe6cf34cd/threestudio/models/materials/diffuse_with_point_light_material.py#L63

sunshineatnoon commented 2 months ago

Thanks so much!