CloudCompare freeze when Subsample by active coordinate Scalar Field

Feel free to ask any question here
Post Reply
Jacoban90
Posts: 4
Joined: Mon Nov 27, 2017 9:52 am

CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by Jacoban90 »

Hi CloudCompare Community:

I recently discovered the program by another user and I found it very practice.

My question is related to the subsample tool. My objective is to modulate the distance between points by using a coordinate scalar field, concretally in the z direction. When I go to edit;subsample;go to space mode and check "Use active scalar field". maximum and minimum space. and press "Ok", the program freezes.


Thank you all in advance
Best Regards
Jacob
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by daniel »

Which version are you using? Moreover, make sure to use 'realistic' values, as if the radius become very big for some values it may take a long time to process.
Daniel, CloudCompare admin
Jacoban90
Posts: 4
Joined: Mon Nov 27, 2017 9:52 am

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by Jacoban90 »

I'm using the 2.9.1 version. I proved with diferent distances but it doesnt change nothing.

I attach you below the link with the .stl mesh and the cloudcompare file with the attachment. I cannot upload directly to thew forum. I dont know why.

https://drive.google.com/open?id=14EmZK ... k09oKJIgHu

https://drive.google.com/open?id=19bPKj ... AtjTXVNj_D

Best Regards
Jacob
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by daniel »

Well, I'm not sure what you are trying to achieve with a mesh (in "Cloud"Compare ;). However I assumed you were trying to resample the vertices?

Here's what I got (after setting the Z coordinate as scalar field):
cc_adatpative_resample.JPG
cc_adatpative_resample.JPG (68.51 KiB) Viewed 1526 times
It works fine on my side. And it works also if I do this on a sampled version of the mesh (plane).
Daniel, CloudCompare admin
Jacoban90
Posts: 4
Joined: Mon Nov 27, 2017 9:52 am

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by Jacoban90 »

Yes, I created the mesh in another program. Then I imported in cloudcompare to extract the vertices.

I defined a active scalar field to the z coordinate.

https://drive.google.com/open?id=1JgVJn ... jR7Un0whtT

I created the subsample using the "z scalar field" at the same way of you.

https://drive.google.com/open?id=1e_GhZ ... dgKKfBlQg3

But when I press ok the program freezes and doesn´t seem to work.

https://drive.google.com/open?id=19e15o ... ipeMJv8f8E

Best Regards
Jacob
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by daniel »

Can you try with the 2.10.alpha version then?
Daniel, CloudCompare admin
Jacoban90
Posts: 4
Joined: Mon Nov 27, 2017 9:52 am

Re: CloudCompare freeze when Subsample by active coordinate Scalar Field

Post by Jacoban90 »

Perfect the problem was related to the version of the program. In 2.1 works fine. Thank you very much.

Best Regards
Jacob
Post Reply