PTCInc / vuforia-engine

Bug and feedback issue tracker for the Vuforia Engine SDK
https://developer.vuforia.com
20 stars 0 forks source link

Area target generator error "Estimation of target area" #117

Closed X-LU-00 closed 6 months ago

X-LU-00 commented 7 months ago

Summarize the bug: Area target generator always failed during the 'estimating target area' step

Observed problem When creating an area target through E57 data (around 1.2GB), the model import was successful, and the point cloud was editable. The AT generator was the latest version with 10.21.3, and the E57 data was thoroughly prepared according to the handbook instructions with Leica Cyclone 360 Plus registered. The disk space was OK with 20GB left in C drive, and the creator app run under the administrator mode.

Expected result success in generating area target unity package

Other observations It sometimes show 'Error code 10' in other PCs

Reproducible steps Steps to reproduce the behavior:

  1. Go to 'Area Target Generator'
  2. Set the path for E57 data and the save path, Click on 'Import'
  3. Edit the point cloud and Click on 'Generate'
  4. See error

Affected Vuforia Engine version: V10.21.3

Affected platform:

Affected device:

Screenshots / Video Recordings Share any screenshots or video recordings from the platform or device. You can also use the Session Recorder. 0240428185935

Affected database If applicable, share your database / dataset which is affected in the issue you're experiecing.

Device or platform logs

Processing scans Scan processing successful.

Saving authoring structure Creating occlusion mesh 8/8 Creating navigation mesh source Estimating target area

Estimation of target area: The downloaded data is corrupted or incompatible. Please make sure that there is enough disk space available on your system and run this tool again to start a new download.

Workaround Is there currently a workaround that you're using? No

Additional comments Add any other details about the problem here.

X-LU-00 commented 7 months ago

When directly using 3DT file, there was another type of error and what the log said was an un-matched situation with the development environment with what I'm having at the moment. (also with abundant disk storage and the priority to write files to the disk).

Log Area Target Generator Headless Copyright 2023 PTC Inc. All rights reserved. Starting 3DT Processing "yantai_demo_comp_authoring.3dt"


Processing tileset

Processing image 942/942

Processing point cloud


3DT processing "yantai_demo_comp_authoring.3dt" successful. Starting consolidation


Clipping point cloud 8/8

Saving point cloud structure 8/8


Consolidation successful.

Starting Area Target generation and packaging


Processing scans Scan processing successful.


Saving authoring structure

Occlusion- and Nav-Mesh generation (occlusion mesh creation): Storage error. Please make sure your computer has free storage capacity and your user is allowed to write to disk, then run this tool again.

0240429221807

ptc-thesbyro commented 7 months ago

Hello, and thanks for reaching out.

Would you have an older version of the Area Target Generator available to try to reproduce the issue? Preferably v10.20.3? If the error also occurs in older versions, it may be a problem with the scan.

In the first image you shared, you seem to be writing to a T: drive. Could you clarify if this is a virtual or temporary location?

While 20GB should be enough, it would be good to verify that the ATG generation isn't running out of space or hitting a low disk space threshold. Could you monitor the disk space while running the generation workflow?

Thank you,

X-LU-00 commented 6 months ago

@ptc-thesbyro Thanks for your reply, where could I find the archive to download the v10.20.3 version of the Area Target Generator?

About T: Drive : it is an extended hard drive that was connected to a local development PC with 6TB of storage.

Btw is there any chance that ATG happened to hit a low disk space threshold instead of writing the generated target file to the file path set before the generation? Since the task manager window didn't indicate any disk data when doing the estimation. 240430162606 240430163153

Log Your Area Target will be saved to:

F:\Area Target\Entrance_1/YT_Outside_target

Area Target Generator Headless

Copyright 2023 PTC Inc. All rights reserved.

Starting 3DT Processing "YT_Outside_authoring.3dt"


Processing tileset Processing image 942/942 Processing point cloud


3DT processing "YT_Outside_authoring.3dt" successful. Starting consolidation


Clipping point cloud 8/8 Saving point cloud structure 8/8


Consolidation successful. Starting Area Target generation and packaging


Processing scans Scan processing successful.


Saving authoring structure Creating occlusion mesh 8/8 Creating navigation mesh source Estimating target area Estimation of target area: The downloaded data is corrupted or incompatible. Please make sure that there is enough disk space available on your system and run this tool again to start a new download.

40430164031

Additional: In case the ATG didn't allow external hard drive, we also tried to directly generate to the C: drive, also showed the same results as indicated above.

ptc-thesbyro commented 6 months ago

Hi @X-LU-00 , you can request the ATG v10.20.3 in an email to vuforia-feedback@ptc.com referencing this issue number (#117).

In the meantime, could you also try to free up space on the C: drive? if that is not possible, try to temporarily modify your TEMP or TMP environment variables to point to a different location with more space available.

Thank you,

X-LU-00 commented 6 months ago

Hi @ptc-thesbyro , thanks for your reply, after using the ATG v10.20.3, with freed-up C: disk space at around 35GB, the issue exists as follows:

Log Area Target Generator Headless Copyright 2023 PTC Inc. All rights reserved.

Starting 3DT Processing "Inside_authoring.3dt"


Processing tileset Processing image 942/942 Processing point cloud


3DT processing "Inside_authoring.3dt" successful. Starting consolidation


Clipping point cloud 8/8 Saving point cloud structure 8/8


Consolidation successful. Starting Area Target generation and packaging


Processing scans Scan processing successful.


Saving authoring structure Creating occlusion mesh 8/8 Creating navigation mesh source Generating Vuforia dataset

Area Target packaging (Vuforia dataset generation): The downloaded data is corrupted or incompatible. Please make sure that there is enough disk space available on your system and run this tool again to start a new download.

Capture1 0430203212

ptc-thesbyro commented 6 months ago

Thank you confirming the issue persists also with the older ATG and with more free space on the C: drive.

Would you be willing to share your E57 scan with us so that we may attempt to reproduce the issue? If yes, please do so via vuforia-feedback@ptc.com.

Another thing to try would be to return to your setup in the Cyclone software and create a new E57 from a different scan. It may be that the software has changed some settings and our documentation needs to be updated. A different E57 created with the same settings and producing the same error could verify this.

Thank you,

X-LU-00 commented 6 months ago

@ptc-thesbyro Thanks for your reply, the link has been sent via email. While we tried to create a new E57 scan according to the handbook instructions, the issue exists...

ptc-thesbyro commented 6 months ago

Thank you @X-LU-00,

We will investigate internally and get back to you with our findings.

Kind Regards,

ptc-thesbyro commented 6 months ago

Hello,

We were able to reproduce your issue with the provided scans. We think the reason for the ATG to be unable to generate Area Targets from your scans is due to the export settings in Leica Cyclone 360 Plus. In particular, it looks like the E57 is saved as a single point cloud instead of multiple, so each panorama image result with the same translation (0, 0, 0).

I'd like you to try setting up a new project with your scanned data in the Leica Cyclone 360 Plus software using the steps and settings listed in: https://developer.vuforia.com/library/area-targets/leica-scans. Make sure that step 10 is enabled for Separate Setups (structured, unstructured) image

Thank you,

X-LU-00 commented 6 months ago

Thanks @ptc-thesbyro for the support, the issue has been solved ;)