isl-org / isl-org/Open3D

How to get rid of reflections in imported .ply file in powerpoint?

Open
#6,491 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### My Question

```
import numpy as np
import open3d as o3d

pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(data) # data is a 3d numpy array

pcd.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamHybrid(radius=0.1, max_nn=30))

nn_distances = pcd.compute_nearest_neighbor_distance()
avg_nn_distance = np.mean(nn_distances)
radius_of_ball = 3 * avg_nn_distance
bpa_mesh = o3d.geometry.TriangleMesh\
.create_from_point_cloud_ball_pivoting(pcd,o3d.utility.DoubleVector([radius_of_ball, radius_of_ball ]))

bpa_mesh.paint_uniform_color([1, 0.706, 0])
o3d.visualization.draw_geometries([bpa_mesh])
o3d.io.write_triangle_mesh("W26-12-4175-Edge1-center1.ply", bpa_mesh)
```

I used the above code to convert xyz data to a mesh file that I later imported in MS Powerpoint. When i visualise the data using the open3D visualization tool it looks good! But when i use the exported .ply file into powerpoint I see these ugly reflections. How can I remove these? It seems that people have similar issues importing meshes from other tools such as Blender into Powerpoint too, and they have their particular workarounds. Could someone help me figure out how to do this with Open3D? Many thanks!

P.S. attached pictures showing the artifact in powerpoint compared to Open3d's internal visualiser

[picturesComparison.zip](https://github.com/isl-org/Open3D/files/13352112/picturesComparison.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.