예제 #1
0
 def primitives_per_edge(self):
     v = self.v.r.reshape((-1, 3))
     f = self.f
     vpe = get_vertices_per_edge(v, f)
     fpe = get_faces_per_edge(v, f, vpe)
     return fpe, vpe
예제 #2
0
def edge_defs(v,f):
    fb = face_bases(v, f)
    fpe = get_faces_per_edge(v.r, f)
    return ndot(fb[fpe[:,0]], ch.linalg.inv(fb[fpe[:,1]]))
예제 #3
0
파일: renderer.py 프로젝트: cadik/opendr
 def primitives_per_edge(self):
     v=self.v.r.reshape((-1,3))
     f=self.f
     vpe = get_vertices_per_edge(v, f)
     fpe = get_faces_per_edge(v, f, vpe)
     return fpe, vpe