Sample points on mesh with same position

Feel free to ask any question here
Post Reply
gonzin
Posts: 1
Joined: Sat Jan 24, 2026 7:04 pm

Sample points on mesh with same position

Post by gonzin »

Hi,
I have a mesh with two different textures to use. I need to sample points on the mesh and get the color value related to the each position.

The problem is that each time I sample on the mesh , the position appears to be random even if the mesh and point amount is the same.

Is there a way I can make the sampling not random?
daniel
Site Admin
Posts: 8158
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Sample points on mesh with same position

Post by daniel »

The sampling process is random... You would have to hack the code to always use the same random 'seed' each time the tool is called. If that's a viable solution for you, I could point you to the right part of the code...
Daniel, CloudCompare admin
Post Reply