我正在尝试使用Python在Open3d中可视化一些点云数据,屏幕将呈现可视化器,但是一旦我尝试与之交互,它就会崩溃并显示以上消息。
import open3d as o3d
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(test_coords)
o3d.io.write_point_cloud("oakland.ply",pcd)
pcd_load = o3d.io.read_point_cloud("oakland.ply")
o3d.visualization.draw_geometries([pcd_load])
我真的不明白为什么它发生的原因或如何在网上修复它。
我有同样的问题。在可视化窗口中对点云进行一些操作后,程序崩溃。这是控制台中的输出:
Traceback (most recent call last):
File "...../Exercise1/02_example.py", line 23, in <module>
o3d.visualization.draw_geometries([pcd])
GLFW Error: WGL: Failed to make context current
一周前,相同的代码正在工作。
配置:Win 10,Python 3.7.6(64位)和Open3D 0.9.0