Skip to content
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

Loss of color when converting to open3D #350

Open
alek5k opened this issue May 23, 2023 · 0 comments
Open

Loss of color when converting to open3D #350

alek5k opened this issue May 23, 2023 · 0 comments

Comments

@alek5k
Copy link

alek5k commented May 23, 2023

Describe the bug
When converting to an open3d instance, the color of the point cloud is lost

To Reproduce
Steps to reproduce the behavior:

import open3d
from pyntcloud import PyntCloud

pointcloud = open3d.io.read_point_cloud("MyColorPointCloud.ply")
open3d.visualization.draw_geometries([pointcloud])
# See screenshot below

pyntcloud = PyntCloud.from_instance("open3d", pointcloud)
pointcloud_reconverted = pyntcloud.to_instance("open3d")
open3d.visualization.draw_geometries([pointcloud_reconverted])
# see screenshot below

Expected behavior
The color should be preserved through to_instance call.

Screenshots
First visualization:
image

Second visualization:
image

Desktop (please complete the following information):

  • OS: Windows 10
  • PyntCloud Version: 0.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant