Open DrewScatterday opened 1 year ago
Okay I think this is actually a bug with maybe read_pinhole_camera_parameters
in 0.17.0
I downgraded to open3d==0.16.0
and ran this same exact code and it worked with no issues
For reference I'm on: Windows 10 64 bit Build 19045 Python 3.8.17 Using a conda env with conda version 23.3.1
Okay I think this is actually a bug with maybe
read_pinhole_camera_parameters
in 0.17.0I downgraded to
open3d==0.16.0
and ran this same exact code and it worked with no issuesFor reference I'm on: Windows 10 64 bit Build 19045 Python 3.8.17 Using a conda env with conda version 23.3.1
my man, you are my hero!!!!!
@co1one glad I could help! Took me way too long to figure that one out haha. Hopefully someone fixes it in the latest version
@DrewScatterday @co1one The issue was fixed in master branch some months ago. If you install via latest http://www.open3d.org/docs/latest/getting_started.html#development-version-pip, you should not face the issue.
Main issue is due to vis.get_view_control()
returning copy of view control and changes to it are not reflected in visualizer.
Checklist
master
branch).My Question
What I'm trying to do:
I have a ply mesh and I want to set the Visualizer camera viewpoint reading from a json file
My Code:
I found this issue thread here I've tried the first example linked in that thread. I moved the camera position in the viewer manually and then saved that camera viewpoint to json using this code:
That code produced this viewpoint json file:
Then I used this code and tried reading in that json file to set the viewpoint:
But that doesn't set the camera position of the window
Other things I've tried:
What am I missing? What is the correct way to set the viewpoint from a json file?