question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to adjust display size of points when showing a PointCloud?

See original GitHub issue

Hi,

Thanks for this amazing tool!

How can I adjust the size of points when I show a PointCloud? By default the points are very small, which makes them very difficult to see:

m = trimesh.load('teapot.stl')
points = m.sample(1000)
colours = np.random.randint(low=0, high=255, size=(1000, 3))
cloud = trimesh.PointCloud(points, colors=colours)
trimesh.Scene(cloud).show()

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
seddonrcommented, Sep 29, 2020

Hi,

I see the new release incorporates this fix, thanks!

I’m having trouble working out how to pass my desired point size. I tried show(line_settings={'point_size':100}):

m = trimesh.load('teapot.stl')
points = m.sample(1000)
colours = np.random.randint(low=0, high=255, size=(1000, 3))
cloud = trimesh.PointCloud(points, colors=colours)
trimesh.Scene(cloud).show(line_settings={'point_size':100})

but it doesn’t have any effect. Any help would be much appreciated 😃

2reactions
mikedhcommented, Sep 17, 2020

No worries I run into this too on high-DPI machines. I made it settable in https://github.com/mikedh/trimesh/pull/997/commits/6913a7ef0031695c5da3287cb3a8a9cc842cde27 and also set the default to a fraction of resolution.

Thanks for the report!

Read more comments on GitHub >

github_iconTop Results From Across the Web

To Work With Point Cloud Level of Detail and Point Size
Set Point Cloud Point Size. Select one or more point clouds. In the Display panel of the Point Cloud contextual tab, drag the...
Read more >
Navisworks | Pointcloud | Point Size - YouTube
Brief overview of vid:How to make the points in a point cloud large in Navisworks.Thanks for watching. Please reach out if you have...
Read more >
To Change the Size of the Points in a Point Cloud
From the Attributes group on the Home tab, open the Line Weight option menu. Select the size you want to use to display...
Read more >
Changing point size in the point cloud - Pix4D Community
There is point size slider in the 3D view settings. You can find it in bottom left corner. image. 1 Like. alain.freiburghaus September...
Read more >
point size in displaying point clouds - Cesium Community
How does one adjust the size of the points when displaying a point cloud?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found