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 can I add the texture of the 3D model in the code #87

Open
M202071895 opened this issue Jul 5, 2021 · 2 comments
Open

How can I add the texture of the 3D model in the code #87

M202071895 opened this issue Jul 5, 2021 · 2 comments

Comments

@M202071895
Copy link

The rendering process in the current code does not include textures, and the reconstruction basically only considers contours and shapes. How can I add the texture of the model, and whether the reconstruction effect will be better after adding it.

The dataset you are using is basically all black, which can only reflect the outline.

@ShichenLiu
Copy link
Owner

You can implement the texture reconstruction module following the network architecture shown in our paper (appendix). There are two ways of learning with textures:

(1): learn texture map (RGB): this won't affect the geometry. In fact, we fix the geometry and learn the texture on top of it in our implementation.
(2): learn the "shading-like" color images: if the dataset contains shading images and the light source is known, the differentiable renderer can be seen as a shape-from-shading algorithm, thus improves the reconstruction. Our shading-aware model is also provided in the pretrained models (second bullet point after "We also provide our trained model here:")

@hui1123
Copy link

hui1123 commented Dec 1, 2021

Have you solved it? How to add texture to the generated mesh? @M202071895

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

3 participants