-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Agisoft Metashape Support #1
Comments
I already ivestigated Metashape's "Agisoft XML (*.xml)" file format, so its possiblly would be landed in next release. Of course, there is more questions about exporting (for same purpose as with Reality Capture's Anyway, thank you for request and support! |
@ivan-perevala I think most of users only expect an import from photogrammetry apps not an export back. But using solid XML file open an another question on how handle arbitrary camera load from such files. When with RC XMPs we can load only selected cams. |
@ssh4net Metashape exports only active component into "Agisoft XML" file. That means that for importing all cameras in your dataset, you actually need export each component as separate file and than - just import them by an addon as multiple files, exactly same way as with RC XMP's. And I dont see any issue in importing all the cameras, tbh. In Blender you always can just enter object mode and delete unused cameras, or do the same from outliner, even in texture paint mode. Or just do not use them for painting :) Of course, that is possible, in cost of import file browser performance (import just camera names from file, create UI list of them and give an option for each/all names to be imported or ignored) Maybe I dont got the point, but if you want in some way select cameras for import during importing from a single file (which MS
I agree. For sure, it would be nice to see some kind of "consistency" in addon's IO - each file format can be not only imported, but also exported back. But I think this should be disscussed for each third-party software file format. For example, as I mentioned, export makes sense for Reality Capture's XMP. So, the question is: does it makes any sense for exporting Metashape's XML? @tbenazzi , @ssh4net , what do you guys think? |
@ivan-perevala thanks for your answer. regarding the export back to the third party software, I don't have a specific use case in mind where it could be useful. Once images are aligned, controlled and fixed in position, rotation and distorsion, we don't need to modify anything anymore on them. I maybe missing a use case where it could be useful but in our case it's not really necessary. |
@tbenazzi , well, than for now it would be only import.
I'm using the same dataset (ring in Warszaw) which I prepared on a bunch of different cameras with dirrerent resolutions and orientations, and its pretty enough for dev purposes. @ssh4net also gave me more comlex datasets (with 1500+ images:)), so no need to worry about) |
@ivan-perevala Oh, I know one use case. I used to export Agisoft XML from RealityCapture (using reports) to debug issue with texturing using 32 bit float (signed) images. Also some might feel that other app (with a greener grass) can texture better. |
I commited some basic implementation b757b28. For now I see a few obvious issues:
So for now I'm not creating a new release, this should all be fixed
|
Hello @ivan-perevala , I put some time to analyse your work, Actually I did not manage to find a way to import my Agisoft AT :/ Last week I had the "Agisoft metashape" choice into the Software menu, i reinstalled the addon and it's not the case anymore with the latest release. second thing: most of the time our projects are georeferenced into a specific cartographic system. |
Evening, @tbenazzi ! I haven't done a release yet with the last published commits. Therefore, yes, it is necessary to download not the release, but the last published commit. Currently I'm working on import/export optimization, so I plan to finalize the new addon release by the next Blender LTS (4.2) release, already with Metashape IO implementation. In any case, I won't change the UX too much in this regard, I think currently importing Regarding the problem with Blender's single precision, I think, for a start, you can try to import such a scene as The add-on, unlike Blender itself, can import, save, and export data in double-precision format, but again, only for cameras (i.e. mesh vertices coordinates are not affected). The restriction also applies to cameras. For example, the imported camera position is stored as a double-precision vector, but if you change the actual position of the camera object in the scene, this data will be updated (from the actual single-precision coordinates). The data update takes into account the difference in the float -> double conversion - thanks to this, the data is not updated by itself (because the difference between the actual and imported value, although very small, is still there). To summarize, the imported data will remain double-precision data until the actual data is changed. Another limitation follows from this - if you import values with double precision that will go beyond the limits of a number with single precision, then they will be "truncated" - that is, the actual import will take place, but not correctly. In any case, I am talking about extremely large numbers that have not yet been tested in practice with this add-on. If there is any copyleft scene for testing, I would ask that you share. I think the question can be solved using the "Global Scale" parameter of the importer (in the import process, it directly affects not only the scale, but also the accuracy of the data) |
Hi Ivan (@ivan-perevala), |
Your Work is a Gem Dude !!!
We can't wait to see an Agisoft Metashape support to try this tool and help you to develop further.
Actually, metashape can export images in those formats :
Ask us if you need some project cameras export. we have plenty dataset to share if necessary.
The text was updated successfully, but these errors were encountered: