Forum

Author Topic: Pack iteration Texture generation  (Read 6305 times)

Iluvathar

  • Newbie
  • *
  • Posts: 27
    • View Profile
Pack iteration Texture generation
« on: March 10, 2020, 02:25:14 PM »
Hello,

Since the last update, texture generation is taking a really long time, i have a considerable number of iteration packs. Can someone explain the reason ?
Thanks a lot

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #1 on: March 10, 2020, 02:26:28 PM »
Hello Iluvathar,

Can you share any sample mesh model to support@agisoft.com which can be used to reproduce the problem, specify the processing parameters used and also provide the processing log from your tries?
Best regards,
Alexey Pasumansky,
Agisoft LLC

wojtek

  • Sr. Member
  • ****
  • Posts: 275
    • View Profile
Re: Pack iteration Texture generation
« Reply #2 on: March 11, 2020, 06:34:24 PM »
Hello Iluvathar,

Can you share any sample mesh model to support@agisoft.com which can be used to reproduce the problem, specify the processing parameters used and also provide the processing log from your tries?

Hello Alexey,

I also ran into this issue, do you still need test data?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #3 on: March 11, 2020, 07:03:45 PM »
Hello wojtek,

If you have the sample mesh that can be used please share it with us along with the processing parameters used and processing log.
Best regards,
Alexey Pasumansky,
Agisoft LLC

wojtek

  • Sr. Member
  • ****
  • Posts: 275
    • View Profile
Re: Pack iteration Texture generation
« Reply #4 on: March 11, 2020, 09:41:05 PM »
Hello wojtek,

If you have the sample mesh that can be used please share it with us along with the processing parameters used and processing log.

I sent it to support@agisoft.com

Iluvathar

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Pack iteration Texture generation
« Reply #5 on: March 12, 2020, 01:05:33 PM »
Hello i'm trying to extract a sample from my work by cutting my scene, i have a 11000 pics scene and selected a part of it, reduced overlap to have just the images of the selected part enabled, the images that are useless are disabled, how can i select all the desabled pictures at once ?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #6 on: March 12, 2020, 01:27:20 PM »
Hello wojtek,

Thank you for sharing the sample data, it is useful for the further investigation. As soon I have any news regarding the problem, I will post an update here.

Hello Iluvathar,

Currently you can do that only using the script:
Code: [Select]
import Metashape
for camera in Metashape.app.document.chunk.cameras:
   if camera.enabled:
      camera.selected = False
   else:
      camera.selected = True
Best regards,
Alexey Pasumansky,
Agisoft LLC

Iluvathar

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Pack iteration Texture generation
« Reply #7 on: March 13, 2020, 04:46:42 PM »
Files sended with wetransfer containing a part of the model with much less pictures, i ran the workflow and had much less iterations, hope it will help

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #8 on: March 13, 2020, 05:35:48 PM »
Thank you for additional data.

Hopefully, the UV parametrization will be fully fixed in the next version update. For example, the model provided by wojtek took about 30 minutes.
Best regards,
Alexey Pasumansky,
Agisoft LLC

nlombardo896

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Pack iteration Texture generation
« Reply #9 on: March 30, 2020, 04:39:23 PM »
I am also having this same issue after the update. Textures on anything processed never complete. For instance I began processing a chunk last Friday, and this morning after 60+ hours the Texture was only approximately 50% complete. The chunk has 1100 photos but i am seeing this issue with any amount of photos.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #10 on: April 01, 2020, 04:26:52 PM »
As a workaround in the version 1.6.2 you can create the following Tweak via Advanced preference tab and set its value to True:
main/texture_enable_legacy_uv

After that select Legacy parametrization option in the Build Texture dialog instead of Generic. Generic option will be fixed in the next version update.
Best regards,
Alexey Pasumansky,
Agisoft LLC

wojtek

  • Sr. Member
  • ****
  • Posts: 275
    • View Profile
Re: Pack iteration Texture generation
« Reply #11 on: April 01, 2020, 04:59:27 PM »
As a workaround in the version 1.6.2 you can create the following Tweak via Advanced preference tab and set its value to True:
main/texture_enable_legacy_uv

After that select Legacy parametrization option in the Build Texture dialog instead of Generic. Generic option will be fixed in the next version update.

Using Legacy may be a bit tricky, though (see image).

(just tested this, sorry for not replying to the previous email)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #12 on: April 02, 2020, 12:25:43 AM »
Hello wojtek,

Legacy is a way to pass the infinite iterations bug, although the texture atlas is considerably less optimal compared to the Generic parametrization expected result.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 13918
    • View Profile
Re: Pack iteration Texture generation
« Reply #13 on: April 23, 2020, 08:25:50 PM »
Another possible workaround in the version 1.6.2 is using multi-page atlas with 1000 pix pages, for example, instead of single 8K atlas use 64 pages of 1K atlas, although it might not be an option, if you need a single page as an output.
Best regards,
Alexey Pasumansky,
Agisoft LLC

artfletch

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Pack iteration Texture generation
« Reply #14 on: April 25, 2020, 10:10:38 PM »
Hi
Same problem for me.
Legacy works but result is not great.
I look forward to the urgent fix in the next version.  :)
Many thanks
Dave