Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open3D quits abnormally when visualising a number of cubes #6833

Open
3 tasks done
FishWoWater opened this issue Jun 18, 2024 · 1 comment
Open
3 tasks done

Open3D quits abnormally when visualising a number of cubes #6833

FishWoWater opened this issue Jun 18, 2024 · 1 comment
Labels
bug Not a build issue, this is likely a bug.

Comments

@FishWoWater
Copy link

Checklist

Describe the issue

The visualiser API works normally for less than 4k objects, but quits without any error log for 5k+ objects

I have searched around but found no information about this
image

btw, the latest development wheel seems 404: https://storage.googleapis.com/open3d-releases/python-wheels/open3d-0.18.0+5c982c7-cp310-cp310-win_amd64.whl

Steps to reproduce the bug

import open3d as o3d 

bbox = o3d.geometry.TriangleMesh.create_box()

# works, pop up a visualising window
o3d.visualization.draw([bbox] * 4000)

# quit without any error report 
o3d.visualization.draw([bbox] * 5000)

Error message

No response

Expected behavior

I should be able to visualise that many objects, or at least open3d should log some errors

Open3D, Python and System information

- Operating system:  Windows 11 64-bit
- Python version: Python 3.10 / output from `import sys; print(sys.version)`
- Open3D version: 0.18.0
- System architecture: x86_64
- Is this a remote workstation?: no
- How did you install Open3D?: pip

Additional information

No response

@FishWoWater FishWoWater added the bug Not a build issue, this is likely a bug. label Jun 18, 2024
@chrhoehl
Copy link

chrhoehl commented Jun 19, 2024

Same with Open3d 0.18.0 installed through pip on python (Windows 11, 64bit)

  • 3.10.11 embedded ( 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)])
  • 3.11.7 embedded,
  • 3.11.9 full install

On 3.10.11 I also tried with Open3d 0.17.0 / 0.16.0, which produces the same behavior.

Other operations here fail, too:

  • PointCloud.transform
  • o3d.pipelines.registration.registration_icp

Alternative way to reproduce (on draw-operation):

python -c "import open3d as o3d; \
           mesh = o3d.geometry.TriangleMesh.create_sphere(); \
           mesh.compute_vertex_normals(); \
           o3d.visualization.draw(mesh, raw_mode=True)"

Replacing the draw-operation with o3d.visualization.draw_geometries([mesh], window_name='Mesh Visualization', width=800, height=600) produces a window that visualizes the mesh without memory corruption

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

No branches or pull requests

2 participants