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

Is there a way to export 3d recontructed face after applying the deformation and displacement map ? #6

Closed
fabricecarles opened this issue Apr 20, 2023 · 1 comment

Comments

@fabricecarles
Copy link

Thank you for sharing this beautiful project

The current exported 3d mesh I get when running single view task is hrn_mid_mesh.obj and do not include all details as like in final 2d output

By backtracing through https://github.com/youngLBW/HRN/blob/main/models/facerecon_model.py#L823
and
https://github.com/youngLBW/HRN/blob/main/models/facerecon_model.py#L364

I am trying to export the 3d face after applying the deformation and displacement map but I am not sure it is possible ?
It seam that everything is apply frame by frame in 2d space inside render_uv_texture https://github.com/youngLBW/HRN/blob/main/util/nv_diffrast.py#L150 I am right ?

If there is a way to export final deformation and displacement in 3d space could you share it ?

Thanks

@youngLBW
Copy link
Owner

Hi, thanks for your appreciation.

We supported the exporting of the mesh after applying the deformation and displacement map just now.

Note that the displacement map is designed to apply on the rendering process, so the effect of the exported mesh with high frequency details may not be as ideal as the rendered 2D image.

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