ranahanocka / MeshCNN

Convolutional Neural Network for 3D meshes in PyTorch
MIT License
1.58k stars 316 forks source link

What is the difference between dihedral_angle () and angles_from_faces() #132

Open wusuoweima opened 2 years ago

wusuoweima commented 2 years ago

In mesh _prepare.py:

  1. def slide_verts(mesh, prct): edge_points = get_edge_points(mesh) dihedral = dihedral_angle(mesh, edge_points).squeeze() #todo make fixed_division epsilon=0
  2. def flip_edges(mesh, prct, faces): ... dihedral = angles_from_faces(mesh, edge_faces[:, 2:], faces)

What is the difference between the two dihedrals?