-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
load_save_viewpoint (and other custom visualization scripts) not producing expected behavior #6300
Comments
My 2 cents. This is one of the most common issue reported on open3d discord channel, since I joined there 3 months ago. Some more info regarding this issue, during investigating other users complaint. vis.get_view_control seems to be returning copy of view control, which is why making any changes doesnt help.
Here is an example, where changes made to view control doesnt propogate to Visualizer.
I recently found this comment from 3 years ago where one can use ViewControl class/static methods that allows to change zoom value for ViewControl objects, but it didnt work for me as it should not since |
I can look into how to fix this and PR, but first time working with PyBind and also diving into C++ side of open3d, so might take some time. @ssheorey - Is it ok if I take this up? |
Hi @saurabheights thanks for offerring to help. Please try with the latest development Python wheel from here: |
Please feel free to assign me as the reviewer when the PR is ready. Thanks for your contribution! |
@ssheorey Thanks for the tip. Helped in zoning in faster. The issue happened right after 0.16.0 and |
Thank you all very much for your help in tackling this issue! |
@natesimon My bad. Can you test with latest version from here ? My update to latest version got ignored (missed
This issue was already fixed in #6116 and probably should work in your usecase. Do report back your result. |
@saurabheights (and others) Thank you so much for your help, this update worked for me! The Current output matches expected output:
|
Thank you @natesimon and @saurabheights for the discussion and confirmation! |
Checklist
master
branch).My Question
Hello!
ctr.convert_from_pinhole_camera_parameters(param)
does not update thevis
object for me. The simplest example of this issue is demonstrated by load_save_viewpoint.py, where the viewpoint is properly loaded but not reflected in the updated visualization.I added the following print statements:
Which yield the following:
The extrinsics are properly loaded, but the
ctr.convert_from_pinhole_camera_parameters(param)
does not modify theview_control
aspect ofvis
. Am I missing something here?The above represents the simplest example I could find; however, I am not getting the expected behavior from customized_visualization.py, customized_visualization_key_action.py, and interactive_visualization.py.
Thank you!
Setup:
Python version: 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:23:11)
[GCC 9.4.0]
Open3D version: 0.17.0
Git tag: v0.17.0-1fix6008-23-g179886dfd
The text was updated successfully, but these errors were encountered: