'PointCloud disappear at certain angles

When i move my pcd in a certain way it disappear, anyone had this problem and can give me some advice?

Iv'e tried multiple times to change background, get different pointcloud, try in a different visualizer...

my code:

    def _on_snapshot(self):
        self.n_snapshots += 1
        title = "Open3D - Multi-Window Demo (Snapshot #" + str(self.n_snapshots) + ")"
        new_vis = o3d.visualization.O3DVisualizer(title)
        print(self.pcdA)
        new_vis.add_geometry(str(self.n_snapshots),
                             self.pcdA, self.settings.material)
        new_vis.reset_camera_to_default()
        bounds = self.pcdA.get_axis_aligned_bounding_box()
        extent = bounds.get_extent()
        new_vis.setup_camera(60, bounds.get_center(),
                             bounds.get_center() + [0, 0, -3], [0, -1, 0])
        o3d.visualization.gui.Application.instance.add_window(new_vis)

i use a simple draw function.

video to show the problem: https://vimeo.com/680479067



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source