You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried by using DAD-3DHeads Flame Parameters (scale, translation, rotation) and using blender got lips, eyes, nose, ears vertices. And Then applying translation.
Here is the part of the code.
neck_avg_pos = smplx_body_mesh.vertices[neck_vertices].mean(axis=0)
# Assuming you have vertex indices for nose, left eye, and right eye in the DAD3d head:
nose_vertices = dad3d_head_params["dad_nose"]
neck_vertices = dad3d_head_params["dad_neck"]
left_eye_vertices = dad3d_head_params["dad_left_eye"]
right_eye_vertices = dad3d_head_params["dad_right_eye"]
nose_avg_pos = dad3d_head_mesh.vertices[nose_vertices].mean(axis=0)
left_eye_avg_pos = dad3d_head_mesh.vertices[left_eye_vertices].mean(axis=0)
right_eye_avg_pos = dad3d_head_mesh.vertices[right_eye_vertices].mean(axis=0)
dad_neck_avg_pos = dad3d_head_mesh.vertices[neck_vertices].mean(axis=0)
dad3d_head_mesh.apply_translation(neck_avg_pos - dad_neck_avg_pos)
# 4. Combine the meshes:
combined_mesh = smplx_body_mesh + dad3d_head_mesh
And the combined_mesh output
The text was updated successfully, but these errors were encountered:
@burnmyletters @KupynOrest @t-martyniuk @NeelayS
Is there any way to replace smplx head with DAD-3DHeads.
SMPLX Head:
DAD-3DHead:
I tried by using DAD-3DHeads Flame Parameters (scale, translation, rotation) and using blender got lips, eyes, nose, ears vertices. And Then applying translation.
Here is the part of the code.
And the combined_mesh output
The text was updated successfully, but these errors were encountered: