NVlabs / nvdiffrec

Official code for the CVPR 2022 (oral) paper "Extracting Triangular 3D Models, Materials, and Lighting From Images".
Other
2.13k stars 223 forks source link

Can I initialize the tet grid vertices with a rough mesh npz file processed by quartet? #110

Open zoezhou1999 opened 1 year ago

zoezhou1999 commented 1 year ago

Hi! Thank you for this great work! I am just wondering if it is ok to initialize the tet grid vertices with a rough mesh npz file processed by quartet? Will it speed up mesh optimization? Or tet grid is not working like that? Or is there a way to initialize the nvdiffrec with a rough mesh for further mesh optimization? Thank you!

jmunkberg commented 1 year ago

You need a tet grid that conservatively cover the shape. A tighter tet grid may work better (more efficient use of the resolution).

You can run only the second pass of nvdiffrec with a base mesh as input. One example here: https://github.com/NVlabs/nvdiffrec/blob/main/configs/spot_metal.json