Visualization
Terms
- camera:
- camera distance
- elevation angle 抬高角度
- azimuth angle 旋转角度
- camera 类型
- orthogonal 正交,没有近大远小的透视效果
- perspective 立体透视
Webpage
{
"title": "source",
"visuals": {
"pts": "source_pointcloud.pts",
"kpts": "source_keypoints.txt"
}
},
{
"title": "target",
"visuals": {
"pts": "target_pointcloud.pts",
"kpts": "target_keypoints.txt"
},
{
"title": "deformed_cage",
"visuals": {
"ply": "deformed_cage.ply"
}
}
}
python browse3d/browse3d.py --log_dir $DATA_PATH --port 5050
Packages
meshplot
import meshplot as mp
d = mp.subplot(v, c=v[:, 1], s=[1, 2, 0], shading={"point_size": 0.03})
mp.subplot(v, c=np.random.rand(*v.shape), s=[1, 2, 1], data=d, shading={"point_size": 0.03})
import meshplot as mp
mp.plot(point_set)
PyGEL3D
from PyGEL3D import gel, js
m = gel.obj.load(model_path)
js.display(m, smooth=False)
Rendering