31
Bug Reports / Re: Issues uploading models to Sketchfab
« on: March 10, 2018, 03:08:14 AM »
Thanks Alexey. I have done some more investigating and figured you were onto something with the ‘space’ characters in the filename (regarding my problem 2 above). It seems that the newer releases of Photoscan add the quotation marks (double inverted commas) around the jpg file name as quoted in the mtl file - but only if there are space characters in the filename. I noted it does not add the quotation marks if I change the space characters to underscores for example. From what you say, Photoscan does this because the space characters can confuse other applications. However as far as Sketchfab goes, the quotation marks are more confusing and the uploaded models display no texture. I am happy with either solution here (not using spaces or removing the quotation marks from the mtl file). It might be worthwhile keeping this in mind if others are having the ‘no texture’ problem with manual uploads to sketchfab (I might post this on the sketchfab forum also).
Back to problem 1 regarding the very dark models resulting from direct upload from Photoscan. Here are two links to the same model. The first is uploaded directly from Photoscan to Sketchfab and the second is manually uploaded via obj export:
https://skfb.ly/6x8JE
https://skfb.ly/6x8JF
The second model above looks like it does in Photoscan. One thing I discovered with the direct upload model under “model information” (on the Sketchfab site) is that Photoscan now uses dae format for upload rather than obj format that earlier versions used. I tested this, and manually exported and uploaded by dae format - the result was the same very dark model as in the first link above. Even tweaking the exposure and brightness settings in Sketchfab cannot make these dark models look like they should.
My current solution is to keep manually uploading via obj format, as it produces the desired result and looks like it does in Photoscan - no big deal really. Is there any way of telling Photoscan to upload the model to Sketchfab using obj rather than dae format? I couldn’t see anything in the preferences menu about it.
cheers
Bill
Back to problem 1 regarding the very dark models resulting from direct upload from Photoscan. Here are two links to the same model. The first is uploaded directly from Photoscan to Sketchfab and the second is manually uploaded via obj export:
https://skfb.ly/6x8JE
https://skfb.ly/6x8JF
The second model above looks like it does in Photoscan. One thing I discovered with the direct upload model under “model information” (on the Sketchfab site) is that Photoscan now uses dae format for upload rather than obj format that earlier versions used. I tested this, and manually exported and uploaded by dae format - the result was the same very dark model as in the first link above. Even tweaking the exposure and brightness settings in Sketchfab cannot make these dark models look like they should.
My current solution is to keep manually uploading via obj format, as it produces the desired result and looks like it does in Photoscan - no big deal really. Is there any way of telling Photoscan to upload the model to Sketchfab using obj rather than dae format? I couldn’t see anything in the preferences menu about it.
cheers
Bill