-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save mesh with color texture using save_to_ply() function #9531
Comments
Hi @MrTitusZ Exporting a ply with color in Python has been shown to be problematic in past cases. If you are okay with exporting a color ply without normals then the export_to_ply based Python script in the link below may suit your needs. |
Hello @MartyG-RealSense! I am aware of the export_to_ply function. My problem with the export_to_ply function is that with it I lose the option to set the encoding type and the normal calculation witch are mandatory for me. |
Any investigation about saving a color ply with Python always ends up coming back to the export_to_ply example linked to above unfortunately, as it is the only confirmed example that works. This is demonstrated by the save_to_ply example script in the link below, which works but did not export color for the script's creator. You are welcome to try it yourself to see whether you get different results. |
Hi @MrTitusZ Do you require further assistance with this case, please? Thanks! |
Hello, if there is no solution to give a texture from a colored frame to the save_to_ply() function, then I do not require further assisstance. |
I researched this case again carefully but still could not find any further resources that would enable creating a color ply in Python with save_to_ply instead of export_to_ply. So I will close the case. Thanks very much for your understanding! |
Issue Description
I was trying to replicate the "export_ply_example.py" from the python examples: https://github.com/IntelRealSense/librealsense/blob/development/wrappers/python/examples/export_ply_example.py
My gole is to export a ply file with color texture from one frame.
In the example file it uses rs.colorizer() fuction witch using the depth cam texture.
In line 27 it is saying that "texture can be obtained from color or infrared stream".
I tried to map the color frame to the point cloud, i wrote the documentation and tried to implement the c++ pointcloud example , but nothing works.
How can I get the color texture and how can i assign it to the point clod properly?
The text was updated successfully, but these errors were encountered: