I have an OBJ file with 4M vertices and 8M faces, as well as an 8Kx8K texture.
It loads very smoothly (10 sec or so) in 2.9.1.
I want to do some volume computations on it and because of the 'select 2 surfaces' bug, I need to use v2.10.alpha.
However, when I try loading it in 2.10.alpha, it loads very very slowly (i.e. about 2 hours) on the same machine. It seems CPU-bound (single thread at 100%).
The resulting model, once loaded, is OK though.
Any idea what the cause might be?
I'm using the Win64 build of v2.10.alpha.
Very slow loading of OBJ file in 2.10.alpha
Re: Very slow loading of OBJ file in 2.10.alpha
Update:
Not only the loading is slow, also segmentation takes much longer than before.
I delineated a region, segmented it (all quick) and then clicked the green V to finalize the segmentation.
This took a much longer time than before (appr 10 minutes).
Might there be an issue with way the surface is stored in memory? I tried opening and segmenting an OBJ file with 2M faces (instead of 8M like this one) and that is very fast. I have plenty of RAM (32GB on my laptop and 64GB on a desktop which showed the same symptoms).
Not only the loading is slow, also segmentation takes much longer than before.
I delineated a region, segmented it (all quick) and then clicked the green V to finalize the segmentation.
This took a much longer time than before (appr 10 minutes).
Might there be an issue with way the surface is stored in memory? I tried opening and segmenting an OBJ file with 2M faces (instead of 8M like this one) and that is very fast. I have plenty of RAM (32GB on my laptop and 64GB on a desktop which showed the same symptoms).
Re: Very slow loading of OBJ file in 2.10.alpha
Hum you are right, it's a bit strange. We'll have to look at this!
Daniel, CloudCompare admin
Re: Very slow loading of OBJ file in 2.10.alpha
Okay, I'm not sure if it's the right reason,but I changed the code slightly so that it reserve memory less often. On my side it was speeding the loading process. Can you test it on your side? (I've update the 2.10.alpha online version)
Daniel, CloudCompare admin
Re: Very slow loading of OBJ file in 2.10.alpha
Hi Daniel,
Your patch definitely speeds up the loading process. My model now loads in a couple of minutes, compared to the 2 hours before the patch.
Segmentation ('confirming the segmentation') also seems a lot faster. Is that possible?
cheers,
Maarten
Your patch definitely speeds up the loading process. My model now loads in a couple of minutes, compared to the 2 hours before the patch.
Segmentation ('confirming the segmentation') also seems a lot faster. Is that possible?
cheers,
Maarten
Re: Very slow loading of OBJ file in 2.10.alpha
Ah no, it should be a totally separate problem : )
Daniel, CloudCompare admin