Open vikusiq opened 3 years ago
Or maybe the camera which is used in save_image has different parameters than the default camera from the trimesh??!
@vikusiq Have you found a solution for this? I am facing the same problem.
I am also experiencing incorrect 2D-3D correspondence with scene.camera_rays()
. @vikusiq or @M1234Thomas - have either of you found a solution?
Hi @mikedh! Thanks for such a great library! You've done a lot of invaluable work with your strong community! I've just wanted to report you an issue I am dealing this weeks playing around with trimesh.
So, what am I doing is:
Could you please take a look at this issue? Maybe the save_image and camera_rays/camera_to_rays/ray_pixel_coords/intersects_location are not supposed to work together and there another way to recover 3D coordinates?! I've also had a feeling that somewhere the image/the scene/or the projected rays are rotated or something very strange happens to them. Or maybe there is kind of x-y inversion?
PS: I've also tried to express mathematically the x and y coordinates from the 3D space (with the fixed z), based on the intrinsic parameters of the camera. Which unfortunately did not help as well - x - was approximately in the right region, but y was projected too far away.
Hope, you can give me some hints! Thanks, Victoria