Freeze Transformation for Save
-
- Posts: 2
- Joined: Mon Apr 15, 2024 4:09 pm
Freeze Transformation for Save
Hi, how to freeze a transformation in CC, i.e. set it to identity, to save a transformed point cloud as it is? I have a point cloud from a PCD file that I transform via the "Apply transformation" function on the cloud node to align the content with the axes. Now when I save this transformed point cloud as a PCD file and open that file, the displayed point cloud has the wrong location and orientation. What is the correct workflow?
Re: Freeze Transformation for Save
Which version are you using?
In older versions, the 'sensor' part of the PCD file was ignored (i.e., when the entity was transformed, the sensor was not updated). Now in the latest 2.13.x versions, it is correctly updated.
So either you need to upgrade CloudCompare, or if it's the latest version, then you may want to delete the 'sensor' object below the cloud before saving it.
In older versions, the 'sensor' part of the PCD file was ignored (i.e., when the entity was transformed, the sensor was not updated). Now in the latest 2.13.x versions, it is correctly updated.
So either you need to upgrade CloudCompare, or if it's the latest version, then you may want to delete the 'sensor' object below the cloud before saving it.
Daniel, CloudCompare admin
-
- Posts: 2
- Joined: Mon Apr 15, 2024 4:09 pm
Re: Freeze Transformation for Save
I'm using 2.12.4 and have found a workaround: Before exporting the transformed point cloud, apply the inverse transformation on the "TLS/GBL" node under the cloud node.
Just tested exporting with 2.13.1 and it works as expected. Thank you!
Just tested exporting with 2.13.1 and it works as expected. Thank you!
Re: Freeze Transformation for Save
Here’s a brief guide on how to apply the inverse transformation:
- Open CloudCompare and load your point cloud. Autodesk AEC 2024 best price.
- Select the point cloud and find the "TLS/GBL" node.
- Apply the inverse transformation to this node.
- Save the point cloud as a PCD file.
- Open CloudCompare and load your point cloud. Autodesk AEC 2024 best price.
- Select the point cloud and find the "TLS/GBL" node.
- Apply the inverse transformation to this node.
- Save the point cloud as a PCD file.