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

run_mesh_add_eyeball.sh can adjust eyeballs #77

Closed
ImistroI opened this issue Feb 2, 2024 · 2 comments
Closed

run_mesh_add_eyeball.sh can adjust eyeballs #77

ImistroI opened this issue Feb 2, 2024 · 2 comments

Comments

@ImistroI
Copy link

ImistroI commented Feb 2, 2024

Hello,
I generated with the EMOCA Repo a FLAME mesh. To adjust eyeballs for the Head mesh I wanted to use the run_mesh_add_eyeball.sh script. But I throws me this error code:

 File "./FFHQ-UV/Mesh_Add_EyeBall/run_mesh_add_eyeball.py", line 319, in start_add_mesh
    L_ball_mesh, R_ball_mesh = add_eye_ball(head_mesh['v'], L_ball_mesh, R_ball_mesh)
  File "./FFHQ-UV/Mesh_Add_EyeBall/run_mesh_add_eyeball.py", line 286, in add_eye_ball
    _, L_ball_mesh['v'] = fit_icp_scale_RT(L_ball_mesh['v'][eye_ball_vtx_idxL], head_vtx[eye_bag_vtx_idxL],
IndexError: index 8536 is out of bounds for axis 0 with size 5023

Do somebody know what I should do?
Thanks in advance.

@ImistroI
Copy link
Author

ImistroI commented Feb 2, 2024

Here is a example EMOCA FLAME mesh which is with the run_flame_apply_hifi3d_uv.sh script adjusted:
000001_000_mesh_coarse_w_HIFI3D_UV.obj.zip

@ImistroI
Copy link
Author

ImistroI commented Feb 5, 2024

I change the FLAME_Apply_HIFI3D_UV/flame2hifi3d_assets/FLAME_w_HIFI3D_UV.obj so that it would map textures. and modify the uv-textures.

@ImistroI ImistroI closed this as completed Feb 5, 2024
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

1 participant