What should be up is down.

Feel free to ask any question here
Post Reply
Arijanit
Posts: 1
Joined: Wed Mar 06, 2019 4:36 pm

What should be up is down.

Post by Arijanit »

Hi -

I downloaded a asciitab - hightmap from metria.se
To be able to open the asciitab file in pointcloud, I had to change the file extension to .xyz. So good so far.

I have done this before and it has worked every time, everything has been the same but for some reason on this latest file, what should be mountains are now valleys. Is there a fast way to invert so that it what are now valleys become mountains.

I have tried everything, can't find a solution.
I am greatfull for any help I can get !

Best Regards / A
muzo583
Posts: 30
Joined: Wed Nov 19, 2014 6:19 pm

Re: What should be up is down.

Post by muzo583 »

Hi,

I think you should write your scripts in the programming language. Reflecting point clouds to the plane as it is known as mirroring.

First, define a plane at maximum Z height or higher than maximum height point. Then mirroring your points, it will change the valleys to the mountain and mountains to the valley.

https://www.youtube.com/watch?v=86lwcXeZoiA

Cheers
daniel
Site Admin
Posts: 7712
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: What should be up is down.

Post by daniel »

Alternatively, you can use the 'Edit > Multiply' tool and multiply the inverted dimension by -1.
Daniel, CloudCompare admin
Post Reply