kaolin.io.off¶
API¶
- kaolin.io.off.import_mesh(path, with_face_colors=False)¶
Load data from an off file as a single mesh.
- Parameters
Returns:
- nametuple of:
vertices (torch.FloatTensor): of shape (num_vertices, 3)
faces (torch.LongTensor): of shape (num_faces, face_size)
face_colors (torch.LongTensor): in the range [0, 255], of shape (num_faces, 3).