-
Notifications
You must be signed in to change notification settings - Fork 219
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
Putting glsl 1.50 resources back in RenderSystem #668
Conversation
Signed-off-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
Signed-off-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
rviz_rendering/test/rviz_rendering/ogre_testing_environment.hpp
Outdated
Show resolved
Hide resolved
@jacobperron can you take a look at this PR, please? |
@mjeronimo this one improves performance by a lot with point clouds and should be a quick one to review, could you take a look? |
Signed-off-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is OK as a first step. Going forward, I'd rather see these differences encapsulated into an object with methods such as get_size_of_single_vertex and get_num_vertices_per_box, for example.
@jacobperron @pijaro AFAIK this is a separate issue |
@jacobperron @adamdbrw That's correct, #670 is a separate issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ros-pull-request-builder retest this please |
Signed-off-by: Piotr Jaroszek <piotr.jaroszek@robotec.ai>
I just committed a fix for windows. @ros-pull-request-builder retest this please |
@pijaro Thanks! Sorry, I meant to follow-up on that. |
@jacobperron Would this be a good candidate for a Foxy backport? |
GLSL version 1.50 resources were left commented out in
RenderSystem
class which resulted in performance hit in pointcloud rendering. #46 mentions this but was left behind for a long time now (2017).I tested putting back 1.50 locally and it worked fine on ubuntu 20.04. Therefore I think it is safe to assume that this is no longer an issue.
Presented PR puts back glsl 1.50 resources and updates corresponding unit tests. This improves pointcloud rendering a lot (on my machine it is about 200% for 21mln pointcloud while rendering with primitives).
This may also fix #662