bnp.scene.visualize¶
-
put_cubes(positions, prefix="debug", size=0.015, sampling_rate=1)¶ Put cubes from np.ndarray whose shape should be (vtx_num, 3)
Parameters: - positions (np.ndarray) – vertices (vtx_num, 3)
- prefix (str) – prefix of cube names
- size (float) – global scales of cubes
- sampling_rate (int) – the number which determines the ratio of vertices for visualization