Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - miguel

Pages: [1]
1
Python and Java API / Export Points: potree format
« on: February 17, 2016, 12:34:56 AM »
Hi there,

I try to generate a format potree.zip file on the console and on a script.

This is the code line:

Code: [Select]
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 

Code: [Select]
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.txt",source=PhotoScan.DataSource.DenseCloudData, format = 'xyz')
Code: [Select]
PhotoScan.app.document.chunk.exportPoints(r"C:\ProcessingData\result\pto.laz",source=PhotoScan.DataSource.DenseCloudData, format = 'laz')
Code: [Select]
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

2
Good Morning,

I have one Amazon EC2 Instance c4.8xlarge.  Run on Linux Ubuntu 14.04 LTS

I installed it Agisoft 1.2.2. and the first line configurations of that machine is :

Agisoft PhotoScan Version: 1.2.2 build 2294 (64 bit)
OpenGL Vendor: Mesa project: www.mesa3d.org
OpenGL Renderer: Mesa GLX Indirect
OpenGL Version: 1.3 Mesa 4.0.4
Maximum Texture Size: 2048
Quad Buffered Stereo: not enabled
ARB_vertex_buffer_object: not supported
ARB_texture_non_power_of_two: not supported


I try to run all process to generate orthophoto and DTM with a python script.
The problem is that in the “Build Dense Cloud”process.  Agisoft send to me that message error:

“OpenCl not found”

The configurationfor “Build Dense Cloud” is”


Code: [Select]
#  2- Built dense cloud
quality = PhotoScan.Quality.HighQuality #   
filtering = PhotoScan.FilterMode.AggressiveFiltering

In the Menu tools/preferences windows. There aren't OpenCl devices.

In the other hand, when i try to do a manual process and i try to generate de “Build Dense Cloud” Agisoft  send the same message of error.

But when I open the  tools/preferences Windows and pass the mouse pointer over that window and I do nothing and close the window and I go and run the manual process over the “Build Dense Cloud”all is ok and Agisoft PhotoScan can generate the “Build Dense Cloud”.

I think that the EC2 instance have OpenCl, but Agisoft can’t recognize it.

So, I need to run the script but taking the “Build Dense Cloud”

Thanks.

Miguel

Pages: [1]