Point cloud#
import k3d
import numpy as np
data = np.load('point_cloud.npz')['arr_0']
plt_points = k3d.points(data[:, 0:3],
data[:, 4].astype(np.uint32),
point_size=0.15,
shader="flat")
plot = k3d.plot(grid_visible=False,
camera_auto_fit=False,
background_color=0x87ceeb)
plot += plt_points
plot.display()
plot.camera = [20.84, -3.06, 6.96,
0.67, 0.84, 3.79,
0.0, 0.0, 1.0]
K3D panel
Controls
Full screen
cameraAutoFit
gridAutoFit
gridVisible
fpsMeter
Mode
Camera
Manipulate mode
FOV
voxelColor
lighting
time
fps
Clipping planes
Objects
Points #1
opacity
point_size
shader
visible
Info
Js version: