Z-axis orientation in PLY file
| Required Info | |
|---|---|
| Camera Model | D435i |
| Firmware Version | 05.11.01.100 |
| Operating System & Version | Win 10 |
| Platform | PC |
| SDK Version | 2.19.0 |
| Language | C++ |
Hi,
I set D435i toward the ceiling from my desk and exported .ply file by RealSense Viewer, shown below:

I checked the file with MeshLab and found the Z values of the points were negative, shown below:

Is it correct behavior ?
I also found the depth was positive in v2.17.0, v2.18.0 and v2.18.1, shown below:

Thanks.
Hi @ynakayji, Thank you. This is expected as starting from SDK 2.19.0, the points are converted from right hand to left hand coordinate system when exporting vertices to ply. https://github.com/IntelRealSense/librealsense/pull/3352/commits/9e4b6ba09ac6fd0b20bc28f388e44791f4cc04c1
Hi @RealSenseCustomerSupport , Thank you for your reply. Could you tell me the reason why the coordinate system has been changed from SDK 2.19.0. The coordinate system displayed on 3D RealSense Viewer v2.19.0 seems to remain right hand one.
Hi @ynakayji, The reason we changed the coordinate system when exporting vertices to ply is that when users loaded it with MashLab its looked flipped because the default view point of Mesh Lab is different from our view point on 3D RealSense Viewer and thus we should also changed the faces normals. So we adjust it to the default definition of MeshLab.
Hi @aangerma , Thanks for your reply. I understood the reason.