MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / load_point_cloud

Method load_point_cloud

datasets/partnet.py:130–133  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

128
129 @staticmethod
130 def load_point_cloud(path):
131 pc = trimesh.load(path)
132 pc = pc.vertices / 2.0 # scale to unit sphere
133 return pc
134
135 @staticmethod
136 def read_point_cloud_part_label(path):

Callers 1

__getitem__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected