Hi Alexey,
The files produced by the script allow this external software to show the camera points and also have their orientation so that images can be projected back onto the dense cloud. What we've realised is that if we have a dense cloud that we've scaled in MS (using markers and/or scale bars...but no camera GPS data...we're underwater), and we export the dense cloud and run this script to get the two output files, the cameras are not in the correct position in this external software. If we copy the chunk, turn off all scale features, update scaling and reset transformation and then do the same process, the cameras are in the correct position. When I compare the script output files from the scaled and unscaled models they appear exactly the same...which is odd. And importantly, I can see in the .json that even in the file exported from the scaled model, the camera centers at least are not correct. I say that by comparing them with the estimated x,y,z values in the reference pane. Any idea if we're doing something wrong in the script such that we're not getting the scaled values out of it? I've attached the two .json files that come from the script from one of our projects.
I exported it from both a scaled and unscaled version of the model. Thanks.
Will