前言
在安装手物交互的代码时报了以下错误:
sp_m.add_mesh_with_normals(m.v.astype(np.float32),m.estimate_vertex_normals().astype(np.float32),m.f,m.vc.astype(np.float32))
TypeError: add_mesh_with_normals(): incompatible function arguments. The following argument types are supported:
1. (self: scenepic._scenepic.Mesh, vertices: numpy.ndarray[numpy.float32[m, 3], flags.c_contiguous], normals: numpy.ndarray[numpy.float32[m, 3], flags.c_contiguous], triangles: numpy.ndarray[numpy.uint32[m, 3], flags.c_contiguous], colors: numpy.ndarray[numpy.float32[m, 3], flags.c_contiguous] = array([], shape=(0, 3), dtype=float32), uvs: numpy.ndarray[numpy.float32[m, 2], flags.c_contiguous] = array([], shape=(0, 2), dtype=float32), transform: numpy.ndarray[numpy.float32[4, 4]] = array([[1., 0., 0., 0.],
[0., 1., 0., 0.],