I have an mesh file (.off) , faces are not oriented corehently ( i mean some triangles have cyan color while other have "green" ). Is there any way to reorient them ( i mean all triangles shows in "green' color. )
These are below two test cases (.off).
https://justpaste.it/62ajc
https://justpaste.it/5gf7j
Logic to reorient all faces.
Re: Logic to reorient all faces.
Maybe Meshlab has some built-in functions to do that?
Daniel, CloudCompare admin
Re: Logic to reorient all faces.
Hmm , I know that , but I want some logic to to this.
Do you know about any open source project that solve this type of problem...
Or any logic..???
Do you know about any open source project that solve this type of problem...
Or any logic..???
Re: Logic to reorient all faces.
Meshlab is open source ;)
Otherwise if you have the mesh topology, you can 'propagate' the direction of a normal from one triangle to its neighbors (with a kind of Minimum Spanning Tree structure for instance) or other front propagation methods.
Otherwise if you have the mesh topology, you can 'propagate' the direction of a normal from one triangle to its neighbors (with a kind of Minimum Spanning Tree structure for instance) or other front propagation methods.
Daniel, CloudCompare admin
Re: Logic to reorient all faces.
Ok I will try this..