Forum

Author Topic: make it optional to generate vertex colors  (Read 10684 times)

KEgg

  • Newbie
  • *
  • Posts: 34
    • View Profile
make it optional to generate vertex colors
« on: June 07, 2011, 05:08:31 PM »
Would it be possible to make it optional to generate vertex colors when building geometry, as it really slows down at this point, using only one thread to do the processing. Its stops myself from seeing the resulting geometry quickly.

best regards

MikeH

(build 958 Linux 64bit)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: make it optional to generate vertex colors
« Reply #1 on: June 07, 2011, 05:21:00 PM »
Hello Mike,

Could you please say how many photos are there in the set, what is their resolution and what reconstructing method is used?
We'll try to reproduce the process to see if the slow down is significant.
Best regards,
Alexey Pasumansky,
Agisoft LLC

KEgg

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: make it optional to generate vertex colors
« Reply #2 on: June 07, 2011, 05:44:15 PM »
I'm using a set of 8 2034x3456 (portrait style) Tiff images. No masking.

Recon Parameters ::

Object type     : Arbitrary
Target Quality  : High
Geo Type         : Sharp
count              : 200,000
Filter                : 0.5
hole threshold :0.1

Time taken ::

Alignment                             :: 20 seconds
Depth and Mesh generation :: 7 mins
Vertex Color generation       :: 32 mins

System ::
i7 2600 3.4ghz
16g's of ram
Nvidia 480 GTX
« Last Edit: June 07, 2011, 05:50:14 PM by KEgg »

KEgg

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: make it optional to generate vertex colors
« Reply #3 on: June 07, 2011, 06:03:26 PM »
Wouldn't it be better for it to generate the vertex colors after it has done decimating the mesh to desired count?

still be a good idea to have it optional when starting build process.

cheers

Mike
« Last Edit: June 07, 2011, 06:06:09 PM by KEgg »

Dmitry Semyonov

  • Agisoft Technical Support
  • Full Member
  • *****
  • Posts: 200
    • View Profile
Re: make it optional to generate vertex colors
« Reply #4 on: June 07, 2011, 11:21:22 PM »
Hello Mike,

Thank you for reporting the problem. We have found that the problem applies to Sharp geometry reconstruction methods only, Smooth ones perform as expected.

We will probably need a couple of days to find a proper solution to the problem. We will disable vertex coloring for sharp reconstruction methods completely if the fast coloring method is not available. I hope that the fix will be available this weekend.

Sorry for inconvenience.
With best regards,
Dmitry Semyonov
Agisoft

KEgg

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: make it optional to generate vertex colors
« Reply #5 on: June 13, 2011, 08:02:37 PM »
Excellent to see this is working perfectly now. Have to say I have swapped to using 'smooth' as the quality of its geometry is a lot better.

cheers

best regards

Mike

bmc130

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Disable Vertex Color
« Reply #6 on: October 18, 2014, 04:36:57 PM »
Is it possible to disable vertex color during generating mesh? If it's just for show and not doing any functions during the build texture process I would say it's a unnecessary step to wait for and would save me some minutes for each scan:)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Disable Vertex Color
« Reply #7 on: October 23, 2014, 01:36:27 PM »
Hello bmc130,

Do you have any estimates for your common projects regarding the relative time spent for vertex color calculation to the whole process in percent?
Best regards,
Alexey Pasumansky,
Agisoft LLC

bmc130

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Disable Vertex Color
« Reply #8 on: October 23, 2014, 02:14:58 PM »
Hmm..no I cant rely say a percentage number of time spent. But the coming weeks I have about two hundred scans to complete. Some are quick some are very heavy in point number. Of course the vertex calculation phase is the least time consuming, but since I wont be needing it for my generated mesh since I'm doing a texture anyway it is a couple of minutes to be saved for each scan. I havent really timed the vertex color calculation phase for the mesh generating, but for some extreme meshes it can be 150-200 million faces that is going to be vertex colored (probably take like 3-5 minutes or longer?), then after thats done I will decimate the mesh to 20 million so the vertex colors becomes kind of pointless after that step anyway and then generate texture.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Disable Vertex Color
« Reply #9 on: October 23, 2014, 04:00:22 PM »
Hello bmc130,

I've run a quick 10 min test for mesh generation in arbitrary mode from about 15 Millions dense cloud point, color estimation took about 1% of time - 5-6 seconds. So actually I don't think that there will be much benefit in time.
Are you using arbitrary or height field mode?
Best regards,
Alexey Pasumansky,
Agisoft LLC

bmc130

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Disable Vertex Color
« Reply #10 on: October 23, 2014, 04:08:58 PM »
5-6 seconds thats quick and I could live with that, wonder why it takes longer on my machine..I doing arbitrary only.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Disable Vertex Color
« Reply #11 on: October 23, 2014, 04:13:29 PM »
However, I've checked on PhotoScan 1.1, will try the same on PhotoScan 1.0.
Best regards,
Alexey Pasumansky,
Agisoft LLC

bmc130

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Disable Vertex Color
« Reply #12 on: October 23, 2014, 04:17:28 PM »
How is it with speed increases in 1.1 compared to the older versions of photoscan? I asked this question in the Pre release 1.1 thread, but while your here I might as well ask you :)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: make it optional to generate vertex colors
« Reply #13 on: May 15, 2017, 07:29:07 PM »
In the version 1.3.2 there's an option for the vertex colors generation in the Build Mesh dialog.
Best regards,
Alexey Pasumansky,
Agisoft LLC

bmc130

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: make it optional to generate vertex colors
« Reply #14 on: May 15, 2017, 10:12:13 PM »
Thank you Alexey!