Hi there,
I try to generate a format potree.zip file on the console and on a script.
This is the code line:
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.zip",source=PhotoScan.DataSource.DenseCloudData, format = 'potree')
Agisoft done the jop, but in the *.zip file contain only the *.js file.
when I do the same process on the Menu: File/Export Points... (potree format) it work fine.
I try too in others formats in code lines for formats like *.las, *.laz, *.pdf, *.txt
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.txt",source=PhotoScan.DataSource.DenseCloudData, format = 'xyz')
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.laz",source=PhotoScan.DataSource.DenseCloudData, format = 'laz')
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.pdf",source=PhotoScan.DataSource.DenseCloudData, format = 'pdf')
And the work was fine!
What is the wrong with potree format?
My pc have Windows 10 and this is the agisoft:
2016-02-16 13:33:16 Agisoft PhotoScan Version: 1.2.2 build 2294 (64 bit)
2016-02-16 13:33:16 OpenGL Vendor: Intel
2016-02-16 13:33:16 OpenGL Renderer: Intel(R) HD Graphics 4600
2016-02-16 13:33:16 OpenGL Version: 4.3.0 - Build 20.19.15.4331
2016-02-16 13:33:16 Maximum Texture Size: 16384
2016-02-16 13:33:16 Quad Buffered Stereo: not enabled
2016-02-16 13:33:16 ARB_vertex_buffer_object: supported
2016-02-16 13:33:16 ARB_texture_non_power_of_two: supported
2016-02-16 13:33:22 Loading project...
2016-02-16 13:33:22 loaded project in 0.006 sec
2016-02-16 13:33:22 Finished processing in 0.006 sec (exit code 1)
Thanks