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 \((\text{num_vertices}, 3)\).
faces (torch.LongTensor): of shape \((\text{num_faces}, \text{face_size})\).
face_colors (torch.LongTensor): in the range \([0, 255]\), of shape \((\text{num_faces}, 3)\).
- Return type
(off.return_type)