Visualization problem
I want to update the TriangleMesh constantly, and I use the following code, but I can’t see the front face clearly. Is there any way to adjust it? ` vis = o3d.visualization.Visualizer()
vis.create_window(width=1080,height=840)
opt = vis.get_render_option()
opt.background_color = np.asarray([1, 1, 1]) mesh_is_empty=True mesh=o3d.geometry.TriangleMesh() if mesh_is_empty: print('add geometry') mesh.vertices=vertices mesh.triangles= triangles #mesh.vertex_colors=colors mesh.compute_vertex_normals() vis.add_geometry(mesh) mesh_is_empty=False else: print('update geometry') mesh.vertices=vertices #mesh.triangles= triangles mesh.vertex_colors=colors mesh.compute_vertex_normals() vis.update_geometry(mesh) vis.poll_events() vis.update_renderer() vis.run() `
