daavoo / pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
http://pyntcloud.readthedocs.io
MIT License
1.39k stars 221 forks source link

Sampling a partial view point cloud from a mesh #328

Open AndreiMiculita opened 2 years ago

AndreiMiculita commented 2 years ago

I see the documentation doesn't touch upon this.

I had a look at https://github.com/daavoo/pyntcloud/blob/master/examples/%5Bvisualization%5D%20PyntCloud.ipynb

Which mentions some nonexistent examples/[io] and examples/[sampling] notebooks.

Unfortunately, the method get_sample doesn't mention anything about partial views either.

Is there some way to obtain a partial view of a mesh as a point cloud? I want to obtain a more realistic point cloud, that only contains points from the parts of the object that are visible from a certain camera (i.e. RGB-D sensor) angle.

Otherwise, it would be nice if there was.