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.

Cannot display point cloud

See original GitHub issue

Testing things out, following along with the examples provided. I’m trying to display the point cloud and the mesh from https://github.com/mikedh/trimesh/blob/master/examples/nearest.ipynb.

I can display the mesh when I use,

mesh.show()

I can interact with the window and everything, but when I use

scene = trimesh.Scene([mesh,
                       cloud_original,
                       cloud_close])
scene.show()

I only get a black window with nothing in it. Any ideas on what I am doing wrong here?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Antyoscommented, May 10, 2021

I tested this a bit more and I can confirm that the code snippet I used previously works in a standard python console (though I had to explicitly install Pyglet), but does not work in an iPython terminal.

import numpy as np
import trimesh

trimesh.points.PointCloud(np.random.rand(10, 3)).show()

Any updates @mikedh?

0reactions
atabakdcommented, Apr 4, 2021

Same issue. The below code works in jupyter:

mesh = trimesh.primitives.Sphere()
scene = mesh.scene()
scene.show()

But the nearest.ipynb shows black screen on Ubuntu 20.04.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Windows] PCLVisualizer cannot display point cloud correctly
I am using PCL 1.8.1, VS2017+Qt 5.9.9. I am creating a relatively big project. I am using PCLVisualizer to display point clouds and...
Read more >
Point clouds will not display in AutoCAD or Civil 3D drawings
Point clouds will not display in AutoCAD or Civil 3D drawings ; Causes: The graphics card is inadequate to display the point clouds....
Read more >
Problem: I can't see the point cloud in Revit - Easy fix. - YouTube
If the coordinate system of the point cloud does not start at (0, 0, 0), but e.g. at georeferenced coordinates, then it is...
Read more >
Cannot display point cloud - CloudCompare forum
Cannot display point cloud ... Hello all, I'm having issues visuaizin my scan file. It is produced by the new Einscan S scanner...
Read more >
Point Cloud - Troubleshooting Guide - Graphisoft Community
Point Clouds can be displayed only with the OpenGL engine in the 3D window (cannot rendered with the CineRender- or the Internal Engine) ......
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