isl-org / isl-org/Open3D

Option for add_geometry not to reset camera view

Open
#4,306 2 comments 2 reactions 0 assignees View on GitHub
feature request legacy (Open3D 0.x API) viewcontrol visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

I know that there is another closed feature request (#2264) regarding this issue. The suggested solution there is to use the convert_to_pinhole_camera_parameters function to store the camera view and restore it after the call to add_geometry.

When doing that I noticed this warning when the othogonal view is adjusted:
`[Open3D WARNING] [ViewControl] ConvertToPinholeCameraParameters() failed because orthogonal view cannot be translated to a pinhole camera.`

One can resolve this issue by reseting the orthogonal view and storing it as a parameter and then restoring also it after the call. However, this is only an issue because add_geometry resets the view in the first place. Why does it do that? And can we add an option (function parameter) to not do that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.