Hi Alexey
thanks for the response. When I add in the buildUV step before the buildTexture:
doc = PhotoScan.app.document
doc.open("...")
chunk = doc.chunk
chunk.buildUV(mapping=PhotoScan.GenericMapping)
chunk.buildTexture( color_correction=True )
chunk.buildOrthomosaic( surface=PhotoScan.DataSource.ModelData )
doc.save()
I get an error :
'blending textures... *********************************** frames quality estimated in 1.23499 sec', '*********************************** done in 13.5811 sec', 'postprocessing atlas... done in 0.011684 sec', 'BuildOrthomosaic: projection type = Planar, blending mode = Mesh, surface = Mosaic, resolution = 0', 'Please save project in PSX format before processing', 'Traceback (most recent call last):', ' File "/global/home/users/mmanning/actest/commandscript.sh", line 10, in <module>', ' chunk.buildOrthomosaic( surface=PhotoScan.DataSource.ModelData ) ', 'RuntimeError: Empty frame path'
Im not sure what to do with this, I see only one reference to a PSX in the 1.3 ref documentation. Do I need to export the model into a PSX then run build texture? Is the "Empty frame path" message related or something different?
Thank you for your assistance, still learning Photoscan.
Maurice