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

On a Mac with Python 3.10 and open3d 0.18 I am still not able to change the view control. #6581

Open
3 tasks done
jackjansen opened this issue Jan 8, 2024 · 0 comments
Open
3 tasks done
Labels
bug Not a build issue, this is likely a bug.

Comments

@jackjansen
Copy link

Checklist

Describe the issue

With release 0.18 installed into Python 3.10 from the official pypi distribution I am still seeing #6009.

It appears as if #6116 is not included in 0.18 (though the release notes say it is).

Reverting to open3c==0.16.1 makes the bug go away.

Steps to reproduce the bug

import open3d
import sys

def o3d_show_points(title : str, pc : open3d.geometry.PointCloud):
	"""Show a window with an open3d.geometry.PointCloud. """
	vis = open3d.visualization.Visualizer() # type: ignore
	vis.create_window(window_name=title)
	vis.add_geometry(pc)
	axes = open3d.geometry.TriangleMesh.create_coordinate_frame()
	vis.add_geometry(axes)
	viewControl = vis.get_view_control()
	pinholeCamera = viewControl.convert_to_pinhole_camera_parameters()
	pinholeCamera.extrinsic = [
	    [1, 0, 0, 0],
	    [0, 1, 0, 0],
	    [0, 0, 1, 0],
	    [0, 0, 0, 1]
	]
	viewControl.convert_from_pinhole_camera_parameters(pinholeCamera)
	vis.run()
	vis.destroy_window()

pcd = open3d.io.read_point_cloud(sys.argv[1])
o3d_show_points(open3d.__version__, pcd)

Error message

No message

Expected behavior

Here is a screenshot of 0.16.1, which is correct. It shows the point cloud as captured from my realsense camera, i.e. with origin at the camera position and looking down the Z axis:

screenshot-0161

And here is the incorrect screenshot of 0.18 (which is the same as for 0.17.x):

screenshot-018

Open3D, Python and System information

- Operating system: MacOS 14.2.1 on M1, MacOS 13.6 on Intel
- Python version: Python 3.10.13
- Open3D version: 0.18
- System architecture: x86_64 / arm64
- Is this a remote workstation?: no
- How did you install Open3D?: pip
- Compiler version (if built from source): not applicable

Additional information

No response

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

1 participant