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

RVIZ render point efficently question #1782

Closed
peter5232 opened this issue Mar 7, 2023 · 2 comments
Closed

RVIZ render point efficently question #1782

peter5232 opened this issue Mar 7, 2023 · 2 comments

Comments

@peter5232
Copy link

peter5232 commented Mar 7, 2023

Describe your issue here and explain how to reproduce it.
I want to ask a question. I use glVertex3f when I use the QOpenGLWidget to call the OpenGL command to render the point cloud. But when I render nearly 100 million points, the whole program gets stuck. What measures does Rviz use to render the point cloud, and has it been thinned?

@rhaschke
Copy link
Contributor

rhaschke commented Mar 7, 2023

I use glVertex3f when I use the QOpenGLWidget to call the OpenGL command to render the point cloud.

Are you talking about an rviz-independent program to render a point cloud?

But when I render nearly 100 million points, the whole program gets stuck.

Which program? rviz? Your own?

What measures does Rviz use to render the point cloud, and has it been thinned?

Are you asking for advice to improve your own program or are you complaining about poor performance of rviz?
There were some recent attempts to improve rviz rendering performance. See #1725 and #1733. Unfortunately they were not finished, mainly due to issues with old Ogre, which is used for rendering under the hood.
So, if you want advice for your own program: Have a look into Ogre. rviz uses vertex shaders to render point clouds.

@rhaschke
Copy link
Contributor

Closing due to inactivity.

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

2 participants